gurpreets
15 years agoOccasional Contributor
Property Transfer Using Groovy
Hi,
I am a newbie in Groovy Scripting. I need to do the following,.
Txt File -load--> Property (set of Values) --substitue--> Request
ie. get values from a text file and store it in a property. then transfer those values from property to the request. This way I just need to have a file and then run the groovy script, my test is automated.
I have the script to do the first part. Can you please guide me in doing the second part. ie, doing a property transfer of a set of values to my request using a Groovy script.
Thanks
Gurpreet
I am a newbie in Groovy Scripting. I need to do the following,.
Txt File -load--> Property (set of Values) --substitue--> Request
ie. get values from a text file and store it in a property. then transfer those values from property to the request. This way I just need to have a file and then run the groovy script, my test is automated.
I have the script to do the first part. Can you please guide me in doing the second part. ie, doing a property transfer of a set of values to my request using a Groovy script.
Thanks
Gurpreet