Question
\’Add REST parameter using local variable from Variables tab\’ RequestObject request = findTestObject(\’logout\’) for (TestObjectProperty header: request.getHttpHeaderProperties()) { println(header.getName()) if (\”AccessToken\”.equals(header.getName())) { header.setValue(GlobalVariable.UserToken); break; } } ERROR: 08-10-2017 05:13:00 PM – [FAILED] – Unable to send request (Root cause: java.lang.NullPointerException) 08-10-2017 05:13:00 ...
in progress 0
Others deepa 2 Answer 52 views

Question
Hello, there I’d like to send some information through ‘Rest API’ to other system after test cases success or fail. So I coded a system using TearDownIfPassed/TearDownIfFail function to call ‘Rest APi’ and to receive a name of browser in its ...
in progress 0
How to sangmook.kim 3 Answer 100 views

Question
I wanted to check for the presence of a string in Restful API response. I did this def response = WS.sendRequest(findTestObject(‘Get Status’)) responseText = response.getResponseText() WS.containsString(response, “completed”, true) I got the following error Test Cases/Get Status FAILED because (of) Unable to check contain string (Root cause: ...
in progress 0
Execution manistar@gmail.com 1 Answer 89 views

Question
Good Day I would like to edit my parameters and PUT URL before sending my REST call. The code I currently have for editing my parameters: import com.kms.katalon.core.testobject.ResponseObject import com.kms.katalon.core.testobject.RequestObject import org.json.JSONObject RequestObject request = findTestObject('Set Test ...
solved 0
How to Deane 8 Answer 201 views

Question
I am connected to my office network and trying to WADL file . It says cannot connect to webservice Should i change any of the settings when i connect to office domain? Is WADL not supported only WSDL ...
in progress 0
Test Artifacts Subbarayudu 2 Answer 105 views

Question
Hi guys,   Currently I need to validate the JSON that I get from a webservice / API using schema. Is there any built in way to do this?   Or can I add external library such as https://github.com/alexdeleon/groovy-json-schema to do what I want?   Any help ...
0
How to Aqid 0 Answer 96 views

Question
Confirm email received I have to confirm that an email was sent after specific events. I can browse to gmail and fetch that way, but would prefer to use imap or rest api to do that. Any help or direction will be appreciated ...
solved 0
How to Kotie 3 Answer 116 views

Question
Hi I’ve created a web service request in the Object repository that calls an endpoint and returns a list of selenium tests that ran on CrossBrowserTesting.com When testing the request in Katalon by clicking on the test request button I receive a response ...
solved 0
Others Deane 10 Answer 334 views

Question
I have created 2 RESTful service requests in the object repository REST call #1 (GET) This gets a list of tests run on my account for CrossBrowserTesting.com. The response contains a test_id for each test. selenium_test_id”: 7746595 Rest call #2 (PUT ) https://crossbrowsertesting.com/api/v3/selenium/”selenium_test_id” The 2nd REST call ...
solved 0
How to Deane 5 Answer 152 views