Index: tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
index 70aa55bcb8b23683cdd8da9db9d8b25a915e5ed1..05f43a175af74ec264c8791f0cd9722093c1f756 100644 |
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_benchmark.py |
@@ -25,6 +25,20 @@ class ChromeProxyBypassOnTimeout(ChromeProxyBenchmark): |
def Name(cls): |
return 'chrome_proxy_benchmark.timeout_bypass.timeout_bypass' |
+class ChromeProxyBadHTTPSFallback(ChromeProxyBenchmark): |
+ """Check that the client falls back to HTTP on bad HTTPS response. |
+ |
+ If the HTTPS proxy responds with a bad response code (like 500) then the |
+ client should fallback to HTTP. |
+ """ |
+ tag = 'badhttps_bypass' |
+ test = measurements.ChromeProxyBadHTTPSFallback |
+ page_set = pagesets.SyntheticStorySet |
+ |
+ @classmethod |
+ def Name(cls): |
+ return 'chrome_proxy_benchmark.badhttps_fallback.badhttps_fallback' |
+ |
class ChromeProxyClientType(ChromeProxyBenchmark): |
tag = 'client_type' |
test = measurements.ChromeProxyClientType |