Forum Discussion
ChrisA
9 years agoContributor
Hi Bill,
Thank you. These are just the sorts of things I use Groovy for too. IMHO, it's the ability to script where there isn't a standard step that makes SoapUI so powerful.
Chris
nmrao
9 years agoCommunity Hero
ChrisA,
SoapUI provides user to utilize the power of groovy within the tool.
Generally, I put the groovy scripts related to SoapUI in my github repot, may be it is possible to refer in case if there is a need.
https://github.com/nmrao/soapUIGroovyScripts
Of course, you can search for similar questions here in this forum or stackoverflow as well.
SoapUI provides user to utilize the power of groovy within the tool.
Generally, I put the groovy scripts related to SoapUI in my github repot, may be it is possible to refer in case if there is a need.
https://github.com/nmrao/soapUIGroovyScripts
Of course, you can search for similar questions here in this forum or stackoverflow as well.
- ChrisA9 years agoContributor
Hi,
Agreed. When I first started using SoapUI and more specifically, Groovy scripting, my scripts tended to be script assertions.
The script assertion would contain Groovy that I copied and pasted to other tests. It didn't take long for this to become unmanageable, so I then started creating external classes that sit in the bin/scripts folder of SoapUi. The script assertion only then needs to create an object from the class and run the main method.