The following code snippet show how we can set a POST parameter value in a testStep in soapui using groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//set sessionToken with jwt token to post request | |
testRunner.testCase.getTestStepByName("TestStep").testRequest.params.setPropertyValue('requestParameterName','requestParameterValue'); |
No comments:
Post a Comment