Hi,
I am new to gatling…In my code I did like this…
.feed(csv(“users100.csv”))
.exec( session => {
val cats=Map(“id”->1,“title”->“Scala”).toString()
session.set(“category”,result)
println( “Details…:” +session)
session
})
And in my post request I want to post that stringy value cats…So I gave like this…
.formParam(“category”, “${cats}”)
And in the console it is giving error like this…
[ERROR] i.g.h.a.HttpRequestAction - No attribute named ‘cats’ is defined
How to do???please help me…
And what that session represents???Is it return value???And please help with this code…
Thanks