Forum Discussion
JoostDG
Frequent Contributor
Hi apartamsetti .
I don't really see/understand the use case to do that... You want to: Given a certain condition execute either a POST or a GET?
Can't you then not define those POST & GET methods in your ReadyAPI "APIs" section and then in your test case perhaps use a script to execute "given condition X run test step "POST" else run test step "GET" "?
apartamsetti
2 years agoNew Contributor
Actually i defined Post Endpoint in API's and in the test case if i want to modify the verb to GET using groovy script is it possible? This is my one of my test scenario. Not sure i think it may not be possible to change the defined verb.
Thank you for your reply..
Related Content
Recent Discussions
- 11 hours agoKay