I’ve create a custom feeder that is nearly identical with the one from the wiki (https://github.com/excilys/gatling/wiki/Feeders#wiki-custom) and am attempting to create dynamic tests that do not rely on a CSV. The email value is identical to the wiki and is mapped
emails are generated and mapped the same way as in the example:
val email = scala.math.abs(java.util.UUID.randomUUID.getMostSignificantBits) + "_gatling@dontsend.com"
When I try to run the tests, the params come through as follows:
email:$(email) password:$(password) … etc
My scenario is as follows:
val scn = scenario(“Scenario Name”)
.feed(customFeeder)
.exec(
http(“request_1”)
.post("/service")
.headers(headers_1)
.param(“email”, “$(email)”)
.param(“username”, “$(username)”)
.param(“password”, “$(password)”)
)
How do I get the generated params from my feeder?