{"id":41347,"date":"2019-09-10T06:30:26","date_gmt":"2019-09-10T06:30:26","guid":{"rendered":"https:\/\/www.softwaretestinghelp.com\/?page_id=41347"},"modified":"2025-04-01T08:06:45","modified_gmt":"2025-04-01T08:06:45","slug":"soatest-tutorial","status":"publish","type":"page","link":"https:\/\/www.softwaretestinghelp.com\/soatest-tutorial\/","title":{"rendered":"Parasoft SOAtest Tutorial: Scriptless API Testing Tool"},"content":{"rendered":"\n<p><strong>This SOAtest Tutorial explains how to create a sample project, .tst file, test suite, and REST Client in Parasoft SOAtest. It also presents you with a glossary of the most important terms and describes major components of the application. It will provide you with an example of how a .tst file\/project is built for API automation.<\/strong><\/p>\n\n\n\n \n  \n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/11\/SOATest.png\"><img decoding=\"async\" width=\"600\" height=\"300\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/11\/SOATest.png\" alt=\"Introduction to SOATest\" class=\"wp-image-41651\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/11\/SOATest.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2018\/11\/SOATest-300x150.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<p><strong>List Of Tutorials In This SOAtest Series.<\/strong><\/p>\n\n\n\n<p><strong>Tutorial #1:<\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/soatest-tutorial\/\">Parasoft SOAtest Tutorial (This Tutorial)<\/a><br><strong>Tutorial #2:<\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/soap-vs-rest-difference\/\">SOAP Vs REST Difference<\/a><br><strong>Tutorial #3:<\/strong> <a href=\"https:\/\/www.softwaretestinghelp.com\/assertion-in-soatest\/\">Assertion In SOAtest With An XML Code Example<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">What Is Parasoft SOAtest?<\/h1>\n\n\n\n<p><a href=\"https:\/\/www.parasoft.com\/soatest\/api-testing\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Parasoft SOAtest<\/strong><\/a> is a fully integrated API and web service testing solution that automates end-to-end functional API testing by streamlining automated testing with advanced codeless test creation for applications with multiple interfaces\u2014REST and SOAP APIs, microservices, databases, and more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a Project in SOAtest<\/h2>\n\n\n\n<p>Multiple <em>.tst<\/em> files can be grouped into a single project.<br>First, we will create a new project based on existing test suites.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose <strong>File &gt; New &gt; Project<\/strong> then select <strong>Project from Existing SOAtest Test Suites<\/strong> in the wizard that opens.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-Project-from-Existing-SOAtest-Test-Suites.png\"><img decoding=\"async\" width=\"600\" height=\"436\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-Project-from-Existing-SOAtest-Test-Suites.png\" alt=\"Select a wizard\" class=\"wp-image-294866\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-Project-from-Existing-SOAtest-Test-Suites.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-Project-from-Existing-SOAtest-Test-Suites-300x218.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>Enter Examples in the <strong>Project Name<\/strong> field.<\/li>\n\n\n\n<li>Specify the location of the project\u2019s test suites by clicking <strong>Browse<\/strong>, then navigating to &lt;SOATEST_INSTALLATION_DIRECTORY&gt;\/examples\/tests.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-Project-Name.png\"><img decoding=\"async\" width=\"600\" height=\"436\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-Project-Name.png\" alt=\"Create a Soatest project\" class=\"wp-image-294867\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-Project-Name.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-Project-Name-300x218.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click <strong>Finish<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>The Examples project will be added to the Test Case Explorer. It will contain multiple test (.tst) files.<\/p>\n\n\n\n<p>You can also create new projects by selecting different commands from the new project wizard. To see all available New Project options, choose<strong> File &gt; New &gt; Other<\/strong> and look under the <strong>SOAtest<\/strong> folder.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-in-SOAtest-selecting-different-commands.png\"><img decoding=\"async\" width=\"600\" height=\"436\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-in-SOAtest-selecting-different-commands.png\" alt=\"Select a wizard\" class=\"wp-image-294869\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-in-SOAtest-selecting-different-commands.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-a-Project-in-SOAtest-selecting-different-commands-300x218.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Creating New Test (.tst) Files<\/h2>\n\n\n\n<p>We recommend that you create a separate test (.tst) file for each distinct testing requirement. Right-click the project node and select Add New &gt; Test (.tst) File from the shortcut menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-New-Test-.tst-Files.png\"><img decoding=\"async\" width=\"582\" height=\"285\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-New-Test-.tst-Files.png\" alt=\"Create Test file\" class=\"wp-image-294870\" style=\"border:1px solid black; srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-New-Test-.tst-Files.png 582w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Creating-New-Test-.tst-Files-300x147.png 300w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose <strong>File &gt; New &gt; Test (.tst) File<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-.tst-File.png\"><img decoding=\"async\" width=\"600\" height=\"108\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-.tst-File.png\" alt=\"\" class=\"wp-image-294871\" &quot;border:1px solid srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-.tst-File.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-.tst-File-300x54.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enter <em>Example <\/em>in the <strong>File Name <\/strong>field,<\/li>\n\n\n\n<li>Click <strong>Next<\/strong> and then <strong>Finish<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Later in this Tutorial, you will learn how to create an actual test inside your <em>.tst<\/em> file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Major Components of a SOAtest Project<\/h2>\n\n\n\n<p>Below you will find a list of major hierarchical components of a SOAtest project.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#1) Project (Example)<\/strong><\/h3>\n\n\n\n<p>A project is an entity created by the Eclipse IDE. It can contain any number of SOAtest-specific <em>.tst<\/em> files and any other resources that make sense for your environment.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#2) tst File (Example.tst)<\/strong><\/h3>\n\n\n\n<p>It is the executable file that contains all the test suites, tests, environment variables, methods, data sources, traffic objects, etc. This file is the nucleus of your project. To keep file size down and to improve maintainability, we recommend using one <em>.tst<\/em> file for each distinct testing requirement.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#3) Test Suite (Scenario: Test Suite)<\/strong><\/h3>\n\n\n\n<p>Test Suite is the folder inside your <em>.tst<\/em> file that contains the executable tests, data sources, environment variables, and so on. On the Test Suite level, you can set up execution mode (sequential or concurrent execution), test relationship (running each test individually or as a group), and test flow logic or declare any test variables which will be used for parameterization of your tests. Moreover, in this section, you can associate test cases with requirements managed by your ALM\/RMS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-Suite.png\"><img decoding=\"async\" width=\"600\" height=\"265\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-Suite.png\" alt=\"Test Suite\" class=\"wp-image-294872\" style=\"border:1px solid black; srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-Suite.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Test-Suite-300x133.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#4) Environment<\/strong><\/h3>\n\n\n\n<p>Within this node you can configure multiple environments for different teams in your organization. SOAtest can help you seamlessly switch between those, without requiring any changes to the actual test.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Declaring Environment Variables<\/h4>\n\n\n\n<p>To declare Environment Variables in the Test Suite:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right-click <strong>Environments <\/strong>inside your <strong>Test Suite: Test Suite<\/strong> in the<em>Example.tst <\/em>file created in<strong> Creating New Test (.tst) Files <\/strong>section of this Tutorial.<\/li>\n\n\n\n<li>Click <strong>New Environment<\/strong>.<\/li>\n\n\n\n<li>Enter <em>MyEnvVars<\/em> in <strong>Name <\/strong>field.<\/li>\n\n\n\n<li>In the <strong>Environment Variables<\/strong> section enter <em>ENDPOINT<\/em> as a name and <a href=\"http:\/\/www.example.com\" rel=\"nofollow noopener\" target=\"_blank\"><em>http:\/\/www.example.com<\/em><\/a><em> <\/em>as a value.<\/li>\n<\/ul>\n\n\n\n<p>You have declared your first environment variable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Declaring-Environment-Variables.png\"><img decoding=\"async\" width=\"600\" height=\"251\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Declaring-Environment-Variables.png\" alt=\"Environment\" class=\"wp-image-294873\" style=\"border:1px solid black; srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Declaring-Environment-Variables.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Declaring-Environment-Variables-300x126.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#5) Data Source<\/strong><\/h3>\n\n\n\n<p>Tests can be parametrized with data stored in a data source. You can add data sources at either Test Suite, Project or Global level. The higher the level of the data source, the more widely it can be shared. For instance, if you want to add a data source that is applicable only to a specific Test Suite, add it at the suite level. If you want to share it across suites in a project, add it at the project level. If you want to share it across multiple projects, add it at the global level.&nbsp;&nbsp;<\/p>\n\n\n\n<p>In case you want to capture runtime data for reuse in subsequent tools, you can use the Writable Data Source. It will provide you with several options like writing the output after each iteration or after complete execution. You can append (add to the previous execution) or overwrite\/replace the data after each run.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Data-Source.png\"><img decoding=\"async\" width=\"600\" height=\"289\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Data-Source.png\" alt=\"Data Source\" class=\"wp-image-294874\" style=\"border:1px solid black; srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Data-Source.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Data-Source-300x145.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Adding a New Data Source to the Test Suite<\/h4>\n\n\n\n<p>To create a new Data Source in the Test Suite:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right-click <strong>Test Suite: Test Suite<\/strong> inside the <em>Example.tst <\/em>file created in <strong>Creating New Test (.tst) Files<\/strong> section of this Tutorial.<\/li>\n\n\n\n<li>Click <strong>Add New &gt; Data Source<\/strong>.<\/li>\n\n\n\n<li>Review the list of available types in the <strong>New Project Data Source <\/strong>box and select <strong>Table<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>Your first Data Source is created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-New-Data-Source-to-the-Test-Suite.png\"><img decoding=\"async\" width=\"600\" height=\"480\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-New-Data-Source-to-the-Test-Suite.png\" alt=\"\" class=\"wp-image-294875\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-New-Data-Source-to-the-Test-Suite.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-New-Data-Source-to-the-Test-Suite-300x240.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#6) Test (Test 1: REST Client)<\/strong><\/h3>\n\n\n\n<p>Within the Test Suite you create your actual tests. You can choose from various test clients, including (but not limited to) REST, GraphQL, SOAP, or CSV. A general-purpose Messaging Client is also available, with which you can add support for custom transports using the Extensibility Framework.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Adding a New Client to the Test Suite<\/h4>\n\n\n\n<p>To create a new client in the Test Suite:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right-click <strong>Test Suite: Test Suite<\/strong> inside the <em>Example.tst <\/em>file created in <strong>Creating New Test (.tst) Files<\/strong> section of this Tutorial.<\/li>\n\n\n\n<li>Click <strong>Add New &gt; Test<\/strong>.<\/li>\n\n\n\n<li>Review the list of available clients under the <strong>New Tool<\/strong> tab and select <strong>REST Client<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>Your first REST client is created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-a-New-Client-to-the-Test-Suite.png\"><img decoding=\"async\" width=\"600\" height=\"623\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-a-New-Client-to-the-Test-Suite.png\" alt=\"\" class=\"wp-image-294876\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-a-New-Client-to-the-Test-Suite.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Adding-a-New-Client-to-the-Test-Suite-289x300.png 289w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#7) Traffic Viewer<\/strong><\/h3>\n\n\n\n<p>Each time you run a client tool, SOAtest will automatically record the traffic to and from the designated endpoint. The Traffic Viewer tool helps you to manage and visualize the requests and responses associated with each tool. The Traffic Viewer can record multiple instances of traffic that correspond to each tool run.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer.png\"><img decoding=\"async\" width=\"600\" height=\"461\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer.png\" alt=\"Traffic Viewer\" class=\"wp-image-294877\" style=\"border:1px solid black;\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-300x231.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>#8) Other Components<\/strong><\/h3>\n\n\n\n<p>SOAtest comes equipped with numerous different views that help you debug potential test execution issues (Quality Tasks, Event Monitor, Event Log), manage communication with message broker and retrieve the messages (Queue Browser), or manage your web scenarios for load testing (Load Test Explorer). For more information, please refer to the <a href=\"https:\/\/docs.parasoft.com\/\" rel=\"nofollow noopener\" target=\"_blank\">vendor\u2019s website<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating and Configuring a Sample REST Client<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create the ParaBank project:\n<ul class=\"wp-block-list\">\n<li>Go to <strong>File &gt; New &gt; Project.<\/strong><\/li>\n\n\n\n<li>Choose <strong>SOAtest&gt; ParaBank Example Project<\/strong> and click <strong>Next.<\/strong><\/li>\n\n\n\n<li>Enter a name for the project, then click <strong>Finish<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>ParaBank Example project will be created and deployed on port 8002 of your machine.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Expand <em>Example<\/em> project created in <strong>Creating a SOAtest Project<\/strong> section of this Tutorial.<\/li>\n\n\n\n<li>Double-click <em>SOAtestTutorial.tst<\/em> to open the .tst file and review the contents,<\/li>\n\n\n\n<li>Expand <em>Test Suite: REST Example<\/em> and double-click <em>Test 1: Loan Request (JSON Response).<\/em><\/li>\n\n\n\n<li>Note that <strong>Service Definition<\/strong> is set to <strong>None<\/strong> by default. Most RESTful services are purely GET-based services that are composed of a URL and a query; they usually respond with either an XML or JSON response payload.<\/li>\n\n\n\n<li>Provide the request to the RESTful service by changing the port in the URL inside <strong>URL <\/strong>field to http:\/\/localhost:8002\/parabank\/services\/bank\/requestLoan?customerId=1&amp;fromAccountId=12345&amp;amount=100&amp;downPayment=1 , then choosing <strong>POST<\/strong> from the <strong>Method<\/strong> dropdown.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Provide-the-request-to-the-RESTful-service.png\"><img decoding=\"async\" width=\"600\" height=\"37\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Provide-the-request-to-the-RESTful-service.png\" alt=\"POST\" class=\"wp-image-294878\" style=\"border:1px solid black;\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Provide-the-request-to-the-RESTful-service.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Provide-the-request-to-the-RESTful-service-300x19.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Notice that SOAtest has automatically populated the table with path template and query parameters. If you wanted to add additional parameters, you could do so here.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/SOAtest-Path-Template.png\"><img decoding=\"async\" width=\"266\" height=\"152\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/SOAtest-Path-Template.png\" alt=\"Path Template\" class=\"wp-image-294879\" style=\"border:1px solid black;\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/SOAtest-Query-Template.png\"><img decoding=\"async\" width=\"300\" height=\"152\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/SOAtest-Query-Template.png\" alt=\"Query Template\" class=\"wp-image-294880\" style=\"border:1px solid black;\"\/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the <strong>HTTP Options<\/strong> tab, choose <strong>HTTPHeaders <\/strong>and note a header with name Accept and value application\/json. If this header is omitted, the service response will be in XML. Once added, the service response will be in JSON.<\/li>\n\n\n\n<li>Save the REST Client editor.<\/li>\n<\/ul>\n\n\n\n<p>Run the test and review the traffic in the Traffic Viewer. Note that you can switch from Literal to Tree view if you want to see a graphical representation of the JSON message.<br>Literal view:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Literal-View.png\"><img decoding=\"async\" width=\"600\" height=\"216\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Literal-View.png\" alt=\"Literal View\" class=\"wp-image-294882\" style=\"border:1px solid black;\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Literal-View.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Literal-View-300x108.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<p>Tree view:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Tree-View.png\"><img decoding=\"async\" width=\"600\" height=\"422\" src=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Tree-View.png\" alt=\"Tree view\" class=\"wp-image-294881\" style=\"border:1px solid black;\" srcset=\"https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Tree-View.png 600w, https:\/\/www.softwaretestinghelp.com\/wp-content\/qa\/uploads\/2024\/03\/Traffic-Viewer-Tree-View-300x211.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>In this tutorial, we saw how to create a project, <em>.tst<\/em> file, test suite, environment variable, data source, and REST Client in Parasoft SOAtest. This, in turn, will help you in building your own API test suite that you can execute on your own from scratch.<\/p>\n\n\n\n<p>The second part of this Tutorial will focus on assertions and their types, JSON and XML databanks, working with API and Web UI Tests. After exploring these topics, you will be able to design your own test suite and automate your API tests.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.softwaretestinghelp.com\/soap-vs-rest-difference\/\"><strong>NEXT Tutorial<\/strong><\/a><\/p>\n\r\n\t\t\t<div id=\"daexthefup-container\"\r\n\t\t\t\tclass=\"daexthefup-container daexthefup-layout-stacked daexthefup-alignment-center\"\r\n\t\t\t\tdata-post-id=\"41347\">\r\n\r\n\t\t\t\t<div class=\"daexthefup-feedback\">\r\n\t\t\t\t\t<div class=\"daexthefup-text\">\r\n\t\t\t\t\t\t<h3 class=\"daexthefup-title\">Was this helpful?<\/h3>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<div class=\"daexthefup-buttons-container\">\r\n\t\t\t\t\t\t<div class=\"daexthefup-buttons\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-yes daexthefup-button daexthefup-button-type-icon\" data-value=\"1\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-up-cls-1{fill:#c9c9c9;}.thumb-up-cls-2{fill:#e1e1e1;}.thumb-up-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_up\">\r\n                        <path class=\"thumb-up-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-up-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"20\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,9.06l-.49-.1c-.81-.17-1.61.35-1.78,1.16l-5.3,11.74c-.17.81,3.16,1.61,3.97,1.78l1.96.41c.81.17,1.61-.35,1.78-1.16l2.18-10.27c.34-1.61-.7-3.21-2.31-3.56Z\" \/>\r\n                            <path class=\"thumb-up-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,20h-18.67c-.83,0-1.5.67-1.5,1.5v12c0,.83.67,1.5,1.5,1.5h16.27c.71,0,1.33-.5,1.47-1.21l2.4-12c.19-.93-.53-1.8-1.47-1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<div class=\"daexthefup-no daexthefup-button daexthefup-button-type-icon\" data-value=\"0\">\r\n\t\t\t\t\r\n                <svg>\r\n                    <defs>\r\n                        <style>.thumb-down-cls-1{fill:#c9c9c9;}.thumb-down-cls-2{fill:#e1e1e1;}.thumb-down-cls-3{fill:#676767;}<\/style>\r\n                    <\/defs>\r\n                    <g id=\"thumb_down\">\r\n                        <path class=\"thumb-down-cls-2 daexthefup-icon-circle\" d=\"m24,3c11.58,0,21,9.42,21,21s-9.42,21-21,21S3,35.58,3,24,12.42,3,24,3m0-1C11.85,2,2,11.85,2,24s9.85,22,22,22,22-9.85,22-22S36.15,2,24,2h0Z\" \/>\r\n                        <g>\r\n                            <rect class=\"thumb-down-cls-3 daexthefup-icon-secondary-color\" x=\"10\" y=\"13\" width=\"6\" height=\"15\" rx=\"1.5\" ry=\"1.5\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m30.57,38.94l-.49.1c-.81.17-1.61-.35-1.78-1.16l-5.3-11.74c-.17-.81,3.16-1.61,3.97-1.78l1.96-.41c.81-.17,1.61.35,1.78,1.16l2.18,10.27c.34,1.61-.7,3.21-2.31,3.56Z\" \/>\r\n                            <path class=\"thumb-down-cls-1 daexthefup-icon-primary-color\" d=\"m38.17,28h-18.67c-.83,0-1.5-.67-1.5-1.5v-12c0-.83.67-1.5,1.5-1.5h16.27c.71,0,1.33.5,1.47,1.21l2.4,12c.19.93-.53,1.8-1.47,1.8Z\" \/>\r\n                        <\/g>\r\n                    <\/g>\r\n                <\/svg>\t\t\t<\/div>\r\n\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-comment\">\r\n\t\t\t\t\t<div class=\"daexthefup-comment-top-container\">\r\n\t\t\t\t\t\t<label id=\"daexthefup-comment-label\" class=\"daexthefup-comment-label\"><\/label>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-container\">\r\n\t\t\t\t\t\t\t\t<div id=\"daexthefup-comment-character-counter-number\"\r\n\t\t\t\t\t\t\t\t\tclass=\"daexthefup-comment-character-counter-number\"><\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"daexthefup-comment-character-counter-text\"><\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<textarea id=\"daexthefup-comment-textarea\" class=\"daexthefup-comment-textarea\"\r\n\t\t\t\t\t\t\t\tplaceholder=\"Type your message\"\r\n\t\t\t\t\t\t\t\tmaxlength=\"\r\n\t\t\t\t\t\t\t\t400\t\t\t\t\t\t\t\t\t\"><\/textarea>\r\n\t\t\t\t\t<div class=\"daexthefup-comment-buttons-container\">\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-submit daexthefup-button\">Submit<\/button>\r\n\t\t\t\t\t\t<button class=\"daexthefup-comment-cancel daexthefup-button\">Cancel<\/button>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\r\n\t\t\t\t<div class=\"daexthefup-successful-submission-text\">Thanks for your feedback!<\/div>\r\n\r\n\t\t\t<\/div>\r\n\r\n\t\t\t","protected":false},"excerpt":{"rendered":"<p>This SOAtest Tutorial explains how to create a sample project, .tst file, test suite, and REST Client in Parasoft SOAtest. It also presents you with a glossary of the most important terms and describes major components of the application. It will provide you with an example of how a .tst &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Parasoft SOAtest Tutorial: Scriptless API Testing Tool\" class=\"read-more button\" href=\"https:\/\/www.softwaretestinghelp.com\/soatest-tutorial\/#more-41347\" aria-label=\"Read more about Parasoft SOAtest Tutorial: Scriptless API Testing Tool\">Read more<\/a><\/p>\n","protected":false},"author":9,"featured_media":41651,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_helpful_pro_status":1,"footnotes":""},"categories":[543],"tags":[],"class_list":{"0":"post-41347","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"category-api-testing"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/41347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/comments?post=41347"}],"version-history":[{"count":0,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/pages\/41347\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media\/41651"}],"wp:attachment":[{"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/media?parent=41347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/categories?post=41347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretestinghelp.com\/wp-json\/wp\/v2\/tags?post=41347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}