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

Performance testing authorization not working when using vault #13396

Open
1 task done
josslzr opened this issue Jan 13, 2025 · 0 comments
Open
1 task done

Performance testing authorization not working when using vault #13396

josslzr opened this issue Jan 13, 2025 · 0 comments

Comments

@josslzr
Copy link

josslzr commented Jan 13, 2025

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

I tested out having the vault variable inside the authorization collection. This works while running individual requests or functional testing but it does not work while running performance testing. The token is not attached and the performance testing fails with 100% error rate. Tested this functionality with a collection variable and it works when doing so or having an static value.

Steps To Reproduce

  1. Add a new variable to the vault to store a token generated with your user.
  2. Select a collection and go to the authorization tab.
  3. Select Bearer Token and attach the value from the vault, {{vault:}}
  4. Run a single request to make sure the API works with authorization header.
  5. Open the runner select performance testing.
  6. 100% error rate due to missing token

Screenshots or Videos

No response

Operating System

macOS

Postman Version

11.27.3

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

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