Import Execution Result in RQM
I tried to import ExecutionResult in RQM using RQMUrlUtil.jar, but I received RQMUrlUtility: Server Response code: 400. I used this jar to import test plan and test cases with success, but not with execution result. Can someone give me any suggests?
|
21 answers
what was the URL you used? What was the XML you tried to post? What was the full error returned from the command?
|
what was the URL you used? Thank you in advance for any suggests. |
The URL for the executionworkitem element doesn't look correct. You shouldn't have a "urn:com.ibm.rqm:executionworkitem" prefix followed by a GUID. If that executionworkitem is something you created in a previous post, the the URL would look more like this:
https://10.6.11.30:9443/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/AREA+SPAG-TFA/executionworkitem/_15KYMB7-EeCdwp5CBPGl0Q Be sure you can do a get on that URL. |
As you wrote, the URL for the executionworkitem was wrong. I mended it and I did further modifies in my xml and now the upload works fine.
Thank you for your collaboration Alessandro. |
Hi All,
I have also same problem of importing execution result. please provide a sample xml template for import execution result. And what is the executionworkitem when we are importing the execution result for new execution.please help me out in this. |
Hi All, Hi Jyothi, executionworkitem is actually Testcase Execution Record (TER). Every Execution result should belong to one TER. Therefore when creating a new Testcase Execution Result, you need to provide link to corresponding TER. I hope it helps. You can find schema of executionresult at https://<yourserver>:9443/<qm>/service/com.ibm.rqm.integration.service.IIntegrationService/qm.xsd |
Hi All, Hi Jyothi, executionworkitem is actually Testcase Execution Record (TER). Every Execution result should belong to one TER. Therefore when creating a new Testcase Execution Result, you need to provide link to corresponding TER. I hope it helps. You can find schema of executionresult at https://<yourserver>:9443/<qm>/service/com.ibm.rqm.integration.service.IIntegrationService/qm.xsd Sorry the link would be https://<rqm>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/schema/qm.xsd |
Thank you Pramod
now i got the logic thank you so much :lol: Hi All, Hi Jyothi, executionworkitem is actually Testcase Execution Record (TER). Every Execution result should belong to one TER. Therefore when creating a new Testcase Execution Result, you need to provide link to corresponding TER. I hope it helps. You can find schema of executionresult at https://<yourserver>:9443/<qm>/service/com.ibm.rqm.integration.service.IIntegrationService/qm.xsd Sorry the link would be https://<rqm>:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/schema/qm.xsd |
Hi All,
when i am trying to import the TestScript it's throwing 500 error. Please check that xml code. Is any mistake in the xml file. <xml> <testscript> <title>JTestSCriptimport</title> <description>test script under test case A of test suite 1</description> <scripttype>Manual</scripttype> <steps> <step> <name>open finance application in browser</name> <title>open finance application in browser</title> <description> open finance application in browser </description> <expectedResult> app should open </expectedResult> </step> </steps> </testscript> |
I would suggest to do a GET on existing Test script and observe the difference
Things to check, Required fields as per schema Correctness of name space |
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.