cancel
Showing results for 
Search instead for 
Did you mean: 

Replacing variables in the request body directly for json application

Highlighted
Occasional Contributor

Replacing variables in the request body directly for json application

Hi I am trying to parameterize values directly to the body of the message instead of doing the select variable  and selecting the from the variable list. I tried something like {"docId":"idnumber::@getnumber"} where 'getnumber' is my defined variable. If i use that in the request body directly, it is not converting it. Can anyone help?

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
The new challenge is here!

Create a script to сhange an XPath Match assertion to a JSONPath Match assertion for the TechCorner tag!


Scripts created in July:
- A script to generate an email when an assertion fails
- A script to change the request body before sending it to the server