Using REST how can I link Execution Result steps to Test Suite steps?
![]() I have created two XML files representing execution results and test suites with the following calls: https://URL:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectArea/executionresult?abbreviate=false https://URL:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projectArea/testscript?abbreviate=false The execution results extract test step results while test script extracts test step. These are different objects and so they are assigned different ids and so there is no way to match them. Is there some way to have the test step ID within the execution results output? I am using RQM 3.0.1.1. Thank you! Andrew
|
4 answers
![]()
Hi Andrew,
In the problem title you mentioned Testsuite whereas in description you mentioned only test script and Testcase result. By the execution of Testscript (of course through Testcase Execution Record), Execution Result is generated. At the time of execution whatever steps were present in the script are copied over to Result. However there after there is no relationship between steps of these two artifact. Note that script can be changed after execution, like some more steps are added, modified or removed. However such modification will not affect the result's step. I hope it answers your question. It would be good if you can mention the scenario where you need information in such way. |
![]()
Thank you for the answer Pramod! You are correct, I wrote Test Suite instead of Test Script! I apologise for any confusion!
The reason that I asked this question is because I would like to have the description and expected results formatted correctly. By extracting execution results, all formatting is lost (it all appears on one line). Is there a parameter that will allow me to have the same step format as the test script extraction? Regards, Andrew
|
![]()
You said "By extracting execution results, all formatting is lost (it all appears on one line)."
Can you provide more information about it. Are you exporting result out of RQM using REST API and it loose formatting when pulled back in? |
![]() Here is an example using the calls details above. Extracting a test script I get:
As you can see, the test result extraction has lost the formatting which is what I would like to preserve. Have I formatted the call incorrectly? Best regards, Andrew
Comments Seems |
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.