Skip to content

Add a section for Login examples #990

Open
@immavalls

Description

@immavalls

Based on the older https://stackoverflow.com/questions/69016260/is-there-any-way-to-rerun-the-setup-step-every-few-minutes-in-a-long-duration-te I was thinking we could provide an example similar to https://community.k6.io/t/caching-access-tokens/5508/3. To showcase what happens if the authorization token has a short expiration.

Add what we need to do to update the token being used by that VU if a request returns a 403, to continue the iterations. I've seen some users having doubts that they could do that.

What can't be done is update the token for all VUs. However, if each VU gets its own token, we can also update it if it expires.

Would that be a useful example? If not we can just close this issue. Opening for feedback.

Metadata

Metadata

Assignees

Labels

examplesIssues about a missing example

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions