Forum Discussion
- SmartBear_SuppoSmartBear Alumni (Retired)Hello,
yes, you should be able to simply use testRunner context variable like:
testRunner.runTestStepByName("my-test-step-name")
Entire API is available here - http://www.soapui.org/apidocs/com/eviwa ... unner.html
but for simple existing examples you can refer to http://www.soapui.org/Scripting-Propert ... ricks.html
Hope this helps!
Vladimir,
SmartBear Sweden - Rhonda_WardOccasional ContributorSorry I was not clear in my post. I want to construct HTTP post request using groovy and then execute it. Can you please provide me the example?
Between, I did try HTTPBuilder class but was not able to execute the script successfully. - SmartBear_SuppoSmartBear Alumni (Retired)Hi,
For this you would need to use a third party http library for Java or Groovy (HTTPBuilder being one alternative). For support on using a third party library, please refer to that library's support options.
Please note that soapUI currently does not support the Grape dependency loader mechanism. Any external library (and its dependencies) will have to be manually placed in the bin\ext directory of your soapUI installation.
Regards,
Dain
SmartBear Sweden
Related Content
- 2 years ago
- 6 years ago
Recent Discussions
- 2 days ago