Tuesday, December 18, 2012

Testing Restful Webservice using Apache Jmeter


There are a lot of blogs around building restful webservice using jax-rs. Here are the steps to test restful webservice using Apache Jmeter. 

Create HTTP Request defaults with the location where the service is running. In my case its localhost:10021


 Create HTTP Header manager with the type of content used in the service call. In my case its xml


Create the HTTP request. In my case its a simple get request.


Once its over, adjust the test thread according to your needs and run the test.

No comments: