Ask a Question

put values from properties to request body

SOLVED
dc_29_iib
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 REPLY 1
avidCoder
Super Contributor

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.

cancel
Showing results for 
Search instead for 
Did you mean: