Search code examples
scalagatling

I am new to Gatling Tool. how do we coorelation and parametrization in gatling tool?


I am new to Gatling Tool. how do we coorelation and parametrization in gatling tool. How csv data read in gattling.


Solution

  • In example login with different users:

    scenario("JustLogin").feed(csv("users.csv"))
    .exec(http("Login").post("https://app.under.test.com/login")
      .header("Referer", "https://app.under.test.com/login")
      .formParam("username", "${Username}")
      .formParam("password", "${Password}")
    )