RQM: How to get Snapshot list for test artifacs
Hello,
we need a list for test artifacts (e.g. test script or test case) with all available snapshots. Offers RQM reports for that use case? How we can get the information via REST API? Our use case: We request that after a review of a test artifact a snapshot is created (According naming conventions the title starts with "Sn_Review_*". Now we need to filter the test artifacts where no "review"-snapshot exists. Thanks in advance, Jörg |
Accepted answer
You may refer https://jazz.net/wiki/bin/view/Main/RqmApi#Read_a_List_of_Snapshots
To get a list of snapshots: HTTP Request: PROPFIND URL: <resourceUrl> HTTP Request Header: Accept HTTP Response Code: 200 You can get snapshots for a testplan using https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<PAAlias>/testplan/urn:com.ibm.rqm:testplan:1?snapshot Jörg Werner selected this answer as the correct answer
Comments
Jörg Werner
commented Jan 21 '16, 6:07 a.m.
Thanks Subramanya!
https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<paalias>/testcase/urn:com.ibm.rqm:testcase:1?snapshot If I specify no ID I get java errors messages: https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<paalias>/testcase/urn:com.ibm.rqm:testcase?snapshot {"errorClass":"java.lang.NullPointerException","errorCode":500,"errorTraceMarshall": Is it possible also to define a filter similar to the GET request (feed url), or can I get only the data for one dedicated test artifact? Regards, jörg |
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.