Sunday, November 23, 2014

Groovy Script to transfer Property in SoapUI

// get request property
def request = testRunner.testCase.getTestStepByName( "teststepname" )
def property = request.getProperty( "request" )

// set request property
request = testRunner.testCase.getTestStepByName( "newteststep" )
request.getProperty("request").setValue(property.getValue())

No comments:

Post a Comment