Wednesday, October 1, 2014

Soap UI Groovy Set POST Parameter

The following code snippet show how we can set a POST parameter value in a testStep in soapui using groovy


//set sessionToken with jwt token to post request
testRunner.testCase.getTestStepByName("TestStep").testRequest.params.setPropertyValue('requestParameterName','requestParameterValue');

No comments:

Post a Comment