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
atob is technically a web API and therefore not part of the JS ECMAScript2015 / ES6 standard/built-in functions, which is what is at your disposal with k6 JavaScript.
Here's a working example, using our own k6/encoding library to perform the base64-decoding:
https://stackoverflow.com/questions/46767543/jwt-signing-with-k6/46785899#46785899
https://community.k6.io/t/is-there-a-simple-way-to-sign-http-requests-with-jws/1743/2
https://gist.github.com/robingustafsson/7dd6463d85efdddbb0e4bcd3ecc706e1
From Slack:
Krzysztof Widera: you can check the content https://jwt.io/ or:
@tom-miseur wrote:
atob is technically a web API and therefore not part of the JS ECMAScript2015 / ES6 standard/built-in functions, which is what is at your disposal with k6 JavaScript.
Here's a working example, using our own k6/encoding library to perform the base64-decoding:
The text was updated successfully, but these errors were encountered: