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

Environment variable in path won't update #641

Closed
Bettelstab opened this issue Mar 4, 2020 · 2 comments
Closed

Environment variable in path won't update #641

Bettelstab opened this issue Mar 4, 2020 · 2 comments

Comments

@Bettelstab
Copy link

Bettelstab commented Mar 4, 2020

I would like to test different environments with the same set of requests. So I create an environment variable root (via environment management or pre-request) and use it in the request's path:
<<root>>/public/blogger
That works as expected, however, when I change root later on, the path is not updated. I would expect it to update.

Video: https://fashiontale.org/index.php/s/njZSJDrnj6qQqYM

As a quick fix, it's possible to just save the path again (programmatically). But I guess it would be nicer to store the raw path without variable replacement, which would also solve #642 .

Thanks for running this project, it's amazing what happened here in such a short time!

@Bettelstab
Copy link
Author

Bettelstab commented Mar 4, 2020

I just figured out that everything (including saving to collections) works as expected, if root is not set before it's used in the path.

@liyasthomas
Copy link
Member

I think this issue could be solved as #642 gets fixed. Closing this to track the issue #642.

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

2 participants