Para definir manualmente a versão HTTP para suas solicitações de monitoramento HTTP, adicione o código correspondente ao arquivo Preparar Script na guia Scripts da tela de configuração do destino HTTP:
HTTP/1.1 //%DotcomWebComment% HttpClient.HttpVersion = System.Net.HttpVersion.Version11; //%DotcomWebComment% HttpClient.VersionPolicy = System.Net.Http.HttpVersionPolicy.RequestVersionExact;
HTTP/2.0 //%DotcomWebComment% HttpClient.HttpVersion = System.Net.HttpVersion.Version20; //%DotcomWebComment% HttpClient.VersionPolicy = System.Net.Http.HttpVersionPolicy.RequestVersionExact;
HTTP/3.0 //%DotcomWebComment% HttpClient.HttpVersion = System.Net.HttpVersion.Version30; //%DotcomWebComment% HttpClient.VersionPolicy = System.Net.Http.HttpVersionPolicy.RequestVersionExact;