I have a soap test Project in SoapUI. I have added all the requests as test steps in a test suite.
I need that the WSDL definition gets updated and requests get recreated (while keeping existing values) every-time i start the test.
I need help to do this process automatically with help of a groovy script that can be placed inside the project and runs every-time before execution starts.
If you have an updated wsdl file in hand, then you use UpdateWSDLDefinition.groovy script to update the service interface & test requests of test case of the project. .
Got it working now.. Here is the complete code..
Hope this helps others looking for similar solution.
I got way to update definition through goovy script. The below script will update the wsdl definition. Now i need a script to recreate all my request based on the updated schema.
==============================================================
Need a script now to recreate all request based on updated schema (with keep existing values)