I've received a Groovy Script from @nmrao for my project. It actually implements a workarround for project where you will have a lot of parameters to use. Parameters in ReadyAPI (I don't know if this it also the fact in soapui open source) are set generaly in the tab 'Projects' on the webservice itself. Now if you project grows, you can end up with 500 different parameters and unbelievable much combinations of testcases. That's a not done situation for a tester. @richie has already created an enhancement for this but for now we need a workarround to go on with.
So therefore the script.
I was looking at it and I was wondering how we could create assertions for a groovy script, so I started to look arround but I've noticed that apparently there are a lot of snippets for different purposes but mostly for soapui open source, as " is not a SOAP fault" doesn't exist in ReadyAPI.
Therefore my question:
How can I insert an assertion in groovy script to check wether the response of my Groovy Script is :
I hope to get some response already, so thanks for your time in advance.
Solved! Go to Solution.
No need to add separate assertions groovy script test step like other request test steps. Because, assertions can be added in side groovy script itself.
Wow, I didn't knew that! a days work? Yaks :-(
But thanks for the explanation Richie. I'll discuss that with my client on what is priority for now. Then I can indeed post several more little posts for each assertion.