Table of contents
1.
Introduction 
2.
SOAP Request
2.1.
Creating a SOAP-based Request​
2.2.
Adding SOAP Request Details​
2.3.
Request Method​
3.
WSDL URL​
3.1.
Service Function​
4.
Request Authentication​
4.1.
Request Headers​
4.2.
Request Message​
5.
Response
5.1.
Response Body​
6.
Frequently Asked Questions
6.1.
What is Rest API?
6.2.
Is SOAP an HTTP?
6.3.
Is SOAP stateless or stateful?
6.4.
What are the main features of SOAP?
6.5.
What is extensibility in SOAP?
7.
Conclusion
Last Updated: Mar 27, 2024

SOAP Request in Katalon

Author Muskan Sharma
0 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction 

Hey Readers!!

We all have heard of SOAP while studying web services. SOAP stands for Simple Object Access Protocol. It is a messaging protocol in XML used to communicate among computers. 

In this article, you'll learn about SOAP requests.

While using the SOAP request in Katalon, the API responses for the server examination and troubleshooting.

Let's dive into the topic to learn more about it.

SOAP Request in Katalon

SOAP Request

SOAP Request helps you get the response from the API, so that you may examine it and troubleshoot any issues.

Now let's look at creating SOAP-based Request

Creating a SOAP-based Request

Follow these steps for Creating a SOAP-based Request:

  • Select File > New > Web Service Request from the main menu, 
  • To create a new SOAP object, choose SOAP from the Request Type list in the New Web Service Request dialogue and click OK.
Creating a SOAP-based Request​
  • Under Katalon Studio's Object Repository, a new request object is made.

Adding SOAP Request Details

You can see all the necessary details for a request object in the editor of the New Request object that has been opened.

Adding SOAP Request Details​

Request Method

The following SOAP methods are supported by Katalon Studio: SOAP, SOAP 1.2, POST, and GET. For a new SOAP request, Katalon automatically chooses the SOAP method.

Request Method​

WSDL URL

Enter the WSDL path from which the content is imported into this SOAP request by Katalon Studio.

WSDL URL​

Service Function

The function you want to apply in this SOAP request. When you load the Service Function, you'll see the different functions available in the Service Function.

Service Function​

You can give a different URL in Service Endpoint that points to the service endpoint you want to handle this request.

Service Endpoint

Request Authentication

In this, we'll see how to validate the client's authorization to send the request and carry out the endpoint activity and authenticate and authorize the request.

Request Headers

The information present in the header needs to be sent with the SOAP requests. The names in the Name cell are the Header Names, and if you want to add the names of your choice, add them to the Name Cell.

Request Headers​

Request Message

The information you want to send with this SOAP call. Click on the Load New Content of the Selected Service.

Request Message​

Response

Following the service request's transmission, Katalon Studio obtains a message from the server and presents it in the request's Response view.

  • Status: The response's status code
  • Elapsed: The period from the time the request is sent until Katalon Studio receives the final response byte.
  • Size: The response package's size.

Response Body

There are two formats: Pretty and Raw. Let's look at both of them:

  • Pretty format:
Pretty format

 

  • Raw Format:
Raw Format

Frequently Asked Questions

What is Rest API?

An application programming interface (API) that follows the constraints of the REST architectural style and allows communication with RESTful web services is known as a REST API.

Is SOAP an HTTP?

Several common protocols, like the Hypertext Transfer Protocol used for the web, can carry SOAP.

Is SOAP stateless or stateful?

Although SOAP is, by default, stateless, SOAP API can be made stateful.

What are the main features of SOAP?

The three main attributes of SOAP are independence, neutrality, and extensibility.

What is extensibility in SOAP?

An OutSystems extension called SOAP Extensibility gives you access to several server actions that use the SOAP Extensibility API to perform common extensibility use cases.

Conclusion

In this article, we have extensively discussed SOAP Requests in Katalon Studio. Creating, Adding SOAP Requests in katalon studio. In the end, we saw the Request Authentication and Responses. 

If you want to learn more deeply, check out the excellent content on the Coding Ninjas Website:

Sample API tests project in KatalonREST Request in KatalonIntroduction to Web Services Test Object in Katalon

For more content, Refer to our guided paths on Coding Ninjas Studio to upskill yourself. If you want to explore more, feel free to see our coursesinterview experiences, problems to solvetest serieslibraries, and resources

Thank You

Do upvote our blogs if you find them helpful!

Live masterclass