File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ scenarios:
16
16
job : mvcServer
17
17
buildArguments :
18
18
- " /p:UseCertAuth=true /p:UseAuthorize=true /p:UseOnlyAuth=true"
19
+ variables :
20
+ serverScheme : https
19
21
load :
20
22
job : httpclient
21
23
variables :
@@ -28,9 +30,10 @@ scenarios:
28
30
ApiCrudListProducts :
29
31
application :
30
32
job : mvcServer
31
- scheme : https
32
33
buildArguments :
33
34
- " /p:UseCertAuth=true /p:UseAuthorize=true"
35
+ variables :
36
+ serverScheme : https
34
37
load :
35
38
job : httpclient
36
39
variables :
@@ -43,9 +46,10 @@ scenarios:
43
46
ApiCrudGetProductDetails :
44
47
application :
45
48
job : mvcServer
46
- scheme : https
47
49
buildArguments :
48
50
- " /p:UseCertAuth=true /p:UseAuthorize=true"
51
+ variables :
52
+ serverScheme : https
49
53
load :
50
54
job : httpclient
51
55
variables :
@@ -58,9 +62,10 @@ scenarios:
58
62
ApiCrudAddProduct :
59
63
application :
60
64
job : mvcServer
61
- scheme : https
62
65
buildArguments :
63
66
- " /p:UseCertAuth=true /p:UseAuthorize=true"
67
+ variables :
68
+ serverScheme : https
64
69
load :
65
70
job : httpclient
66
71
variables :
@@ -75,9 +80,10 @@ scenarios:
75
80
ApiCrudUpdateProduct :
76
81
application :
77
82
job : mvcServer
78
- scheme : https
79
83
buildArguments :
80
84
- " /p:UseCertAuth=true /p:UseAuthorize=true"
85
+ variables :
86
+ serverScheme : https
81
87
load :
82
88
job : httpclient
83
89
variables :
@@ -92,9 +98,10 @@ scenarios:
92
98
ApiCrudDeleteProduct :
93
99
application :
94
100
job : mvcServer
95
- scheme : https
96
101
buildArguments :
97
102
- " /p:UseCertAuth=true /p:UseAuthorize=true"
103
+ variables :
104
+ serverScheme : https
98
105
load :
99
106
job : httpclient
100
107
variables :
Original file line number Diff line number Diff line change 8
8
waitForExit : false
9
9
variables :
10
10
useNewtonsoftJson : false
11
- arguments : " {%if useNewtonsoftJson == true %} --useNewtonsoftJson true {% endif %}"
11
+ arguments : " --urls {{serverScheme}}://{{serverAddress}}:{{serverPort}} {%if useNewtonsoftJson == true %} --useNewtonsoftJson true {% endif %}"
12
12
mapaction :
13
13
source :
14
14
repository : https://github.com/aspnet/Benchmarks.git
You can’t perform that action at this time.
0 commit comments