Site Loader
Auckland, New Zealand
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

Post Author: Karthik kk

4 Replies to “API Testing in Katalon Studio – POST request and verify”

  1. 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(
    at com.kms.katalon.core.webservice.common.SoapClient.lookForService(
    at com.kms.katalon.core.webservice.common.SoapClient.parseWsdl(
    at com.kms.katalon.core.webservice.common.SoapClient.send(
    at com.kms.katalon.controller.WebServiceController.sendRequest(
    at org.eclipse.jface.operation.ModalContext$

    Thanks in Advance.

  2. Hi,

    I am just trying post request with below payload. But in response, I am getting Unexpected token o in JSON at position 1 error

    My Payload:
    {“panel_id”: “12345,”recipe_timer_number”: “0”,”timer”:{“name”:”Example Recipe Timer”,”description”:”This is an example recipe timer object using day of week”,”from”:{“hours”:9,”minutes”:0,”day”:”Monday”},”to”:{“hours”:17,”minutes”:30,”day”:”Monday”}},”is_test”: “0”}

    Please suggest

Leave a Reply

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