Skip to content

Commit 34af8f4

Browse files
committed
try?
1 parent 35d6d3e commit 34af8f4

File tree

1 file changed

+87
-0
lines changed

1 file changed

+87
-0
lines changed

scenarios/rejection.benchmarks.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
imports:
2+
- 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
4+
- https://github.com/aspnet/Benchmarks/blob/main/scenarios/aspnet.profiles.yml?raw=true
5+
6+
variables:
7+
serverPort: 5000
8+
9+
jobs:
10+
httpSysServer:
11+
source:
12+
repository: https://github.com/aspnet/benchmarks.git
13+
branchOrCommit: main
14+
project: src/BenchmarksApps/TLS/HttpSys/HttpSys.csproj
15+
readyStateText: Application started.
16+
variables:
17+
# behavioral settings
18+
mTLS: false # enables settings on http.sys to negotiate client cert on connections
19+
tlsRenegotiation: false # enables client cert validation
20+
# debug settings
21+
certValidationConsoleEnabled: false
22+
httpSysLogs: false
23+
statsEnabled: false
24+
logRequestDetails: false
25+
arguments: "--urls https://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --httpSysLogs {{httpSysLogs}} --logRequestDetails {{logRequestDetails}}"
26+
27+
kestrelServer:
28+
source:
29+
repository: https://github.com/aspnet/benchmarks.git
30+
branchOrCommit: main
31+
project: src/BenchmarksApps/TLS/Kestrel/Kestrel.csproj
32+
readyStateText: Application started.
33+
variables:
34+
# behavioral settings
35+
mTLS: false
36+
tlsRenegotiation: false
37+
tlsProtocols: "tls12,tls13"
38+
# debug settings
39+
certValidationConsoleEnabled: false
40+
statsEnabled: false
41+
logRequestDetails: false
42+
arguments: "--urls https://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --tlsProtocols {{tlsProtocols}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --logRequestDetails {{logRequestDetails}}"
43+
44+
scenarios:
45+
46+
# HTTP.SYS
47+
48+
httpsys-encoded-url:
49+
application:
50+
job: httpSysServer
51+
load:
52+
job: httpclient
53+
variables:
54+
path: /hello-world/%09
55+
presetHeaders: connectionclose
56+
connections: 32
57+
serverScheme: https
58+
sslProtocol: tls12
59+
60+
61+
62+
# Kestrel
63+
64+
kestrel-encoded-url:
65+
application:
66+
job: kestrelServer
67+
load:
68+
job: httpclient
69+
variables:
70+
path: /hello-world/%09
71+
presetHeaders: connectionclose
72+
connections: 32
73+
serverScheme: https
74+
sslProtocol: tls12
75+
76+
kestrel-header-symbols:
77+
application:
78+
job: kestrelServer
79+
load:
80+
job: httpclient
81+
variables:
82+
path: /hello-world/%09
83+
presetHeaders: connectionclose
84+
connections: 32
85+
serverScheme: https
86+
sslProtocol: tls12
87+
header: "User-Agent: Québec"

0 commit comments

Comments
 (0)