-
Notifications
You must be signed in to change notification settings - Fork 38
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
Issue when referencing request by @name in multiple files #508
Comments
@Nick-Palacio I could not reproduce it currently. I have used the following files
All requests were executed successfully using |
Apologies @AnWeber, I've updated the steps to reproduce above with the correct setup to trigger this issue. Let me know if you are able to reproduce now. |
Yes, thank you. So it makes sense and I can reproduce it. The cause was a missing mapping that the file was also imported in |
fixed with v6.6.3 |
Hello,
I am seeing an issue where if I try to reference the same request by name in multiple files, whatever file is run after the first one fails to reference that request with an error
ref {myNamedRequest} not found
.Steps to reproduce:
./setupFile.http
./setupFile2.http
./test.http
httpyac send ./*.http --all
ref json not found
My use case here is that I have separate HTTP files that do some setup for a suite of integration tests, one that gets an access token and one that creates some test data for the test. Both need to set variables that can be used by the other test files so I was trying to add a @ref metadata to both setup requests in my test files which led me to this issue.
The text was updated successfully, but these errors were encountered: