4.Create Test Suite and Test Case

For Example, If you want to convert GPB to INR instead of  USD of INR...You need edit the operation again. So, one has to create a test suite/test cases to have all possible scenarios tested without editing the operation directly itself.

CREATING TEST SUITE:

Step 1: Within the Project, Testers can create a test suite by performing a right click on the root of the project.

SoapUI Tutorial: Create a Project, Test Suite, TestCase 

Step 2: Enter the name of the Test suite and Click OK.

SoapUI Tutorial: Create a Project, Test Suite, TestCase

Step 3: The created test suite is displayed on the navigator pane as shown below

SoapUI Tutorial: Create a Project, Test Suite, TestCase 

Step 4: Click on Test suite name to view test cases if created any.

SoapUI Tutorial: Create a Project, Test Suite, TestCase


CREATING TEST CASE:

Step 1: Right click on 'Test suite' to which allows to create multiple test cases and choose 'New Test Case'.

SoapUI Tutorial: Create a Project, Test Suite, TestCase 

Step 2: Enter name of Test Case and Click OK.

SoapUI Tutorial: Create a Project, Test Suite, TestCase

Step 3: The created Test Case has zero steps as shown below.

SoapUI Tutorial: Create a Project, Test Suite, TestCase

Step 4: we can insert a variety of test steps by performing Right click on Test Steps and select appropriate test step. So if we were to test a REST WebService, select REST Test Request.

SoapUI Tutorial: Create a Project, Test Suite, TestCase

To know how to add a Test Step to validate the imported SOAP  Request, Click on TEST STEP INSERT  

No comments:

Post a Comment