API Testing in Katalon Studio – POST request and verify

In our last post, we discussed how to work with Katalon Studio GET operation and understand how to work with Katalon studio API Testing. In this video, we will discuss how to work with PUT request of API using Katalon studio.

In this post, we will discuss following

  1. POST operation with Katalon Studio via Object Repository (UI)
  2. Understanding the passing of body via Katalon Studio
  3. Calling the POST and passing the body via Script
  4. Catching exception to see if we make any mistakes while calling
  5. Check the POST operation by an GET
  6. GET via Parameter for exact POST
  7. Verify the element and other objects of JSON response body

Here is the complete video of the above discussion

Here is the complete source code of the above video discussion

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

3 comments

  1. anuradha says:

    hi Karteek, Greetings.
    I am trying to automate SOAP web service in Katalon Studio. For the wsdl which i have configured, i am able to see all the methods once i click on Load from WSDL button and added all required headers and request body with token and other values. But i am getting below error .
    and Proxy Option selected as No Proxy under preferences. Please find the below stack trace.
    Any help?

    (Stack trace: com.kms.katalon.core.webservice.exception.WebServiceException: No service operation was found
    at com.kms.katalon.core.webservice.common.SoapClient.parseService(SoapClient.java:112)
    at com.kms.katalon.core.webservice.common.SoapClient.lookForService(SoapClient.java:98)
    at com.kms.katalon.core.webservice.common.SoapClient.parseWsdl(SoapClient.java:85)
    at com.kms.katalon.core.webservice.common.SoapClient.send(SoapClient.java:143)
    at com.kms.katalon.controller.WebServiceController.sendRequest(WebServiceController.java:37)
    at com.kms.katalon.composer.webservice.parts.SoapServicePart$4.run(SoapServicePart.java:222)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
    )

    Thanks in Advance.
    Regards,
    Anuradha

Leave a Reply

Your email address will not be published. Required fields are marked *