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

Cannot Run Collection with Token saved as setEnvVar #2512

Closed
2 tasks done
hananthrao opened this issue Jun 25, 2024 · 1 comment
Closed
2 tasks done

Cannot Run Collection with Token saved as setEnvVar #2512

hananthrao opened this issue Jun 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hananthrao
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

I am a non technical tester using Bruno for the first time.

I want to Run a collection of APIs. I have a Seperate GetToken call using which I generate Token, save the Token jwt value as a EnvVar using Post Response Script.

If I run the individual APIs in the Collection folder, everything works fine. But if I run a Collection, only the first API from collections Passes the token, second API onwards it calls Null Token value and I get 403.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

First API - 200 Response
Uploading image.png…

Second API onwards - 403
Uploading image.png…

@hananthrao hananthrao added the bug Something isn't working label Jun 25, 2024
@helloanoop
Copy link
Contributor

@hananthrao Closing this issues as it is closely related to #2160

Can you add any additional comments you have at #2160

Thanks,
Anoop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants