Forum Discussion
Hi Sandyapitester,
You need to use the Property Transfer test step to move the value. Please read this article for more information:
http://readyapi.smartbear.com/structure/steps/property/transfer/intro/step
If you want to get the last element from a collection, the last() function should help you. Refer to this article to learn the list of JSONPath functions: http://goessner.net/articles/JsonPath/
Sure thx for the help...
- Sandyapitester9 years agoFrequent Contributor
Tanya,
Awesome sharing..
but am facing some issue like
if am passing the below syntax in Property transfer am able to get the last value
$[1]..versionNumber[-1:].versionNumber
but below the versionNumber property transfer value has open and close brackets like []
[0000-000-000-0000-0000000000000]if am passing the same property value in my API request query parameter, it's passing with open and close brackets []
issue is need to pass the value without open and close brackets []
It's possible, please guide me if am wrong anywhere...