Skip to content

Commit 6bb63b9

Browse files
authored
feat: add TLS jobs targeting idna-relay & Rejection jobs (#2064)
1 parent 19f2a47 commit 6bb63b9

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

build/job-variables.yml

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ variables:
6767
value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/antiforgery.benchmarks.yml
6868
- name: tlsJobs
6969
value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/tls.benchmarks.yml
70+
- name: rejectionJobs
71+
value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/rejection.benchmarks.yml
7072
- name: goldilocksJobs
7173
value: --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/goldilocks.benchmarks.yml
7274
- name: monoJobs

build/trend-scenarios.yml

+40
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,46 @@ parameters:
120120
- displayName: "Kestrel Linux: TLS Renegotiation"
121121
arguments: --scenario tls-renegotiation-kestrel $(tlsJobs) --property scenario=KestrelTLSRenegotiation --application.options.requiredOperatingSystem linux
122122

123+
# TLS (IDNA Relay)
124+
125+
- displayName: "[IDNA] HttpSys Windows: TLS Handshakes"
126+
arguments: --scenario tls-handshakes-httpsys $(tlsJobs) --property scenario=IDNAHttpSysTLSHandshakes --profile idna-intel-win-relay
127+
128+
- displayName: "[IDNA] HttpSys Windows: mTLS Handshakes"
129+
arguments: --scenario mTls-handshakes-httpsys $(tlsJobs) --property scenario=IDNAHttpSysMutualTLSHandshakes --profile idna-intel-win-relay
130+
131+
- displayName: "[IDNA] HttpSys Windows: TLS Renegotiation"
132+
arguments: --scenario tls-renegotiation-httpsys $(tlsJobs) --property scenario=IDNAHttpSysTLSRenegotiation --profile idna-intel-win-relay
133+
134+
- displayName: "[IDNA] Kestrel Linux: TLS Handshakes"
135+
arguments: --scenario tls-handshakes-kestrel $(tlsJobs) --property scenario=IDNAKestrelTLSHandshakes idna-intel-lin-relay
136+
137+
- displayName: "[IDNA] Kestrel Linux: mTLS Handshakes"
138+
arguments: --scenario mTls-handshakes-kestrel $(tlsJobs) --property scenario=IDNAKestrelMutualTLSHandshakes idna-intel-lin-relay
139+
140+
- displayName: "[IDNA] Kestrel Linux: TLS Renegotiation"
141+
arguments: --scenario tls-renegotiation-kestrel $(tlsJobs) --property scenario=IDNAKestrelTLSRenegotiation idna-intel-lin-relay
142+
143+
# Rejection
144+
145+
- displayName: "HttpSys Windows: Encoded URL symbols"
146+
arguments: --scenario httpsys-encoded-url $(rejectionJobs) --property scenario=RejectionEncodedUrlHttpSys --application.options.requiredOperatingSystem windows
147+
148+
- displayName: "HttpSys Windows: Invalid Header"
149+
arguments: --scenario httpsys-header-symbols $(rejectionJobs) --property scenario=RejectionInvalidHeaderHttpSys --application.options.requiredOperatingSystem windows
150+
151+
- displayName: "HttpSys Windows: Host Header Mismatch"
152+
arguments: --scenario httpsys-hostheader-mismatch $(rejectionJobs) --property scenario=RejectionHostHeaderMismatchHttpSys --application.options.requiredOperatingSystem windows
153+
154+
- displayName: "Kestrel Linux: Encoded URL symbols"
155+
arguments: --scenario kestrel-encoded-url $(rejectionJobs) --property scenario=RejectionEncodedUrlKestrel --application.options.requiredOperatingSystem linux
156+
157+
- displayName: "Kestrel Linux: Invalid Header"
158+
arguments: --scenario kestrel-header-symbols $(rejectionJobs) --property scenario=RejectionInvalidHeaderKestrel --application.options.requiredOperatingSystem linux
159+
160+
- displayName: "Kestrel Linux: Host Header Mismatch"
161+
arguments: --scenario kestrel-hostheader-mismatch $(rejectionJobs) --property scenario=RejectionHostHeaderMismatchKestrel --application.options.requiredOperatingSystem linux
162+
123163
steps:
124164
- ${{ each s in parameters.scenarios }}:
125165
- task: PublishToAzureServiceBus@2

scenarios/tls.benchmarks.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
33
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.HttpClient/httpclient.yml
44
- https://github.com/aspnet/Benchmarks/blob/main/scenarios/aspnet.profiles.yml?raw=true
5+
- https://github.com/aspnet/Benchmarks/blob/main/build/azure.profile.yml?raw=true
56

67
variables:
78
serverPort: 5000

0 commit comments

Comments
 (0)