You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
The Auth(config, Var) part is properly generated but It seem that the setup() part to get a Oauth2 token is not generated in the script.js file? Is this missing due to a bug or not supported?
Due to the inability to properly support this project, the k6 team has decided not to continue its development. The primary reason is that k6 scope has grown significantly with the launch of k6 extensions. The team is prioritizing extending k6 capabilities over the converters.
We suggest you post your issue at api-deck/postman-to-k6. The project is active and maintained on this fork.
I'm trying to get the Oauth2 working based on the auth elements in the Postman collections (https://blog.postman.com/collaborating-oauth-postman/).
Looking at the https://k6.io/blog/how-to-load-test-oauth-secured-apis-with-k6/ flow, this happens best in the setup() function.
The Auth(config, Var) part is properly generated but It seem that the setup() part to get a Oauth2 token is not generated in the script.js file? Is this missing due to a bug or not supported?
Auth Part of the example postman collection:
Part of the generated script.js
The text was updated successfully, but these errors were encountered: