---
description: Understanding the SOAP Protocol Before we create an SOAPUI Test case, In this tutorial, we will lern what is soapui testing, how to Creating Test Suite, Test Case
title: How to create Test Suite &#038; Test Case in SoapUI
image: https://www.guru99.com/images/how-to-create-test-suite-and-test-case-in-soapui.png
---

 

[Skip to content](#main) 

**⚡ Smart Summary**

Creating a SoapUI Project, Test Suite, and Test Case enables structured SOAP web service testing. This walkthrough explains SOAP protocol fundamentals, WSDL import, request execution, assertion setup, and response log analysis for reliable functional and regression testing.

* 🧠 **SOAP Foundation:** SOAP is an XML-based, platform-independent protocol transported over HTTP that exchanges messages between disparate systems.
* 📁 **Project Creation:** Import the WSDL into a new SoapUI SOAP Project to auto-generate sample requests for every operation.
* 🗂️ **Test Suite Setup:** Right-click the project root to add a Test Suite that groups related Test Cases for organized execution.
* 🧪 **Test Case Steps:** Add SOAP Request steps, choose the target operation, and configure standard assertions like Schema Compliance and SOAP Fault checks.
* 📊 **Response Inspection:** Use the RAW tab and Log panes (SoapUI Log, HTTP Log, Error Log, Memory Log) to validate HTTP status codes and troubleshoot requests.

[ Read More ](javascript:void%280%29;) 

[![How to Create Test Suite and Test Case in SoapUI](https://www.guru99.com/images/how-to-create-test-suite-and-test-case-in-soapui.png)](https://www.guru99.com/images/how-to-create-test-suite-and-test-case-in-soapui.png)

## Understanding the SOAP Protocol

Before creating a SoapUI Test Case, it helps to revisit the basics of the SOAP protocol. A clear grasp of how SOAP requests and responses move between systems makes it easier to use SoapUI for testing them effectively.

SOAP stands for **Simple Object Access Protocol**. Below are the core properties of the SOAP protocol:

* It is an XML-based protocol used to communicate between two different systems.
* It is platform and language independent. A system developed using [Java](https://www.guru99.com/java-tutorial.html) can communicate with one developed in .NET.
* SOAP requests and responses are transported via HTTP.

## Learn the SOAP Message Format

A SOAP message is an ordinary XML document containing the following elements. A message can be either a request or a response.

[](https://www.guru99.com/images/1-2015/SoapUI%5FTutorial.png)

SOAP Message Format

With the SOAP fundamentals in place, the next step is to build the SoapUI project structure, test suites, and test cases needed to validate a given web service. The walkthrough below uses a SoapUI project example to create a new SOAP project.

## Creating a SOAP Project in SoapUI

The SOAP Project holds the imported WSDL definition along with all generated sample requests for each operation.

**Step 1:** Depending on the project type, import the SOAP or REST protocol. In this example, create a new SOAP Project.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor2.png)

**Step 2:** Use the following SOAP request URL: <http://www.dneonline.com/calculator.asmx?wsdl>

1. Enter the Project Name.
2. Enter the path of the WSDL request (in this case, http://www.dneonline.com/calculator.asmx?wsdl).
3. Click **OK**.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor3.png)

**Note:**

* **Create sample request for all operations:** Generates a sample request for every operation in the WSDL. Enabled by default when the WSDL address is entered; may be unchecked if not required.
* **Create a Test Suite for the imported WSDL:** Adds a SoapUI Test Suite within the project for the imported WSDL.
* **Relative Paths:** Saves all files relative to the project file for easy portability.

**Step 3:** After creating the SOAP project with the above WSDL, two operations will be imported into the project.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor4.png)

**Step 4:** Expand the first request, right-click **Add**, then click **New Request**.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor5.png)

Then click **OK**. The SOAP request displays in XML format.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor6.png)

1. Enter values for **intA** and **intB**.
2. Click the **Submit** button.
3. The response XML appears in the right-side pane.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor7.png)

### Why Create Test Cases Instead of Direct Requests?

It is possible to send a request for one operation directly, but that approach quickly hits limits when multiple input combinations must be tested. For example, switching from 5+5 to 4+4 requires editing the request each time. A Test Suite with Test Cases makes it possible to keep every scenario reusable without altering the original operation.

### RELATED ARTICLES

