Forum Discussion
TanyaYatskovska
SmartBear Alumni (Retired)
subhaD
5 years agoContributor
I have a first request that has the value 999999999 in a request tag
In my second request i have below value.
"reportDownloadUrls" : {
"999999999" : "/credit-report-download/1854/df0d2929"
}
To be able to parametrize 999999999 value i have below groovy.. and got stuck there, trying to pass variable instead of the number sicne the number can change
def URL = context.expand( '${2nd call#Response#$[\'data\'][\'resource\'][\'reportDownloadUrls\'][\'999999999\']}' )
Related Content
- 2 years agopstachelek
Recent Discussions
- 4 days agominhng