Forum Discussion
asthay
New Contributor
Hi Richie,
Thanks for your reply. I tried this approach also. But when I used groovy script to get those values it throws an error even though it loads all the values from property transfer and also when I tried to pass those values to DELETE API I wasn't able to load the values in that API. After that only I went with the approach to use data sink.
richie
5 years agoCommunity Hero
Hey asthay,
I wasnt suggesting using groovy (although its easy to do using groovy) as the native functionality (property expansion / prop transfer / Properties step handles) handles what you need to do without any problems.
If you tried with groovy and you publish the script i can have a look to see the problem?
Or replace your datasink step with Properties step as the datasink step is used to store data in files. I just double checked and the help makes no mention of using the properties created in a datasink step to reuse the properties, so im thinking yourr not using the datasink step im the way the help suggests.
Im typing this out on my phone so cant see your first post, but are you sure youre using a datasink mid test rather than a datasource step?
We arent really gonna be able to help much more without seeing your property transfers and requests and responses and logging.
Nice one
Rich
I wasnt suggesting using groovy (although its easy to do using groovy) as the native functionality (property expansion / prop transfer / Properties step handles) handles what you need to do without any problems.
If you tried with groovy and you publish the script i can have a look to see the problem?
Or replace your datasink step with Properties step as the datasink step is used to store data in files. I just double checked and the help makes no mention of using the properties created in a datasink step to reuse the properties, so im thinking yourr not using the datasink step im the way the help suggests.
Im typing this out on my phone so cant see your first post, but are you sure youre using a datasink mid test rather than a datasource step?
We arent really gonna be able to help much more without seeing your property transfers and requests and responses and logging.
Nice one
Rich
Related Content
- 5 years ago
- 5 years ago
- 5 years ago
Recent Discussions
- 22 days ago