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
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
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