Skip to content

Commit d1beca6

Browse files
committed
add mismatch header
1 parent 8dda568 commit d1beca6

File tree

1 file changed

+39
-6
lines changed

1 file changed

+39
-6
lines changed

scenarios/rejection.benchmarks.yml

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
imports:
22
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
3-
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.HttpClient/httpclient.yml
43
- https://github.com/aspnet/Benchmarks/blob/main/scenarios/aspnet.profiles.yml?raw=true
54

65
variables:
@@ -49,27 +48,49 @@ scenarios:
4948
application:
5049
job: httpSysServer
5150
load:
52-
job: httpclient
51+
job: bombardier
5352
variables:
5453
path: /hello-world/%09
5554
presetHeaders: connectionclose
5655
connections: 32
5756
serverScheme: https
58-
sslProtocol: tls12
57+
58+
httpsys-header-symbols:
59+
application:
60+
job: httpSysServer
61+
load:
62+
job: bombardier
63+
variables:
64+
path: /hello-world
65+
connections: 32
66+
serverScheme: https
67+
customHeaders:
68+
- X-Custom: "Québec"
69+
70+
httpsys-hostheader-mismatch:
71+
application:
72+
job: httpSysServer
73+
load:
74+
job: bombardier
75+
variables:
76+
path: /hello-world
77+
connections: 32
78+
serverScheme: https
79+
customHeaders:
80+
- Host: "google.com"
5981

6082
# Kestrel
6183

6284
kestrel-encoded-url:
6385
application:
6486
job: kestrelServer
6587
load:
66-
job: httpclient
88+
job: bombardier
6789
variables:
6890
path: /hello-world/%09
6991
presetHeaders: connectionclose
7092
connections: 32
7193
serverScheme: https
72-
sslProtocol: tls12
7394

7495
kestrel-header-symbols:
7596
application:
@@ -81,4 +102,16 @@ scenarios:
81102
connections: 32
82103
serverScheme: https
83104
customHeaders:
84-
- X-Custom: "Québec"
105+
- X-Custom: "Québec"
106+
107+
kestrel-hostheader-mismatch:
108+
application:
109+
job: kestrelServer
110+
load:
111+
job: bombardier
112+
variables:
113+
path: /hello-world
114+
connections: 32
115+
serverScheme: https
116+
customHeaders:
117+
- Host: "google.com"

0 commit comments

Comments
 (0)