Using SOAP/XML-RPC request as a Monitor in JMeter


Keywords:jmeter 


Question: 

I am using jmeter to submit a few SOAP messages to the application engine. I need a monitor that can collect some of the application engine's performance statistics. But the only option to query the application statistics is to send a different SOAP message to the application.

How can I use a SOAP/XML-RPC request sampler as a monitor? I can't use HTTP request as a monitor since there's no corresponding HTTP service to retrieve monitor results.


1 Answer: 

Actually as per Creating WebService Test Plan it is recommended to use HTTP Request sampler to perform SOAP calls. HTTP Request Sampler has "Use as Monitor" checkbox

HTTP Request SOAP

Don't forget to add HTTP Header Manager in order to send correct Content-Type and SOAPAction headers.