cancel
Showing results for 
Search instead for 
Did you mean: 

put values from properties to request body

SOLVED
New Contributor

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"
  }
}

 

ss.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Leader

Re: put values from properties to request body

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.

1 REPLY 1
Highlighted
Community Leader

Re: put values from properties to request body

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.

New Here?
Join us and watch the welcome video:
Watch the new interview
Top Kudoed Authors