* [SoapUI Tutorials for Beginners ](https://www.guru99.com/soapui-tutorial.html "SoapUI Tutorials for Beginners")
* [Web Services Testing Tutorial with Example ](https://www.guru99.com/webservice-testing-beginner-guide.html "Web Services Testing Tutorial with Example")
* [15 REST API Interview Question and Answers for 2026 ](https://www.guru99.com/rest-api-interview-question-answers.html "15 REST API Interview Question and Answers for 2026")
* [What is BDD Testing? Behaviour-Driven Development Framework ](https://www.guru99.com/bdd-testing-rest-api-behave.html "What is BDD Testing? Behaviour-Driven Development Framework")

## How to Create a Test Suite in SoapUI

A Test Suite is a container that groups related Test Cases. Follow the steps below to create one.

**Step 1) Right-click on the root of the project.**

Within the project, create a Test Suite by right-clicking on the project root.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor8.png)

**Step 2) Enter the Test Suite details.**

Enter the Test Suite name and click **OK**.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor9.png)

**Step 3) Verify the created Test Suite.**

The new Test Suite appears in the navigator pane as shown below.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor10.png)

**Step 4) Open the Test Suite.**

The Test Suite window opens in the right pane. Because no Test Cases exist yet, all action options remain disabled.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor11.jpg)

## How to Create a Test Case in SoapUI

Test Cases live inside a Test Suite and group the individual test steps that exercise a web service.

**Step 1:** Within a Test Suite, create multiple tests by right-clicking the Test Suite and choosing **New TestCase**.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor12.png)

**Step 2:** Specify the name of the [Test Case](https://www.guru99.com/test-case.html) and click **OK**.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor13.png)

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

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor14.png)

**Note:** The Test Case is added with zero test steps for every test type. As steps are added, the numbers in the brackets update automatically.

Functional test steps belong in **Test Steps**, performance steps go into **Load Test**, and security checks live under **Security Tests**.

**Step 4:** Insert different test step types by right-clicking **Test Steps** and selecting the appropriate option. For a REST web service, select the REST Test Request instead of a SOAP request.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor15.png)

## Adding a Test Step in SoapUI

Add a test step to validate the imported SOAP request inside the Test Case.

**Step 1:** Add a new step of type **SOAP Request** as shown below.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor16.png)

**Step 2:** Enter the step name and click **OK**.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor17.png)

**Step 3:** A dialog appears to select the operation to invoke. All available operations are listed for selection.

* Many operations appear here. The operations are identical apart from the SOAP version: CalculatorSoap uses SOAP version 1.1, while CalculatorSoap12 uses SOAP version 1.2.
* The version does not matter in this scenario, so either may be selected.  
[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor18.jpg)
* After selecting the operation, click **OK**.  
[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor19.png)

**Step 4:** While adding a Test Case, standard assertions can be applied. Assertions, also called checkpoints or validation points, are covered in the next tutorial.

The following checkpoints can be added while creating a Test Case. The example below creates a Test Case without any validation points enabled.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor20.png)

1. Verifies whether the response message is SOAP after the test runs.
2. Verifies whether the response schema is valid.
3. Verifies whether the SOAP response contains a FAULT element.

**Step 5:** When the Test Case is created, the request XML appears as shown below. The structure of the XML is explained in the snapshot.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor21.png)

**Step 6:** The test step count is now incremented to one because one step has been added. Adding load and security test steps will increment their respective counters automatically.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor22.png)

## Sending a Request Manually and Reading the Response in SoapUI

**Step 1:** The example below adds two integer numbers.

* intA — 5
* intB — 5

Next:

1. Enter these inputs in place of the question marks in the request XML.
2. After updating the corresponding XML tags, click **Submit Request** to check the response.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor23.png)

**Step 2:** After the request is submitted, the web service is processed by the web server and the response is returned, as shown below.

The response confirms 5 plus 5 equals 10.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor24.png)

## Understanding the SOAP Response and Log Panels

As noted earlier, SOAP messages are transported via HTTP. Inspecting the RAW messages helps clarify how the SOAP request and response are carried over HTTP.

**Step 1:** Click the **RAW** tab in the SoapUI request window.

1. The request is posted to the web server, so the HTTP POST method is used.
2. The SOAP request travels in the body of the HTTP message.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor25.png)

**Step 2:** Now click the **RAW** tab in the SoapUI response window to understand how the response is delivered via HTTP.

1. After the request is processed, the HTTP response code (200) is shown, indicating success.
2. The SOAP response is returned to the client inside the body of the HTTP message.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor26.png)

The table below summarizes common HTTP response codes for quick debugging.

| HTTP Code | Description                                                            |
| --------- | ---------------------------------------------------------------------- |
| **1xx**   | **Informational:** Request received, processing continues.             |
| **2xx**   | **Success:** Action successfully received, understood, and accepted.   |
| **3xx**   | **Redirection:** Further action is required to complete the request.   |
| **4xx**   | **Client Error:** Request contains bad syntax or cannot be fulfilled.  |
| **5xx**   | **Server Error:** Server failed to fulfil an apparently valid request. |

**Step 3:** The Test Case window also displays additional metadata for the request and response.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor27.png)

1. Indicates NO header in the request being sent.
2. Indicates NO attachments in the request being sent to the web server.
3. Indicates 10 header items in the response, viewable on click.
4. Indicates no attachments in the response message.

### Logs Pane

The Logs Pane shows the complete information exchanged between the client and server. The most commonly used log tabs are described below.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor28.png)

**SoapUI Log:** Displays response information from the web server. The same data is stored in the soapui.log file inside the SoapUI bin directory.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor29.png)

**HTTP Log:** Displays all HTTP packet transfers. All information visible in the RAW view is also captured in the HTTP Log.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor30.png)

**Error Log:** Displays all errors encountered during the entire project session. The same information is stored in soapui-errors.log inside the SoapUI bin directory.

**Memory Log:** Monitors memory consumption and displays it as a chart. This is useful when running memory-intensive operations.

