Automated SOAP testing with maven and the SoapUI plugin
Currently there are few tools that can support testing SOAP interfaces. Both Jmeter and SoapUI are suited for testing soap interfaces. SoapUI is explicitly created for testing SOAP interfaces and Jmeter has a SOAP support since version 2.3.x. I have worked with both tools and I prefer SoapUI. It has an intuitive user interface and is flexible. (Please also have a look at the blog of Jeroen)
You can run SoapUI stand alone but I prefer to integrate these kinds of tools with an automated process. Below you will find instructions for running SoapUI as a part of a maven build. This makes it possible to run your automated SOAP tests in Maven with a build process like Hudson. Combined with automatic deployment it is possible to support an agile software development process that supports frequent delivery of versions and continuous testing.
Maven supports SoapUI with the Maven SoapUI plugin.
Add the eviware plugin repository to your repository list.
Attach to verify phase
By attaching the SoapUI maven plugin to the verify phase your build process runs it automatically in the integration-test phase. The “iso-soapui-project.xml” is the reference to the SoapUI xml file.
Convert log to a report
The log export of SoapUI can be interpreted like a normal Surefire unit report. By just adding this part to your maven reports section you can generate a nice overview of your test results.
- Maven JMeter plugin and report generation (the last steps to get it working)
- Maven based configuration management with automatic build number
- Using SoapUI on Apache ODE to test your BPEL processes more quickly
- Unit testing with XFire â€“ How to test your SOAP server with a WSDL file
- Better Builds With Maven – Free book about Maven 2
- Build and release OSB projects with Maven
- Kom kennismaken met AMIS en doe mee met uitdagende projecten
- Uitnodiging: Kom kennismaken met AMIS
- Oracle RDBMS 10GR1: solution to avoid character encoding in XML with UPDATEXML
- Fusion Middleware 11gR1 – Patch Set 5 is available (at last) – First impressions
- Review of Oracle Service Bus 11g Development Cookbook (Packt Publishing) by Edwin Biemond, Guido Schmutz, Eric Elzinga et. al.
- NetBeans 7.1 – JavaFX 2.0 support, refactoring enhancements and great Maven 3 integration
- Preparing your environment for modern open source Java libraries and frameworks using Git and Maven, throwing in Tomcat as a bonus
- KSCOPE 2011: What do you mean â€œAgileâ€?
- Android puts Oracle on the (Google) map.