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

Header templating doesn't work when simulation has a header matcher #946

Closed
tommysitu opened this issue Aug 30, 2020 · 1 comment
Closed
Labels

Comments

@tommysitu
Copy link
Member

Noticed a very likely related bug in templating:

If I have a "headers" matcher in my simulation, e.g.:

          "headers": {
            "Authorization": [
              {
                "matcher": "glob",
                "value": "Bearer test-*"
              }
            ]
          }

then in the response body a {{ Request.Header.Authorization }} returns an empty string. But if I remove the request "headers" matcher, I get the correct value printed to the response. @tommysitu

Originally posted by @ttiurani in #944 (comment)

@tommysitu
Copy link
Member Author

resolved

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

No branches or pull requests

1 participant