How do you print the list of TCER (Test Case Execution Record) for a given TC (Test Case) id?
One answer
In order to print the list of TCER for a given test case, one of the easy way is follow "executionworkitem" feed.
The Syntax:
?fields=feed/entry/content/executionworkitem/(*|testcase[@href=''])
Sample working URL based JKE Banking.
https://host:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+Final+%28Quality+Management%29/executionworkitem?fields=feed/entry/content/executionworkitem/(*|testcase[@href='https://host:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+Final+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:1'])
Where:
host:port - your QM server URL and port number (if any)
JKE+Banking+Final+%28Quality+Management%29 - project area name
com.ibm.rqm:testcase:1 - test case id, you will see in web UI.
Try running the URL in the in browser, it should return ONLY test case execution records for this given test case id, in this case its 1.
Things to watch out:
Ensure single quotes are used properly
Open and closing parenthesis is used as per Syntax
No extra white space anywhere in syntax, @href='https
The Syntax:
?fields=feed/entry/content/executionworkitem/(*|testcase[@href=''])
Sample working URL based JKE Banking.
https://host:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+Final+%28Quality+Management%29/executionworkitem?fields=feed/entry/content/executionworkitem/(*|testcase[@href='https://host:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+Final+%28Quality+Management%29/testcase/urn:com.ibm.rqm:testcase:1'])
Where:
host:port - your QM server URL and port number (if any)
JKE+Banking+Final+%28Quality+Management%29 - project area name
com.ibm.rqm:testcase:1 - test case id, you will see in web UI.
Try running the URL in the in browser, it should return ONLY test case execution records for this given test case id, in this case its 1.
Things to watch out:
Ensure single quotes are used properly
Open and closing parenthesis is used as per Syntax
No extra white space anywhere in syntax, @href='https