As you know the groovy script and java script language is the soapui supported .but unfortunately Soapui's groovy editor had not provided a better editor to write the groovy script. there are two approaches you can take to write your own groovy scrip…
https://support.smartbear.com/readyapi/docs/soapui/steps/groovy.html Get test case object To obtain the object which refers to the containing test case, use the following code snippet: Groovy def case = testRunner.testCase; By using the testCase …
1. Run special step: testRunner.runTestStepByName("stepName/requestName") get it's response: testRunner.testCase.testSteps["stepName/requestName"].testRequest.response 2.Set property def setProperties(Name,Value,Place) { name = Name; t…
Array: def x = new String[5] x[0] = "India" x[1] = "USA" x[2] = "Korea" x[3] = "Japan" x[4] = "China" log.info "Size of list is " + x.size() log.info "The first item in list is : "+x[0]…