put values from properties to request body
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2019
03:20 AM
02-19-2019
03:20 AM
put values from properties to request body
Hi,
I'm trying to put value in rest request body from properties using groovy script. Can you please help
Thanks in advance
{
"user": {
"name": "${Properties#name}"
"account": "HSBC"
"Skill" : "BROKER"
}
}
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2019
03:52 AM
02-19-2019
03:52 AM
First execute Properties step and then the REST request(Drag Porperties to step 1 and then Request 1 to next step). The property expansion you have used is correct.
