Pass Parameters in Javascript

Gatling version: 3.11.2 (must be up to date)
Gatling flavor: java kotlin scala [*] javascript
Gatling build tool: maven gradle sbt bundle

[*] I read the guidelines and how to ask a question topics.

Hey folks. I’m using the new Javascript gatling library and I’m wondering if there is a way to pass parameters to the script. I’ve looked at the docs and the only examples are for Java/Kotlin/Scala. I attempted to copy the way it is outlined there but encountered an error when doing that.

1 Like

Hey,

So actually, this is something we’re currently working on for the next release, see [WIP] Add support for properties and environment variables by guilgaly · Pull Request #7 · gatling/gatling-js · GitHub.

It should be out by 2 weeks at most.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.