Get Request


When I have the following script:

val httpProtocol = http

val scn = scenario(“GetApplication”)

Is a new connection for each get request being done, or it uses keep alive implicitly? If it uses keep alive can I make sure that the connection is closed after the end of session?

Thank you.

Jamie Tabone

I asked something similar some days ago but still waiting for answer…

By default (= if you don’t change the values in gatling.conf or if you don’t force a Connection request header):

  • keep alive is enabled

  • connection pools are per virtual user

  • the connection pool associated with a given virtual user is closed when the user is done

Ok. Thanks a lot. I will take that into consideration.