I’m very new to Gatling. I’m currently working on a POC for Gatling and am working scripting a performance test for a dummy site.
I have no way of determining the number of keys and values, they are randomly generated. The ‘multivaluedFormParam’ function does not support a list in the key argument, but I have added a list as a key param to try to illustrate what I am trying to achieve.
I have added the code below:
.exec(http(“Step 15”)
.post("/training/?step=15")
.headers(headers_0)
.multivaluedFormParam("${paramList}", “${valueList}”)
.resources(http(“request_21”)
.get(uri1 + “/wp-includes/js/wp-emoji-release.min.js?ver=4.3.1”)
.headers(headers_1)
.check(status.in(200 to 304)))
.check(regex(“Correlation Challenge Completed”))
)
.pause(5)
Is there anything inbuilt already to support this? Any help is appreciated.