Forum Discussion
4 Replies
- groovyguyChampion Level 1
There probably is, if you want to write one. Groovy can be very powerful and can do quite a bit of heavy lifting when it comes to assertions.
- LucianCommunity Hero
Hi, I may be able to help you. Could you post more info? (like an example test case/ example response/ what kind of assertions do you want to make etc)
- jcsreddyOccasional Contributor
Hi,
Thanks for your response.
I am attaching the request and response, and my objective is to ensure that 'Swagger Compliance Assertion' is passed.
For this I would need a groovy script.
Thanks,
Chandra.
- JoostDGFrequent Contributor
Hi,
I am also curious about this. What good is setting all the environment variables dynamically if the swagger test assertion can only point to one url (by design defined for one environment).
So having a groovy test step to work around this would be handy.
Thanks in advance.
edit: I did try of course to insert a project property into the url... to no avail...