Forum Discussion
richie
5 years agoCommunity Hero
Hi asthay,
Why are you using a datasink to pass values onto subsequent steps?
Why not do the prop xfer to a Properties step? I don't use data sinks that often, but when ive used them before it tends to be as the final step in my test to save parm values. If im reusing parm values later on in a test, i either xfer the property values directly to the subsequent REST/SOAP steps or i save the parm values in a Properties step instead. Have you tried this approach?
Cheers
Rich
Why are you using a datasink to pass values onto subsequent steps?
Why not do the prop xfer to a Properties step? I don't use data sinks that often, but when ive used them before it tends to be as the final step in my test to save parm values. If im reusing parm values later on in a test, i either xfer the property values directly to the subsequent REST/SOAP steps or i save the parm values in a Properties step instead. Have you tried this approach?
Cheers
Rich
asthay
5 years agoNew 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.