O'Reilly logo

Web Services Testing with soapUI by Charitha Kankanamge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

soapUI JUnit integration

JUnit (http://junit.org/) is a framework to write repeatable tests in Java. As the name implies, the primary purpose of JUnit is to verify the functionality of individual units of code. However, by integrating with the external libraries, JUnit tests can be extended to verify integration as well as system tests.

Since the examples are the best way to describe something, without spending time on abstract descriptions, let's look into adding a JUnit test into our sample HotelReservation project.

  1. Open the hotel_reservation project in your favorite Integrated Development Environment (IDE). (Please revisit Chapter 2, The Sample Project to recap your memory on the project structure and location.)
  2. Create a test directory at the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required