Hello,
I would like to be able to have an HTTP configuration for each of my scenarios. In gatling1 it was possible according to the documentation:
setUp(
scn.users(10).ramp(10).protocolConfig(httpConf1),
otherScn.users(5).ramp(20).protocolConfig(httpConf2)
)
But in Gatling2, protocols are configured in the setUp:
setUp(
scn.inject(ramp(10).over(10)),
otherScn.inject(ramp(5).over(20))).protocols(httpConf1) httpConf2 ?
So, is it still possible to have a configuration per scenario ?
Thanks
Currently not.
What’s your use case?
Hi,
I am using basically 2 things:
- I need different default headers and baseURL
- I am using disableClientSharing for one and not for the other
People in telecommunication, always doing weird stuff…
Anyone here with the same needs? I’m a bit reluctant to roll this back, so I’d like more feedback.
Thank you ! OK for a beer !
Otherwise, my use case is:
- one side with several users with their own connection modifying our REST server
- one side with a supervisor which has a connection pool and accesses what is created by users
That’s why I need to manage connections differently between scenarios.
In fact, I was asking the question to have something closer to the reality but I started my test with disableClientSharing for both scenarios which is a worst case for me. But now that the feature is there, I will try it.
Thank you again