cancel
Showing results for 
Search instead for 
Did you mean: 

put values from properties to request body

SOLVED
Highlighted
Occasional 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
Super Contributor

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.

View solution in original post

1 REPLY 1
Super Contributor

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.

View solution in original post

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