-
Notifications
You must be signed in to change notification settings - Fork 0
/
benchmarks.httpjson.yml
74 lines (70 loc) · 1.77 KB
/
benchmarks.httpjson.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
# Examples:
# --config benchmarks.compose.yml --scenario plaintext --variable serverUri=http://10.0.0.102
variables:
protocol: http
serverPort: 5000
jobs:
weatherapp:
source:
repository: https://github.com/Jozkee/HttpJsonBenchmarks.git
branchOrCommit: master
project: server/WeatherForecast.csproj
readyStateText: Application started.
arguments: "--urls {{protocol}}://[*]:{{serverPort}}"
options:
displayOutput: true
client:
source:
repository: https://github.com/Jozkee/HttpJsonBenchmarks.git
branchOrCommit: master
project: client/HttpJsonClient.csproj
waitForExit: true
variables:
warmup: 15
duration: 15
newJson: true
method: ""
classType: ""
path: ""
arguments: "{{warmup}} {{duration}} {{newJson}} {{method}} {{classType}} {{protocol}}://{{serverUri}}:{{serverPort}}/{{path}}"
runtimeVersion: "3.1.0"
sdkVersion: "3.1.100"
options:
displayOutput: true
scenarios:
get.object:
server:
job: weatherapp
client:
job: client
variables:
method: "get"
classType: "object"
path: "WeatherForecast/getObject"
get.collection:
server:
job: weatherapp
client:
job: client
variables:
method: "get"
classType: "collection"
path: "WeatherForecast/getCollection"
post.object:
server:
job: weatherapp
client:
job: client
variables:
method: "post"
classType: "object"
path: "WeatherForecast/postObject"
post.collection:
server:
job: weatherapp
client:
job: client
variables:
method: "post"
classType: "collection"
path: "WeatherForecast/postCollection"