Search code examples
wcftestingjmeterwebhttpbinding

How to perform Load Test of WCF service having WebHttpBinding with JMeter


I am very new for JMeter. I want to test my WCF service which is using WebHttpBinding. I have gone through the documentation but no help in my case. Can you please suggest how to do that?

enter image description here

enter image description here


Solution

    1. Most likely you need to add at least HTTP Header Manager and configure it to send Content-Type header with the value of application/json.

    2. You can use View Results Tree listener to inspect request and response details - this way you'll be able to get more troubleshooting information.

    3. Be aware of JSON Path Extractor and JSON Path Assertion which are extremely handy when it comes to working with JSON data.

    See Testing SOAP/REST Web Services Using JMeter article for more details on web services load testing with JMeter.