Contributions
Re: how to transfer property from post response to a json body in post request in ready api
Thanks Rao5 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.1KViews0likes0CommentsRe: how to transfer property from post response to a json body in post request in ready api
Approaches Tried I tried the following: created a property at the testsuite level to call in the test step created Property Transfer step (tried diff syntax for property expansion) created Properties step 1 st Request – create_authCode Header Client Customer_facing_tool Interation_ID Body { "emailAddress" : "xxx.xxx@xxx.com" } 1 st Response – create_authCode { "authCode" : "911284" } 2 nd Request – validate_authCode Header Client Customer_facing_tool Interation_ID Body { "authCode" : "${#create_authcode#authCode}", "emailAddress" : "xxx.xxx@xxx.com" }5 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.2KViews0likes4Commentshow to transfer property from post response to a json body in post request in ready api
I have a Rest Service which has Post methods. I have 2 testcases in a test suite. From the first testcase, I need to get a property from the JSON response and pass it to the 2 nd testcase into the JSON body of the request. I have tried a couple of different ways to set this up but have been unsuccessful.Solved4.2KViews0likes6Comments