The 2nd REST call sets the test score for a specified test as pass or fail
How do I extract the "selenium_test_id" from REST call #1 and add the extracted text to REST call #2 to set the test score based on the pass/fail result in Katalon studio?
How do I get the status (pass / Fail) of a test case in Katalon studio after it has run?
My aim is to run a test in Katalon studio using CrossBrowserTesting as my device hub, Once the test completes in katalon i would like to check the status pass / fail and update Cross browser testing with a pass / fail based on the status from Katalon.
I added the following code inside a new test case, and then call the test case in my main test def responseData = WS.sendRequest(findTestObject('List Selenium Test History')) def slurper = new groovy.json.JsonSlurper() def result = slurper.parseText(responseData.getResponseBodyContent()) println(result.selenium_id)
When debugging through the code response data has error 500 but when I run the web service in the objects in katalon it works and I get a result.