Create TCER using REST API for RQM
![]() Hello,
I'm trying to use RQMUrlUtility to create a TCER for a known test case. However I keep getting
RQMUrlUtility: Calling [ HTTP POST ] method to upload XML from a specified file to URL
RQMUrlUtility: Server Response code: 303
RQMUrlUtility: [ SUCCESS ] File : "upload_tcer.xml" successfully posted to URL : "http..
And no TCER is actually created from what I can tell. Wonder if anyone know what's the problem is?
I used:
https://<host>:<port>/<contextRoot>/service/com.ibm.rqm.integration.service.IIntegrationService/
resources/<projectAlias>/executionworkitem
also tried:
https://<host>:<port>/<contextRoot>/service/com.ibm.rqm.integration.service.IIntegrationService/
resources/<projectAlias>/executionworkitem/urn:com.ibm.rqm:executionworkitem/
I tried make new executionworkitem with the schema but then tried just copy one of the existing TCER and remove
<ns2:webId> and <ns3:identifier> so that it will generate a new ID?
|
2 answers
![]() Are you using
for POST. What is the response body of the request. Are you providing X-Jazz-CSRF-Prevent header?
Comments I don't have X-Jazz-CSRF-Prevent header but the POST is not from a browser. It's from apache httpclient as per RQMUrlUtility. Unless you need it also? I don't know where to get the JSESSIONID
I put the full log in the question comment as it exceed the characters limit for this
|
![]() I found that the reason is if there's already exist a TCER for the same test plan and test phase then it won't create a new or modify the old one
I changed to a different test phase with no TCER and it works
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hello,