Forum Discussion
There are a couple of ways depending on your preferred method of working:
1) You could use a Property Expansion within your other request, to reference a groovy test step result, it will look something like ${Groovy Script#result} where "Groovy Script" is the name of the test step. From within your other step you should be able to use the Get Data point and click functionality function to construct the property expansion for you.
2) You could put a property transfer test step between the Groovy Script test step and you other request test step.
3) You could set the data directly from the Groovy script.
My personal preference is number 2, the property transfer step, as it make it very obvious what is going on and where the data is coming from and going to.
Related Content
- 10 months ago
Recent Discussions
- 20 days ago