
soapUI is a web service testing tool by eviware. I found it extremely useful for trouble-shooting, unit testing and even load testing web services. soapUI generates SOAP test requests based on WSDLs and makes it very easy to work with the actual XML. There is no messing with web service proxies (clients) or writing programs; only for complex test scenarios you may have to do a little scripting. soapUI Pro adds a lot of features to simplify those advanced tasks but I will restrict this introduction to features available in the freely available open source version.
Get started and run a simple request
This is the main code behind my little Java/Axis 1.4 web service – I’ll skip the configuration details. It is a simple method that adds two integers and returns the result:
public class Arithmetics { public int add(int number1, int number2) { return number1 + number2; } }
The service is running here:
| End Point | http://localhost:8080/TestServices/services/Arithmetics |
| WSDL Location | http://localhost:8080/TestServices/services/Arithmetics?wsdl |
Now we tell soapUI to import the wsdl and create test requests:




These simple steps have helped me out many times – they are a quick way to run a request against a service, troubleshoot problems with the XML structure and test specific inputs and outputs. But soapUI can do a lot more – stay tuned!
Anke
Written by: Anke Doerfel-Parker |
Connect with us: