How to access History section of test case & test case execution record in RQM through OSLC or REST API queries
Anybody has any understanding on this: How to access History section of test case & test case execution record in RQM through OSLC or REST API queries
|
Accepted answer
In my test(5.0.1), the below works fine:
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/history?resourceId=resources/RQM1/testcase/urn:com.ibm.rqm:testcase:65 So in your case, it should be something like: https://was2201.rishi.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/history?resourceId=resources/Rishi_2015/testcase/urn:com.ibm.rqm:testcase:21 https://was2201.rishi.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/history?resourceId=resources/Rishi_2015/executionworkitem/urn:com.ibm.rqm:executionworkitem:27 Not sure if the project area alias is correct or not in your case. If doubt, you can try to run: https://was2201.rishi.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projects which should list the project areas and its alias and you can copy and paste alias into the URL. REST API details: https://jazz.net/wiki/bin/view/Main/RqmApi Hopefully this helps. Ian Barnard selected this answer as the correct answer
Comments
Rishi Sharma
commented Jun 30 '15, 2:10 p.m.
Thanks Don & Subhajit.
It Works !
Don Yang
commented Jun 30 '15, 7:21 p.m.
Thanks Rishi for the update and glad to know it works for you. Please
|
One other answer
https://<server name>:<port>/<context>/secure/service/com.ibm.rqm.integration.service.IIntegrationService/history?resourceId=resources/<project area>/<test artifact type>/<test artifact identifier>
Comments
Rishi Sharma
commented Jun 30 '15, 12:04 a.m.
Please have a look at my answer. Hi Subhajit,
Thanks for this answer.
But this is not working and giving error 404
<oslc:statusCode>
404
<oslc:message>
AQXCM5008E The operation cannot be completed because the resource, <query>, was not found.
</oslc:message>
I think the syntax that I am writing is not proper.Please help on this.
server name : https://was2201.rishi.com
Project Area in RQM: Rishi_2015
I want to get history section of test case & test case exec record
Id of test case : 21
Id of TCER: 27
Using the above details how would the query be written?
Thanks in advance.
|
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.