It's all about the answers!

Ask a question


Ajith O M (214) | asked Jan 30 '19, 8:42 a.m.

 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:

Please help me.


Accepted answer

permanent link
Subramanya Prasad Pilar (3.4k13) | answered Feb 02 '19, 8:55 p.m.

You can try

If you are using Postman, you will find "PROPFIND", using which you will get snapshot details.

Ajith O M selected this answer as the correct answer

Ajith O M commented Feb 04 '19, 12:03 a.m.

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 !

Ajith O M commented Feb 04 '19, 1:06 a.m.

Just adding along with the comment.

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

Your answer

Register or to post your answer.