Ask a Question

Execute Groovy scripts after SOAP request in SoapUI

plaidshirt
Contributor

Execute Groovy scripts after SOAP request in SoapUI

I execute a script from a Groovy script in SoapUI project.

def tCase = testRunner.testCase.testSuite.testCases["TC1"]
def tStep = tCase.testSteps["attachIt"]
tStep.run(testRunner, context)

There is another loop in this script, which is to execute a SOAP request. After that two more Groovyscripts should be executed to process output. These are in same testcase after SOAP request step, but aren't executed automatically.

1 REPLY 1
avidCoder
Super Contributor

What do you want to achieve? Couldn't understand the whole context. Please elaborate the use-cases..

cancel
Showing results for 
Search instead for 
Did you mean: