Skip to content

Commit 99c190f

Browse files
committed
make use of variable
1 parent 0c4907a commit 99c190f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

sample_config.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{
1111
"cache":true,
1212
"cacheDuration":10,
13-
"host":"jsonplaceholder.typicode.com",
13+
"host":"${jsonhost}",
1414
"hostHeader":"",
1515
"path":"/albums/.*",
1616
"port":80,
@@ -19,7 +19,7 @@
1919
{
2020
"cache":true,
2121
"cacheDuration":10,
22-
"host":"jsonplaceholder.typicode.com",
22+
"host":"${jsonhost}",
2323
"hostHeader":"",
2424
"path":"/comments/.*",
2525
"port":80,
@@ -28,7 +28,7 @@
2828
{
2929
"cache":true,
3030
"cacheDuration":10,
31-
"host":"jsonplaceholder.typicode.com",
31+
"host":"${jsonhost}",
3232
"hostHeader":"",
3333
"path":"/photos/.*",
3434
"port":80,
@@ -37,7 +37,7 @@
3737
{
3838
"cache":true,
3939
"cacheDuration":10,
40-
"host":"jsonplaceholder.typicode.com",
40+
"host":"${jsonhost}",
4141
"hostHeader":"",
4242
"path":"/posts/.*",
4343
"port":80,
@@ -46,7 +46,7 @@
4646
{
4747
"cache":true,
4848
"cacheDuration":10,
49-
"host":"jsonplaceholder.typicode.com",
49+
"host":"${jsonhost}",
5050
"hostHeader":"",
5151
"path":"/todos/.*",
5252
"port":80,
@@ -55,7 +55,7 @@
5555
{
5656
"cache":true,
5757
"cacheDuration":10,
58-
"host":"jsonplaceholder.typicode.com",
58+
"host":"${jsonhost}",
5959
"hostHeader":"",
6060
"path":"/users/.*",
6161
"port":80,
@@ -77,7 +77,9 @@
7777
"track":false
7878
},
7979
"variables":{
80-
"a":"AAaaa",
81-
"b":"bb"
80+
"ab":"abbb",
81+
"aye":"AAaaa",
82+
"b":"bbeee",
83+
"jsonhost":"jsonplaceholder.typicode.com"
8284
}
8385
}

0 commit comments

Comments
 (0)