forked from OData/odata.net
-
Notifications
You must be signed in to change notification settings - Fork 1
/
loadtests.yml
74 lines (69 loc) · 1.78 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
imports:
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
jobs:
server:
source:
localFolder: .
project: test/PerformanceTests/SerializationComparisonsTests/TestServer/TestServer.csproj
readyStateText: Application started.
variables:
port: 5000
host: "*"
arguments: '--urls=http://{{host}}:{{port}}'
scenarios:
SerializationComparisons:
application:
job: server
load:
job: bombardier
variables:
serverPort: 5000
connections: 128
duration: 30
count: 50
includeRawValues: false
writer: 'ODataMessageWriter'
path: /customers/{{writer}}?count={{count}}&includeRawValues={{includeRawValues}}
profiles:
local:
variables:
serverPort: 5000
serverAddress: localhost
host: localhost
jobs:
application:
endpoints:
- http://localhost:5010
variables:
host: localhost
load:
endpoints:
- http://localhost:5010
lab-windows:
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-windows:
jobs:
application:
endpoints:
- http://enter-remote-server-address:5010
load:
endpoints:
- http://localhost:5010
variables:
serverAddress: enter-remote-server-address
serverPort: 5000
numConnections: 128