

This means that on a single connection, you are able to send multiple requests, without waiting for the responses,Īnd receive these responses in whatever order. One of the main purpose of HTTP/2 is to support multiplexing. Next time you use that remote with the same user, if Gatling knows that your remote doesn’t support HTTP/2, it won’t try again and therefore won’t use ALPN.


There is no specific code to add in the middle of your requests. If your remote supports HTTP/2, Gatling will use the protocol, and fall back to HTTP/1 otherwise. When HTTP/2 is enabled, Gatling will try to connect to your remotes using HTTP/2 through the ALPN protocol.
