-
Notifications
You must be signed in to change notification settings - Fork 50
Object.setPrototypeOf() unavailable #43
Comments
Ran a bundling of each dependency to narrow it down. These libraries show the issue:
All the rest are fine. |
A little testing shows this seems to work with a polyfill. xml2js loads and parses successfully. Going to polish this into a patch soon. |
I can still see the issue happening. When trying to run the converted Postman collection, I get this:
|
@danni-popova Are you seeing this in a version of the converter based on |
Great! Looking forward to the release |
@danni-popova A new release, v0.3.1, has now been published to npm. Let us know if your issue persists after updating. |
The result now is that I always get a message saying: |
Hi @danni-popova. I could have a look at this. Is the collection something you could post? |
Here's the generated file. I've manually replaced the values in it, otherwise they are written directly in the script and not actually from an environment. The collection runs without a problem in Postman. |
Thanks @danni-popova. I confirm I see the same error. Will investigate. Opened #46 to track this. |
Some dependencies modify prototypes. Since the k6 JavaScript environment doesn't provide
Object.setPrototypeOf()
, loading fails for these libraries.Find a solution.
The text was updated successfully, but these errors were encountered: