[英]How to perform Load Test of WCF service having WebHttpBinding with JMeter
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
. 您最有可能需要至少添加HTTP Header Manager并将其配置为发送具有application/json
值的Content-Type
头。
You can use View Results Tree listener to inspect request and response details - this way you'll be able to get more troubleshooting information. 您可以使用“ 查看结果树”侦听器检查请求和响应的详细信息-这样,您将可以获得更多的故障排除信息。
Be aware of JSON Path Extractor and JSON Path Assertion which are extremely handy when it comes to working with JSON data. 请注意, JSON Path Extractor和JSON Path Assertion在处理JSON数据时非常方便。
See Testing SOAP/REST Web Services Using JMeter article for more details on web services load testing with JMeter. 有关使用JMeter进行Web服务负载测试的更多详细信息,请参阅使用JMeter测试SOAP / REST Web服务 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.