Querry parameter to pass in response
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2019
05:20 AM
03-25-2019
05:20 AM
Querry parameter to pass in response
http://localhost:8003/getspell?check=ram
i want to pass what ever value coming in check as my default repsonse
i tried ${#MockService#check}
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2019
01:57 AM
03-26-2019
01:57 AM
Hi @venkatayedida,
I think the reply given here will help you:
In a groovy script TestStep you can grab the response data from a Request TestStep using the "Get Data" menu.
https://support.smartbear.com/readyapi/docs/testing/properties/get-data.html
Then you can parse/modify the response as needed and pass it into a TestCase property through the following line:
context.testCase.setPropertyValue("Property Name","Property Value");
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
