cancel
Showing results for 
Search instead for 
Did you mean: 

Can we add the json request body in serviceV when we create a new Virtual service using POST Method

Highlighted
Contributor

Can we add the json request body in serviceV when we create a new Virtual service using POST Method

 
1 REPLY
Community Hero

Re: Can we add the json request body in serviceV when we create a new Virtual service using POST Met

Hi,

 

If I got your question right, the only way that I found so far is:

-- switch to the Projects pane in ReadyAPI and select the request that you need;

-- In the Request Editor set value of the Media Type combo to 'application/json'. This will enable the edit field below where you can enter the data that you need.

 

Note, that request body and entered data are available from script during simulation (https://community.smartbear.com/t5/Service-Virtualization-Virtual/Extracting-value-from-requestBody-...)

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Watch a new Video
Top Kudoed Authors