Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

SNAPSHOT request for RQM REST API

 Dear team,

 I tried creating snapshot using  REST API and its working fine and im able to create snapshot through API.  But how do i implement Non-standard HTTP method requiring a HTTP client that support the HTTP SNAPSHOT method. How do I implement it in java. what is the http client that supports SNAPSHOT http method
url used: serveraddress.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProject/testcase/urn:com.ibm.rqm:testcase:170

Please help me.

Thanks
Ajith

0 votes


Accepted answer

Permanent link

You can try
https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources//TestProject/testcase/urn:com.ibm.rqm:testcase:170?snapshot

If you are using Postman, you will find "PROPFIND", using which you will get snapshot details.
https://jazz.net/wiki/bin/view/Main/RqmApi#Read_a_List_of_Snapshots

Ajith O M selected this answer as the correct answer

0 votes

Comments

Thanks Subramanya for your response.

I know that the above URL and PROPFIND method can give me details of Snapshot or to Get the snapshots of test case. But what i really want is how to create snapshot or rather  how to implement creating SNAPSHOT. How to create Custom HTTP method SNAPSHOT with HTTP client. I tried SNAPSHOT HTTP method and API URL in Postman and its working absolutely fine. But I need the same to be implemented in java code. How do i do that ? Is there any jar file that could do this for me ? I have Apache webdav for propfind method,but unfortunately I couldn't find any jar or any implementation details for SNAPSHOT HTTP method. Please help !

Just adding along with the comment.

Request Body : 
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
        <ns3:title>TC3 Snapshot 1</ns3:title> 
        <ns3:description/> 
    </ns2:snapshot>

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 481
× 74

Question asked: Jan 30 '19, 8:42 a.m.

Question was seen: 1,968 times

Last updated: Feb 04 '19, 1:06 a.m.

Confirmation Cancel Confirm