-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathloadtests.yml
100 lines (94 loc) · 2.08 KB
/
loadtests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
imports:
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
jobs:
server:
source:
localFolder: src
project: TestServer/TestServer.csproj
readyStateText: Application started.
variables:
writer: 'ODataMessageWriter-Utf8'
port: 5000
host: "*"
arguments: '--urls=http://{{host}}:{{port}}'
scenarios:
highLoad:
application:
job: server
variables:
count: 1000
load:
job: bombardier
variables:
serverPort: 5000
connections: 512
duration: 30
timeout: 2
rate: 100
count: 1000
path: /customers/{{writer}}?count={{count}}
singleRequests:
application:
job: server
load:
job: bombardier
variables:
serverPort: 5000
connections: 128
duration: 30
rate: 1
count: 50
path: /customers/{{writer}}?count={{count}}
mediumLoad:
application:
job: server
load:
job: bombardier
variables:
serverPort: 5000
connections: 128
duration: 30
count: 50
path: /customers/{{writer}}?count={{count}}
profiles:
local:
variables:
serverPort: 5000
serverAddress: localhost
host: localhost
jobs:
application:
endpoints:
- http://localhost:5010
variables:
host: localhost
load:
endpoints:
- http://localhost:5010
lab-win:
variables:
serverPort: 5000
serverAddress: 10.0.0.110
cores: 8
jobs:
application:
endpoints:
- http://asp-perf-win:5001
variables:
serverAddress: 10.0.0.110
load:
endpoints:
- http://asp-perf-db:5001
variables:
serverAddress: 10.0.0.110
remote-win:
jobs:
application:
endpoints:
- http://52.186.145.58:5010
load:
endpoints:
- http://localhost:5010
variables:
serverAddress: 52.186.145.58
serverPort: 5000