Skip to content

Commit 9d774bf

Browse files
committed
init scripts
1 parent 9b5402f commit 9d774bf

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

scenarios/tls.benchmarks.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,25 @@ scenarios:
4949
serverScheme: https
5050

5151
mTls-handshakes-httpsys:
52+
application:
53+
job: httpSysServer
54+
variables:
55+
mTLS: true
56+
certValidationConsoleEnabled: false # only for debug purposes
57+
options:
58+
beforeScript: ".\setup-httpsys.ps1"
59+
afterScript: ".\shutdown-httpsys.ps1"
60+
load:
61+
job: httpclient
62+
variables:
63+
path: /hello-world
64+
presetHeaders: connectionclose
65+
connections: 32
66+
serverScheme: https
67+
certPath: https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/HttpSys/testCert.pfx
68+
certPwd: testPassword
69+
70+
tls-renegotiation-httpsys:
5271
application:
5372
job: httpSysServer
5473
variables:

src/BenchmarksApps/TLS/HttpSys/HttpSys.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,13 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<None Update="scripts\setup-httpsys.ps1">
11+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
12+
</None>
13+
<None Update="testCert.pfx">
14+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
15+
</None>
16+
</ItemGroup>
17+
918
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Write-Output "hello world setup"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Write-Output "hello world shutdown"

0 commit comments

Comments
 (0)