Creating a TestSuite
A soapUI functional test consists of three key elements as follows:
TestStep: A TestStep is the foundation of any functional test. It is used to manage the execution flow of the test and validate the test results. A TestStep is directly associated with a TestCase.
TestCase: In a soapUI project, a TestCase is a collection of TestSteps organized for testing some functionality of the service under test.
TestSuite: A TestSuite is a collection of TestCases which work together as a logical unit to test some specific functionality.
The structure of these elements in a soapUI project can be represented in a diagram as follows:
We will discuss each of these elements in detail while we go through our sample TestSuite. Without spending more time on theoretical aspects, let's start to build our soapUI project.
Our first scenario, as we just described, is a relatively simple one. Open the HotelReservationProject in soapUI which we have created in the previous chapter. We have already...