Sunday, June 13, 2010

JMeter and testing Web Services

I add a Sampler "WebService(SOAP) Request", enter a perfectly working WSDL url (tested also in the browser)... click on "Load WSDL"... nothing happens, the Web Methods drop down doesn't get populated and nothing is logged on the JMeter console.

http://jakarta.apache.org/jmeter/usermanual/build-ws-test-plan.html

If the WSDL file was loaded correctly, the "Web Methods" drop down should be populated. If the drop down remains blank, it means there was a problem getting the WSDL. 

Pardon me for being so old fashioned, but in the old days programmers used to LOG what the problem was... I look also in the jmeter.log file in the bin directory (a log file in the bin directory????) and nothing...

JMeter would be a great tool if only it had been better coded....

So I am using SOAPUI (great great tool):
http://soapui.com/Functional-Testing/structuring-and-running-tests.html

an forget JMeter, its UI anyway is pretty bad, they need someone who knows how to do Swing.

This article
http://blog.tuvinh.com/tuning-and-testing-enterprise-web-services-with-soapui-and-jmeter/
does a good job at comparing the 2 tools...

No comments: