Skip to content

Commit e9b649b

Browse files
committed
configure param
1 parent fd052b8 commit e9b649b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scenarios/tls.benchmarks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
certValidationConsoleEnabled: false
2424
statsEnabled: false
2525
logRequestDetails: false
26-
arguments: "--urls https://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --logRequestDetails {{logRequestDetails}}"
26+
certPublicKeyLength: 2048
27+
arguments: "--urls https://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --logRequestDetails {{logRequestDetails}} --certPublicKeyLength {{certPublicKeyLength}}"
2728

2829
kestrelServer:
2930
source:
@@ -79,6 +80,8 @@ scenarios:
7980
tls-handshakes-httpsys:
8081
application:
8182
job: httpSysServer
83+
variables:
84+
certPublicKeyLength: 2048
8285
load:
8386
job: httpclient
8487
variables:
@@ -92,14 +95,12 @@ scenarios:
9295
application:
9396
job: httpSysServer
9497
variables:
98+
certPublicKeyLength: 2048
9599
mTLS: true # enables settings on http.sys to negotiate client cert on connections
96100
tlsRenegotiation: true # enables client cert validation
97-
certValidationConsoleEnabled: false # only for debug purposes
98-
serverPort: 8080 # IMPORTANT: not to intersect with other tests in case http.sys configuration impacts other benchmarks
99101
load:
100102
job: httpclient
101103
variables:
102-
serverPort: 8080 # in sync with server
103104
path: /hello-world
104105
presetHeaders: connectionclose
105106
connections: 32
@@ -112,9 +113,8 @@ scenarios:
112113
application:
113114
job: httpSysServer
114115
variables:
115-
mTLS: false
116+
certPublicKeyLength: 2048
116117
tlsRenegotiation: true
117-
certValidationConsoleEnabled: false # only for debug purposes
118118
load:
119119
job: httpclient
120120
variables:

0 commit comments

Comments
 (0)