1

This is my first post to stackoverflow I have started using Karate from 1 month Scenario API1 gives output with below values Authid Callbackvalue Getcaptchavalue

  • authid = response.authid

Now i need to use this authid in next api POST request json

Example request

Data { authid : hdjsjenegekkwh, Callbackvalue : anyvalue Getcaptchatoken : hardcoded token}}

How to update response field authid from api1 to json request api2 (which i am storing in a .json file and reading in scenario 2 for api2)

Rest all values can remain same .

Need to just update 2 fields in json request authid and getcaptchatoken

Let me know if it clears else i will update the example.

  • Issue resolved after writing below code * replace authenticateRecaptchaPayload | token | value | | ${authId} | authId | | ${googleTokenID} | googleTokenID| * json authenticateRecaptchaRequest = authenticateRecaptchaPayload – Pracs Flicks Jul 29 '20 at 11:18

0 Answers0