HTTP/2 settings can be configured in the
Profile Settings.
-
In the menu, click
.
-
HTTP/2 is disabled by default. To enable it, set the
Preferred HTTP version to
HTTP/2.
Note: Make sure you select a
Browser that supports HTTP/2. To find out which HTTP version a certain browser supports, click
Details and read the
Supported HTTP version. Most current browsers do support HTTP/2.
-
Allow fallback to HTTP/1.1: You can allow a virtual user to continue with HTTP/1.1 in case the server under test does not support HTTP/2. If the fallback
is allowed and actually applied during a test, an informational message will display for each affected server. If the fallback
is not allowed, an error message will display.
-
Allow server push: You can allow an HTTP/2 server to push resources to the client without an explicit request from the client. If server push
is allowed but the server under test does not support the push feature, a warning will display.
You can also configure these settings in the BDL script using the WebSetOption Function. Note that the settings defined
in the BDL script override the options defined in the profile settings.