Forum Discussion

subhaD's avatar
5 years ago

Groovy: Changing resource path for diff environments using readyapi 2.6.0

I have 3 environments, two have different endpoint , but same resource path , ao am using environments for this

But 3rd environemnt has a different endpoint and different resource path.

Please help with some groovy script to update thie resource path based on environment name.


I am hoping to add it in events, projectRunListener.beforeRun

3 Replies