Need help in testing RESTFUL SERVICE PATCH [message #1277727] |
Wed, 26 March 2014 07:30  |
Eclipse User |
|
|
|
I am able to test Get and Put methods using the below one
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.api.client.ClientResponse.Status;
where as PATCH is not available in the above webresource
can someone please suggest , how to Test PATCH
Thanks
|
|
|
|
|
Re: Need help in testing RESTFUL SERVICE PATCH [message #1279004 is a reply to message #1278302] |
Fri, 28 March 2014 01:33  |
Eclipse User |
|
|
|
On 03/27/2014 12:28 AM, Suganya Chandrasekaran wrote:
> Let me rephrase my question. How to test RESTFUL Service .PATCH in Eclipse.
>
> Thanks
You haven't understood. This has nothing whatsoever to do with Eclipse.
You "test" PATCH the same way you test GET, PUT, POST, DELETE and
HEAD--by however you decide to test them. Eclipse is not in the mix here.
If you want suggestions that go well beyond the purpose of this forum, I
could make one, but I'm not going to give you a whole exposé on how to
test HTTP servlets, ReSTful or otherwise.
My suggestion is that you check out REST-assured. I've used it. It's
pretty cool.
Hope this helps.
|
|
|
Powered by
FUDForum. Page generated in 0.08578 seconds