Forum Discussion
bagochips
7 years agoContributor
unless I am totally missing your question I would say that all you need to do is add ${Groovy Script#result} to your JSON input for the parameter you are needing to put the airport value. Then every time it loops through it would add the next airport value.
- ghosh7 years agoNew Contributor
I have added this ${Groovy Script#result} in my JSON request body, but not working
- bagochips7 years agoContributor
is the name of your step that your groovy code is in named "Groovy Script"? If so then it should pull the result from that step and put it into your JSON. If it is named something else then you need to update ${Groovy Script#result} to reflect then name ${<step name>#result}
Related Content
- 8 months ago
Recent Discussions
- 15 years ago