HTTP 1.1 stress test steps (#41592)
authorAlexander Nikolaev <55398552+alnikola@users.noreply.github.com>
Mon, 31 Aug 2020 16:31:08 +0000 (18:31 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Aug 2020 16:31:08 +0000 (18:31 +0200)
Adds HTTP 1.1 steps to http-stress pipeline.

eng/pipelines/libraries/stress/http.yml

index ddf8a56..88dbf42 100644 (file)
@@ -45,8 +45,17 @@ jobs:
   
   - bash: |
       cd '$(httpStressProject)'
+      export HTTPSTRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 2.0"
+      export HTTPSTRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 2.0"
       docker-compose up --abort-on-container-exit --no-color
-    displayName: Run HttpStress
+    displayName: Run HttpStress - HTTP/2
+
+  - bash: |
+      cd '$(httpStressProject)'
+      export HTTPSTRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 1.1"
+      export HTTPSTRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 1.1"
+      docker-compose up --abort-on-container-exit --no-color
+    displayName: Run HttpStress - HTTP 1.1
 
 - job: windows
   displayName: Docker NanoServer
@@ -71,5 +80,14 @@ jobs:
   
   - powershell: |
       cd '$(httpStressProject)'
+      $env:HTTPSTRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 2.0"
+      $env:HTTPSTRESS_SERVER_ARGS = "$env:HTTPSTRESS_SERVER_ARGS -http 2.0"
+      docker-compose up --abort-on-container-exit --no-color
+    displayName: Run HttpStress - HTTP 2.0
+  
+  - powershell: |
+      cd '$(httpStressProject)'
+      $env:HTTPSTRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 1.1"
+      $env:HTTPSTRESS_SERVER_ARGS = "$env:HTTPSTRESS_SERVER_ARGS -http 1.1"
       docker-compose up --abort-on-container-exit --no-color
-    displayName: Run HttpStress
+    displayName: Run HttpStress - HTTP 1.1