Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for setting variables based on response data #207

Open
sarumont opened this issue Oct 1, 2021 · 0 comments
Open

Support for setting variables based on response data #207

sarumont opened this issue Oct 1, 2021 · 0 comments

Comments

@sarumont
Copy link

sarumont commented Oct 1, 2021

It would be nice to be able to set variables for a future request (or cd to a path) based on the previous response data. Something like JSONpath syntax would be simple yet effective:

Response body:

{
  "id": "17f96808-886a-452e-bbc7-956d27c6cd9d",
  ...
}

> fooId=$.id

> cd $.id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant