Gatling version: 3.11.5 (must be up to date)
Gatling flavor: java kotlin scala javascript typescript
Gatling build tool: maven gradle sbt bundle npm
I read the guidelines and how to ask a question topics.
I provided a SSCCE (or at least, all information to help the community understand my topic)
I copied output I observe, and explain what I think should be.
Hi, dear Gatling team,
I’m trying to create uuidv4 in gatling js for unique request id. I’m existing crypto function in node, but got error: “The package “node:crypto” wasn’t found on the file system but is built into node. Are you trying to bundle for node? You can use “platform: ‘node’” to do that, which will remove this error.”. From this post: JS/TS SDK: node fs compatibility - Gatling (Open-Source) - Gatling, I understand that gatling js is using graal-js so that the node crypto cannot be used. Can I ask what’s the alternative solution to generate uuidv4 in gatling js, is there something like crypto in graal-js, thanks
Best,
Terence