How to pass authtoken dynamically from Post request's response to other post requests in ReadyAPITes
Did anyone try passing authtoken dynamically from one request to other requests in ReadyAPI? First request is a Post request. Need to pass authtoken from this post request response to other Post requests. It seems Property transfer is not working.
Please let me know.
Solved! Go to Solution.
@ramaG : Property transfer should work to transfer the auth code, could you please send any error screenshot
1 more thing you can do is write custom groovy code and add it either in new groovy Test Step or add it in script assertion.
Let me know if you need help in writing that stuff 🙂
Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓
Thanks and Regards,
Thank you. it worked. followed the code from here .https://stackoverflow.com/questions/34645069/trasfer-properties-from-api-responses-in-soapui
I understand that you can't share the any details (may be because of your policies), but it is difficult to suggest any without knowing the details.
In such cases, you can still show with different property names and values but the same structure.
Glad to know my answer on stakcoverflow helped. If you look at question and answer, there is some code details are provided in the answer based on the user provided response in the question.
If you look at the above replies, the same was told except the coding part.