Forum Discussion

plaidshirt's avatar
plaidshirt
Contributor
6 years ago

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

  • avidCoder's avatar
    avidCoder
    Super Contributor

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