{"id":663,"date":"2020-01-05T00:00:00","date_gmt":"2020-01-04T18:30:00","guid":{"rendered":"https:\/\/www.guru99.com\/soapui-tutorial-project-testsuite-testcase.html"},"modified":"2025-05-24T13:26:34","modified_gmt":"2025-05-24T07:56:34","slug":"soapui-tutorial-project-testsuite-testcase","status":"publish","type":"post","link":"https:\/\/www.guru99.com\/soapui-tutorial-project-testsuite-testcase.html","title":{"rendered":"How to create Test Suite &#038; Test Case in SoapUI","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<h2>Understanding the SOAP Protocol<\/h2>\n<p>Before we create a SOAPUI Test case, let us understand basics about the SOAP Protocol. This will help you use SOAP UI to test SOAP requests and response effectively.<\/p>\n<p>SOAP stands for <strong>Simple Object Access Protocol<\/strong>. Below are the properties of a SOAP Protocol.<\/p>\n<ul>\n<li>It is an XML-based protocol for communicating between two different systems.<\/li>\n<li>It is a platform and language independent. Hence, a system developed using<a href=\"https:\/\/www.guru99.com\/java-tutorial.html\" data-lasso-id=\"186943\"> Java <\/a>can communicate with a system developed in.NET.<\/li>\n<li>SOAP requests\/response are transported via HTTP.<\/li>\n<\/ul>\n\n<style>.kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-table-of-content-wrap{padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);background-color:#edf2f7;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);max-width:450px;}.kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-table-of-contents-title-wrap{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-table-of-contents-title{font-weight:regular;font-style:normal;}.kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-table-of-content-wrap .kb-table-of-content-list{font-weight:regular;font-style:normal;margin-top:var(--global-kb-spacing-sm, 1.5rem);margin-right:0px;margin-bottom:0px;margin-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-toggle-icon-style-basiccircle .kb-table-of-contents-icon-trigger:after, .kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-toggle-icon-style-basiccircle .kb-table-of-contents-icon-trigger:before, .kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-toggle-icon-style-arrowcircle .kb-table-of-contents-icon-trigger:after, .kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-toggle-icon-style-arrowcircle .kb-table-of-contents-icon-trigger:before, .kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-toggle-icon-style-xclosecircle .kb-table-of-contents-icon-trigger:after, .kb-table-of-content-nav.kb-table-of-content-id_57115a-80 .kb-toggle-icon-style-xclosecircle .kb-table-of-contents-icon-trigger:before{background-color:#edf2f7;}<\/style>\n\n<h2>Learn the SOAP Message FORMAT<\/h2>\n<p>A SOAP message is an ordinary XML document containing the following elements. Message can be either a request message or a response message.<\/p>\n\n\n<figure style=\"text-align:center;\"><a href=\"https:\/\/www.guru99.com\/images\/1-2015\/SoapUI_Tutorial.png\" data-lasso-id=\"533119\"><img decoding=\"async\" width=\"633\" height=\"312\" src=\"https:\/\/www.guru99.com\/images\/1-2015\/SoapUI_Tutorial.png\" alt=\"SOAP Message FORMAT\" class=\"\"><\/a><figcaption style=\"text-align:center;\">SOAP Message FORMAT<\/figcaption><\/figure>\n\n\n<p>After setting up the workspace which we had performed in the last tutorial, we have to create SoapUI project structure, test suites, test cases in order to test a given web service. Let us understand a SoapUI Project example to create a new SOAP project.<\/p>\n<div class='code-block code-block-2' style='margin: 8px 0; clear: both;'>\n<style>\n.guru99_incontent_21 {\n\tmin-height: 280px !important;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n<\/style>\n\n<div align=\"center\" id=\"guru99_mobile_display\" class=\"guru99_incontent_21\">\n    \n  <script>\n    googletag.cmd.push(function() { googletag.display('guru99_mobile_display'); });\n  <\/script>\n<\/div><\/div>\n\n<h2>Creating a SOAP Project<\/h2>\n<p><strong>Step 1) <\/strong>Now, depending upon the project, we need to import SOAP\/REST protocol. We will create a new SOAP Project.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor2.png\" data-lasso-id=\"533120\"><img decoding=\"async\" width=\"305\" height=\"474\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor2.png\" alt=\"Creating a New SOAP Project\" class=\"\"><\/a><\/p>\n<p><strong>Step 2) <\/strong>We will make use following SOAP request <a href=\"http:\/\/www.dneonline.com\/calculator.asmx?wsdl\" data-lasso-id=\"186946\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/www.dneonline.com\/calculator.asmx?wsdl<\/a><\/p>\n<ol>\n<li>Enter the Project Name<\/li>\n<li>Enter the path of the WSDL request. In this case http:\/\/www.dneonline.com\/calculator.asmx?wsdl<\/li>\n<li>Click OK<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor3.png\" data-lasso-id=\"533121\"><img decoding=\"async\" width=\"560\" height=\"266\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor3.png\" alt=\"Creating a SOAP Project\" class=\"\"><\/a><\/p>\n<p><strong>Note:<\/strong><\/p>\n<ul>\n<li><strong>Create sample request for all operations? <\/strong>It creates a sample request for all the available operations in the given WSDL. As soon as you enter the WSDL address, this option is checked automatically. You may uncheck it.<\/li>\n<li><strong>Create, a Test Suite for the imported WSDL:<\/strong> Creates a SoapUI test suite within the project for the imported WSDL.<\/li>\n<li><strong>Relative Paths<\/strong>: It enables the user to save all the files relative to the project file.<\/li>\n<\/ul>\n<p><strong>Step 3) <\/strong>Upon creating the SOAP project with the above-said WSDL, we will be able to see that there are two operations that will be imported into the project.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor4.png\" data-lasso-id=\"533122\"><img decoding=\"async\" width=\"310\" height=\"383\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor4.png\" alt=\"Creating a SOAP Project\" class=\"\"><\/a><\/p>\n<p><strong>Step 4)<\/strong> Expand the first request and right-click on the &#8216;Add.&#8217; Then click on &#8216;New Request&#8217;.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor5.png\" data-lasso-id=\"533123\"><img decoding=\"async\" width=\"366\" height=\"408\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor5.png\" alt=\"Creating a SOAP Project\" class=\"\"><\/a><\/p>\n<p>Then Click on &#8216;OK&#8217;. It will display the SOAP request in the XML format<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor6.png\" data-lasso-id=\"533124\"><img decoding=\"async\" width=\"295\" height=\"126\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor6.png\" alt=\"Creating a SOAP Project\" class=\"\"><\/a><\/p>\n<ol>\n<li>Enter the &#8216;intA&#8217; and &#8216;intB&#8217;<\/li>\n<li>Click on the submit button<\/li>\n<li>Response XML will be displayed right side pane.<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor7.png\" data-lasso-id=\"533125\"><img decoding=\"async\" width=\"1041\" height=\"365\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor7.png\" alt=\"Creating a SOAP Project\" class=\"\"><\/a><\/p>\n<p>You may wonder why create Test Cases? When you can directly test Webservice here\u2026<\/p>\n<p>Well, you can send a request for one operation. What about others? How many combinations of inputs for Additions can you do using this operation? You have to edit the request for each and every combination.<\/p>\n<p>For example: If you want to add from 4 and 4 instead of 5 and 5\u2026 You need to edit the operation again. So, one has to create a test suite\/cases to have all possible scenarios tested without having to directly edit the operation itself.<\/p>\n<div class='code-block code-block-3' style='margin: 8px 0; clear: both;'>\n<style>\n.guru99_incontent_21 {\n\tmin-height:280px !important;\n}\n<\/style>\n\n<!-- Tag ID: guru99_static_3 -->\n<div id='guru99_incontent_2' class=\"guru99_incontent_21\">\n  <script>\n    googletag.cmd.push(function() { googletag.display('guru99_incontent_2'); });\n  <\/script>\n<\/div>\n<div class='yarpp yarpp-related yarpp-related-shortcode yarpp-template-yarpp-template-custom'>\n<div class=\"custom-related-posts\">\n    <h3 class=\"related-title\">RELATED ARTICLES<\/h3>\n    <ul>\n            <li>\n            <a href=\"https:\/\/www.guru99.com\/soapui-tutorial.html\" rel=\"bookmark\" title=\"SoapUI Tutorials for Beginners\">\n                SoapUI Tutorials for Beginners            <\/a>\n        <\/li>\n            <li>\n            <a href=\"https:\/\/www.guru99.com\/webservice-testing-beginner-guide.html\" rel=\"bookmark\" title=\"Web Services Testing Tutorial: How to Test? Learn with Example\">\n                Web Services Testing Tutorial: How to Test? Learn with Example            <\/a>\n        <\/li>\n            <li>\n            <a href=\"https:\/\/www.guru99.com\/rest-api-interview-question-answers.html\" rel=\"bookmark\" title=\"15 REST API Interview Question and Answers for \">\n                15 REST API Interview Question and Answers for             <\/a>\n        <\/li>\n            <li>\n            <a href=\"https:\/\/www.guru99.com\/soapui-alternative.html\" rel=\"bookmark\" title=\"8 BEST SoapUI Alternatives ()\">\n                8 BEST SoapUI Alternatives ()            <\/a>\n        <\/li>\n        <\/ul>\n<\/div>\n<\/div>\n<\/div>\n\n<h2>How to Create Test Suite in SoapUI<\/h2>\n<p>Below are the steps to create Test Suite in SoapUI:<\/p>\n<p><strong>Step 1) Right-click on the root of the project<\/strong><\/p>\n<p>Within the project, testers can create a test suite by performing a right-click on the root of the project.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor8.png\" data-lasso-id=\"533126\"><img decoding=\"async\" width=\"370\" height=\"447\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor8.png\" alt=\"Create Test Suite in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 2) Enter the Test suite details<\/strong><\/p>\n<p>We need to enter the name of the test suite and press OK.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor9.png\" data-lasso-id=\"533127\"><img decoding=\"async\" width=\"295\" height=\"126\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor9.png\" alt=\"Create Test Suite in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 3) Verify the created Test suite<\/strong><\/p>\n<p>The created test suite is displayed the navigator pane as shown below.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor10.png\" data-lasso-id=\"533128\"><img decoding=\"async\" width=\"308\" height=\"417\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor10.png\" alt=\"Create Test Suite in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 4) Open the Test suite<\/strong><\/p>\n<p>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.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor11.jpg\" data-lasso-id=\"533129\"><img decoding=\"async\" width=\"620\" height=\"619\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor11.jpg\" alt=\"Create Test Suite in SoapUI\" border=\"0\" class=\"\"><\/a><\/p>\n<h2>How to Create Test Case in SoapUI<\/h2>\n<p>Here is a step by step process for creating a test case in SoapUI:<\/p>\n<p><strong>Step 1) <\/strong>Within a test suite, we can create multiple tests by performing right click on the &#8216;test suite&#8217; and choosing &#8216;New TestCase&#8217;.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor12.png\" data-lasso-id=\"533130\"><img decoding=\"async\" width=\"315\" height=\"398\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor12.png\" alt=\"Create Test Case in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 2) <\/strong>Specify the name of the<a href=\"https:\/\/www.guru99.com\/test-case.html\" data-lasso-id=\"186949\"> Test Case <\/a>and click &#8216;OK&#8217;.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor13.png\" data-lasso-id=\"533131\"><img decoding=\"async\" width=\"295\" height=\"126\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor13.png\" alt=\"Create Test Case in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 3) <\/strong>The created test case has zero steps as shown below.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor14.png\" data-lasso-id=\"533132\"><img decoding=\"async\" width=\"820\" height=\"550\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor14.png\" alt=\"Create Test Case in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Note<\/strong>: We can see that the test case is added with zero test steps for all kinds of tests available. Upon adding the test steps, the numbers in the bracket would change automatically.<\/p>\n<p>The functional test step should go into &#8216;Test Steps&#8217; while a performance test step should go into &#8216;Load Test&#8217; and a security test step should go into &#8216;security Tests&#8217;.<\/p>\n<p><strong>Step 4)<\/strong> We can insert a variety of test steps by performing a right-click on test steps and selecting an appropriate test step as shown below. So, if you were to test a REST Webservice, you would select the REST Test Request.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor15.png\" data-lasso-id=\"533133\"><img decoding=\"async\" width=\"550\" height=\"466\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor15.png\" alt=\"Create Test Case in SoapUI\" class=\"\"><\/a><\/p>\n<div class='code-block code-block-4' style='margin: 8px 0; clear: both;'>\n<style>\n.guru99_incontent_31 {\n\tmin-height:280px !important;\n}\n<\/style>\n\n<!-- Tag ID: guru99_static_4 -->\n<div id='guru99_incontent_3' class=\"guru99_incontent_31\">\n  <script>\n    googletag.cmd.push(function() { googletag.display('guru99_incontent_3'); });\n  <\/script>\n<\/div><\/div>\n\n<h2>Adding a Test Step in SoapUI<\/h2>\n<p>Now let us add a test step to validate the imported SOAP testing request:<\/p>\n<p><strong>Step 1) <\/strong>Add a new step &#8216;SOAP Request&#8217; as shown below.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor16.png\" data-lasso-id=\"533134\"><img decoding=\"async\" width=\"564\" height=\"459\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor16.png\" alt=\"Adding a Test Step in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 2) <\/strong>Enter the step name and click OK.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor17.png\" data-lasso-id=\"533135\"><img decoding=\"async\" width=\"295\" height=\"126\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor17.png\" alt=\"Adding a Test Step in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 3) <\/strong>Upon clicking &#8216;OK&#8217;, a dialog pops up to select the operation to invoke. All the operations are listed, and user can select the operation that they would like to invoke.<\/p>\n<ul>\n<li>There are many operations that will be listed. The Operations are the same except the SOAP version used.CalculatorSoap \u2013 uses SOAP version 1.1 whereas,CalculatorSoap12 \u2013 uses SOAP version 1.2<\/li>\n<li>The Version does not matter for us in this context. Hence you can select the one of your choice.\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor18.jpg\" data-lasso-id=\"533136\"><img decoding=\"async\" width=\"333\" height=\"158\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor18.jpg\" alt=\"Adding a Test Step in SoapUI\" border=\"0\" class=\"\"><\/a><\/p>\n<\/li>\n<li>Upon Selecting the operation, click &#8216;Ok&#8217;\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor19.png\" data-lasso-id=\"533137\"><img decoding=\"async\" width=\"266\" height=\"126\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor19.png\" alt=\"Adding a Test Step in SoapUI\" class=\"\"><\/a><\/p>\n<\/li>\n<\/ul>\n<p><strong>Step 4) <\/strong>While adding a test case, we can add standard assertions. Assertions also called as checkpoints\/validation points which we will be dealing in detail in the next tutorial.<\/p>\n<p>We can add following checkpoints\/assertions while creating test case. Let us create a test case with the option which means creating test step WITHOUT any of the below validation points<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor20.png\" data-lasso-id=\"533138\"><img decoding=\"async\" width=\"526\" height=\"259\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor20.png\" alt=\"Adding a Test Step in SoapUI\" class=\"\"><\/a><\/p>\n<ol>\n<li>Verifies if the response message is SOAP, upon executing the test.<\/li>\n<li>Verifies if the response schema is valid.<\/li>\n<li>Verifies if the SOAP response contains FAULT.<\/li>\n<\/ol>\n<p><strong>Step 5) <\/strong>Upon creating the test case, the request XML is shown below. The structure of the XML is explained within the below snapshot.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor21.png\" data-lasso-id=\"533139\"><img decoding=\"async\" width=\"578\" height=\"317\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor21.png\" alt=\"Adding a Test Step in SoapUI\" class=\"\"><\/a><\/p>\n<p><strong>Step 6) <\/strong>The test step count is now incremented to one as we have just added one test step. Similarly, upon adding load and security tests step, the corresponding number would be automatically incremented based on the number of steps added.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor22.png\" data-lasso-id=\"533140\"><img decoding=\"async\" width=\"385\" height=\"370\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor22.png\" alt=\"Adding a Test Step in SoapUI\" class=\"\"><\/a><\/p>\n\n<h2>Sending Request Manually &amp; Reading Response in SoapUI<\/h2>\n<p><strong>Step 1) <\/strong>We would like to add two Integer Number.<\/p>\n<ul>\n<li>intA &#8211; 5<\/li>\n<li>intB &#8211; 5<\/li>\n<\/ul>\n<p>Next,<\/p>\n<ol>\n<li>We need to enter these inputs in place of the question mark which will be sent as request XML.<\/li>\n<li>After inputting those values into the corresponding XML tags, click &#8216;submit request&#8217; button to check the response.<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor23.png\" data-lasso-id=\"533141\"><img decoding=\"async\" width=\"630\" height=\"240\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor23.png\" alt=\"Sending Request Manually &#038; Reading Response\" class=\"\"><\/a><\/p>\n<p><strong>Step 2) <\/strong>Upon submitting a request the web service request is processed by the webserver and sends back a response as shown below.<\/p>\n<p>By reading the response, we are able to conclude 5 plus 5 is 10.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor24.png\" data-lasso-id=\"533142\"><img decoding=\"async\" width=\"645\" height=\"217\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor24.png\" alt=\"Sending Request Manually &#038; Reading Response\" class=\"\"><\/a><\/p>\n<h2>Understanding the Soap Response &amp; Log Panels<\/h2>\n<p>As explained at the beginning of this SoapUI testing tutorial, the SOAP messages are transported via HTTP protocol. Let us take a look at the RAW messages. This will help us learn how the SOAP request and response were transported by HTTP.<\/p>\n<p><strong>Step 1) <\/strong>Click &#8216;RAW&#8217; Tab in both SOAP-UI request Window.<\/p>\n<ol>\n<li>The Request is posted to the webserver. Hence, the POST method of Http is used.<\/li>\n<li>The SOAP Request is transported in the body of the Http message.<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor25.png\" data-lasso-id=\"533143\"><img decoding=\"async\" width=\"692\" height=\"273\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor25.png\" alt=\"Soap Response &#038; Log Panels\" class=\"\"><\/a><\/p>\n<p><strong>Step 2) <\/strong>Now<strong> <\/strong>click &#8216;RAW&#8217; Tab<strong> <\/strong>in SOAP-UI Response Window to understand how the response is sent via HTTP.<\/p>\n<ol>\n<li>After processing the request, the Http response code (200) is shown which means it is a success. The webserver has processed it successfully.<\/li>\n<li>The SOAP response is sent back to the client as part of the body of the HTTP message.<\/li>\n<\/ol>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor26.png\" data-lasso-id=\"533144\"><img decoding=\"async\" width=\"945\" height=\"286\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor26.png\" alt=\"Soap Response &#038; Log Panels\" class=\"\"><\/a><\/p>\n<p>A Quick snapshot of the Http Response codes for easy understanding and debugging. The below table will help you to trouble shoot based on the HTTP code received from the webserver.<\/p>\n<table class=\"table table-striped\">\n<thead>\n<tr>\n<th>Http Code<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>1xx:<\/strong><\/td>\n<td><strong>Informational &#8211; <\/strong>This means a request received and continuing process.<\/td>\n<\/tr>\n<tr>\n<td><strong>2xx:<\/strong><\/td>\n<td><strong>Success &#8211; <\/strong>The action was successfully received, understood, and accepted.<\/td>\n<\/tr>\n<tr>\n<td><strong>3xx:<\/strong><\/td>\n<td><strong>Redirection &#8211; <\/strong>This means further action must be taken in order to complete the request.<\/td>\n<\/tr>\n<tr>\n<td><strong>4xx:<\/strong><\/td>\n<td><strong>Client Error &#8211; <\/strong>This means the request contains bad syntax or cannot be fulfilled<\/td>\n<\/tr>\n<tr>\n<td><strong>5xx:<\/strong><\/td>\n<td><strong>Server Error &#8211; <\/strong>The server failed to fulfil an apparently valid request<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Step 3) <\/strong>Let us understand the other information that are displayed in the test case window.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor27.png\" data-lasso-id=\"533145\"><img decoding=\"async\" width=\"943\" height=\"537\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor27.png\" alt=\"Soap Response &#038; Log Panels\" class=\"\"><\/a><\/p>\n<ol>\n<li>Represent NO header in the request that is being sent<\/li>\n<li>Represents NO attachments in the request that is being sent to the web server.<\/li>\n<li>Represents 10 header information and the same are displayed upon clicking on it.<\/li>\n<li>Represents that there are no attachments from the response message.<\/li>\n<\/ol>\n<p><strong>LOGS PANE: <\/strong><\/p>\n<p>Logs pane has complete information regarding the transaction between the client and the server. Users will be able to see the tabs of the Log pane as shown below. We will discuss the most commonly used log panes when working with SOAP-UI.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor28.png\" data-lasso-id=\"533146\"><img decoding=\"async\" width=\"392\" height=\"34\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor28.png\" alt=\"LOGS PANE\" class=\"\"><\/a><\/p>\n<p><strong>SoapUI Log<\/strong> \u2013 Displays the response information from the webserver. The same information is stored in soapui.log file of the SOAP-UI installed folder under &#8216;bin&#8217; directory.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor29.png\" data-lasso-id=\"533147\"><img decoding=\"async\" width=\"691\" height=\"240\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor29.png\" alt=\"SoapUI Log\" class=\"\"><\/a><\/p>\n<p><strong>Http Log \u2013 <\/strong>Displays all the HTTP packet transfer. All the information in &#8216;RAW&#8217; is shown in HTTP log.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor30.png\" data-lasso-id=\"533148\"><img decoding=\"async\" width=\"651\" height=\"240\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor30.png\" alt=\"Http Log\" class=\"\"><\/a><\/p>\n<p><strong>Error Log \u2013 <\/strong>Error log displays all the errors that we have encountered during the entire project session. The same information is available in &#8216;soapui-errors.log&#8217; present in the &#8216;bin&#8217; directory of the SOAP UI installed location.<\/p>\n<p><strong>Memory Log \u2013 <\/strong>This tab monitors the memory consumption and displays it in the form of the chart as shown below. It is really helpful when there is a memory intensive operation is performed.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor31.jpg\" data-lasso-id=\"533149\"><img decoding=\"async\" width=\"1219\" height=\"303\" src=\"https:\/\/www.guru99.com\/images\/1\/090919_0519_SoapUITutor31.jpg\" alt=\"Memory Log\" border=\"0\" class=\"\"><\/a><\/p>\n<p>Now that we have created a test suite, test case, test step, and got a response, next step is to validate the response. We will deal with types of assertions in the next tutorial.<\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>Understanding the SOAP Protocol Before we create a SOAPUI Test case, let us understand basics about the SOAP Protocol. This will help you use SOAP UI to test SOAP requests and response effectively. SOAP stands for Simple Object Access Protocol. Below are the properties of a SOAP Protocol. It is an XML-based protocol for communicating&#8230;<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":2,"featured_media":61800,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[37],"tags":[163,161],"coauthors":[446],"class_list":["post-663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-soapui","tag-convertbox-guru99","tag-convertbox-sir"],"taxonomy_info":{"category":[{"value":37,"label":"SoapUI"}],"post_tag":[{"value":163,"label":"Convertbox-Guru99"},{"value":161,"label":"Convertbox-Sir"}]},"featured_image_src_large":["https:\/\/www.guru99.com\/images\/soapui-project-testsuite.png",365,180,false],"author_info":{"display_name":"Thomas Hamilton","author_link":"https:\/\/www.guru99.com\/author\/thomas"},"comment_info":0,"category_info":[{"term_id":37,"name":"SoapUI","slug":"soapui","term_group":0,"term_taxonomy_id":37,"taxonomy":"category","description":"","parent":0,"count":10,"filter":"raw","cat_ID":37,"category_count":10,"category_description":"","cat_name":"SoapUI","category_nicename":"soapui","category_parent":0}],"tag_info":[{"term_id":163,"name":"Convertbox-Guru99","slug":"convertbox-guru99","term_group":0,"term_taxonomy_id":163,"taxonomy":"post_tag","description":"","parent":0,"count":668,"filter":"raw"},{"term_id":161,"name":"Convertbox-Sir","slug":"convertbox-sir","term_group":0,"term_taxonomy_id":161,"taxonomy":"post_tag","description":"","parent":0,"count":835,"filter":"raw"}],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/posts\/663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/comments?post=663"}],"version-history":[{"count":1,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/posts\/663\/revisions"}],"predecessor-version":[{"id":126079,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/posts\/663\/revisions\/126079"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/media\/61800"}],"wp:attachment":[{"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/media?parent=663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/categories?post=663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/tags?post=663"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.guru99.com\/wp-json\/wp\/v2\/coauthors?post=663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}