-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can not use atob function because of different built-in libraries #86
Comments
hi @fourcolor, Do I understand correctly, that you want to add the atob() function when it is detected in the Postman collection? Do you have an example of a Postman collection where you used the atob function? |
|
hi @fourcolor Picking this up again. So your postman post-request script looks like this:
How do your work-around K6 generated script looks like? Based on your input, we create some additional logic to use the k6/encoding instead of the crypto-js ATOB. |
hi @fourcolor We just released version 1.13.0 which contains an atob implementation using the K6 provided b64decode function. |
I use many atob function in my postman collection; indeed, it not work in k6 script. However I found that I can easily fix it by using the k6/encoding module.
I want to ask is there any plan to support this kind of problem?
e.g. crypto-js -> k6/crypto
The text was updated successfully, but these errors were encountered: