Hi,
I have three post requests in which there are around 10-12 parameters.
In all of them only the values of two parameters change and rest all remain the same.
Each chain looks like this -
val chain_x = exec(http(“first”)
.post(“http://www.xyz.com”)
.param(“para1”, val1)
.param(“para2”, val2) . . . . . and so on
Do I need to declare each one three times because it makes the code redundant?
Is there a way to copy a chain into another and then add the different parameters after that?
Ok. I get the point of immutable builders. Can you show me an example of how to make a custom prototype.
A link from Gatling-wiki with basic info would also do.