sukanya
7 years agoContributor
SoapUI Pro
Hi, How can I run a request using groovy script without using testRunner.runTestStepByName("Request"). Is there any other alternate way? Thanks
Two Ways I am providing here depending upon your requirement you can pick any.
First way:
def tsbus=testRunner.testCase.testSuite.testCases["Business"]
tsbus.getTestStepByName("PortPsVerification").run(testRunner, context)
Second Way:
testRunner.runTestStep(pro.testSuites['Project Scripts'].testCases['Project Scripts'].testSteps['Soap Request Execution and Validation'])
I hope this is what you are looking for
Thanks,
Himanshu