[](https://www.guru99.com/images/1/090919%5F0519%5FSoapUITutor31.jpg)

With a Test Suite, Test Case, and Test Step in place and a successful response received, the next step is validating the response. Assertion types are covered in the next tutorial.

## FAQs

📑 What is the difference between a Test Suite and a Test Case in SoapUI?

A Test Suite is a container that groups related Test Cases inside a SoapUI Project. A Test Case is a single scenario that contains one or more Test Steps such as SOAP Request, REST Request, or assertions.

🌐 Can SoapUI test REST APIs as well as SOAP services?

Yes. SoapUI supports both SOAP and REST testing. When creating a new project, choose New SOAP Project for WSDL-based services or New REST Project for REST APIs. Test Steps include REST Test Request, JDBC Request, and Groovy Script.

⚙️ How do I run multiple Test Cases sequentially in SoapUI?

Open the Test Suite and click the green play button. SoapUI runs all Test Cases in the order they appear. You can also configure parallel or sequential execution under the Test Suite Properties tab.

🧮 Can I parameterize input values across SoapUI Test Cases?

Yes. Use the Properties step, Property Transfer step, or a DataSource step (SoapUI Pro) to drive multiple inputs through the same Test Case. This is useful for data-driven testing across many input combinations.

🤖 How can AI help generate SoapUI Test Cases automatically?

AI assistants can read a WSDL or OpenAPI spec and suggest realistic input combinations, edge cases, and assertion patterns. These suggestions can be exported as SoapUI XML or Groovy scripts, reducing manual effort when building large Test Suites.

🧠 Can AI help analyze SoapUI response logs for failures?

Yes. AI tools can parse SoapUI Log and HTTP Log entries, cluster repeated errors, and highlight likely root causes such as schema mismatches or authentication failures. This speeds up triage during regression cycles and large nightly runs.

#### Summarize this post with:

ChatGPT Perplexity Grok Google AI 

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.** 

##### Sign up for the newsletter

Subscribe for Free 

You have successfully subscribed.  
Please check your inbox. 

![AI-Newsletter]() Chosen by over **350,000+** professionals 

[Scroll to top ](#wrapper)Scroll to top 

× 

Toggle Menu Close 

Search for: 

Search

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/how-to-create-test-suite-and-test-case-in-soapui.png","url":"https://www.guru99.com/images/how-to-create-test-suite-and-test-case-in-soapui.png","width":"700","height":"250","caption":"How to create Test Suite &amp; Test Case in SoapUI","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/soapui","name":"SoapUI"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html","name":"How to create Test Suite &#038; Test Case in SoapUI"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#webpage","url":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html","name":"How to create Test Suite &#038; Test Case in SoapUI","dateModified":"2026-06-27T13:22:02+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/how-to-create-test-suite-and-test-case-in-soapui.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/thomas","name":"Thomas Hamilton","description":"I am Thomas Hamilton, a seasoned professional in software testing, specializing in crafting comprehensive guides to help you master your software testing skills.","url":"https://www.guru99.com/author/thomas","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/thomas-hamilton-author-v2-120x120.png","url":"https://www.guru99.com/images/thomas-hamilton-author-v2-120x120.png","caption":"Thomas Hamilton","inLanguage":"en-US"},"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"SoapUI","headline":"How to create Test Suite &#038; Test Case in SoapUI","description":"Understanding the SOAP Protocol Before we create an SOAPUI Test case, In this tutorial, we will lern what is soapui testing, how to Creating Test Suite, Test Case","keywords":"soapui","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/thomas","name":"Thomas Hamilton"},"dateModified":"2026-06-27T13:22:02+05:30","image":{"@id":"https://www.guru99.com/images/how-to-create-test-suite-and-test-case-in-soapui.png"},"copyrightYear":"2026","name":"How to create Test Suite &#038; Test Case in SoapUI","subjectOf":[{"@type":"HowTo","name":"How to Create Test Suite in SoapUI","description":"Below are the steps to create Test Suite in SoapUI:","step":[{"@type":"HowToStep","name":"Step 1) Righ-click on the root of the project","text":"Within the project, testers can create a test suite by performing a right-click on the root of the project.","image":{"@type":"ImageObject","url":"https://cdn.guru99.com/images/1/090919_0519_SoapUITutor8.png"},"url":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#step1"},{"@type":"HowToStep","name":"Step 2) Enter the Test suite details","text":"We need to enter the name of the test suite and press OK.","image":{"@type":"ImageObject","url":"https://cdn.guru99.com/images/1/090919_0519_SoapUITutor9.png"},"url":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#step2"},{"@type":"HowToStep","name":"Step 3) Verify the created Test suite","text":"The created test suite is displayed the navigator pane as shown below.","image":{"@type":"ImageObject","url":"https://cdn.guru99.com/images/1/090919_0519_SoapUITutor10.png"},"url":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#step3"},{"@type":"HowToStep","name":"Step 4) Open the Test suite","text":"The test Suite window opens in the Right Pane. As we have just created there are NO SoapUI test cases. Hence all options are disabled.","image":{"@type":"ImageObject","url":"https://cdn.guru99.com/images/1/090919_0519_SoapUITutor11.jpg"},"url":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#step4"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is the difference between a Test Suite and a Test Case in SoapUI?","acceptedAnswer":{"@type":"Answer","text":"A Test Suite is a container that groups related Test Cases inside a SoapUI Project. A Test Case is a single scenario that contains one or more Test Steps such as SOAP Request, REST Request, or assertions."}},{"@type":"Question","name":"Can SoapUI test REST APIs as well as SOAP services?","acceptedAnswer":{"@type":"Answer","text":"Yes. SoapUI supports both SOAP and REST testing. When creating a new project, choose New SOAP Project for WSDL-based services or New REST Project for REST APIs. Test Steps include REST Test Request, JDBC Request, and Groovy Script."}},{"@type":"Question","name":"How do I run multiple Test Cases sequentially in SoapUI?","acceptedAnswer":{"@type":"Answer","text":"Open the Test Suite and click the green play button. SoapUI runs all Test Cases in the order they appear. You can also configure parallel or sequential execution under the Test Suite Properties tab."}},{"@type":"Question","name":"Can I parameterize input values across SoapUI Test Cases?","acceptedAnswer":{"@type":"Answer","text":"Yes. Use the Properties step, Property Transfer step, or a DataSource step (SoapUI Pro) to drive multiple inputs through the same Test Case. This is useful for data-driven testing across many input combinations."}},{"@type":"Question","name":"How can AI help generate SoapUI Test Cases automatically?","acceptedAnswer":{"@type":"Answer","text":"AI assistants can read a WSDL or OpenAPI spec and suggest realistic input combinations, edge cases, and assertion patterns. These suggestions can be exported as SoapUI XML or Groovy scripts, reducing manual effort when building large Test Suites."}},{"@type":"Question","name":"Can AI help analyze SoapUI response logs for failures?","acceptedAnswer":{"@type":"Answer","text":"Yes. AI tools can parse SoapUI Log and HTTP Log entries, cluster repeated errors, and highlight likely root causes such as schema mismatches or authentication failures. This speeds up triage during regression cycles and large nightly runs."}}]}],"@id":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#schema-30403","isPartOf":{"@id":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/soapui-tutorial-project-testsuite-testcase.html#webpage"}}]}
```
