Skip to content

Commit 3998d40

Browse files
committed
add rejection scenarios
1 parent 35d6d3e commit 3998d40

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed

scenarios/rejection.benchmarks.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
# Kestrel
61+
62+
kestrel-encoded-url:
63+
application:
64+
job: kestrelServer
65+
load:
66+
job: httpclient
67+
variables:
68+
path: /hello-world/%09
69+
presetHeaders: connectionclose
70+
connections: 32
71+
serverScheme: https
72+
sslProtocol: tls12

0 commit comments

Comments
 (0)