File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,19 @@ jobs:
34
34
- docker-service-name : ' express-js'
35
35
database-service-name : ' mysql'
36
36
application-port : 3010
37
+ skip_500_error_testing : false
37
38
- docker-service-name : ' express-ts'
38
39
database-service-name : ' mysql'
39
40
application-port : 3020
41
+ skip_500_error_testing : false
40
42
- docker-service-name : ' chi'
41
43
database-service-name : ' mysql'
42
44
application-port : 3030
45
+ skip_500_error_testing : true
43
46
- docker-service-name : ' fastapi'
44
47
database-service-name : ' postgres'
45
48
application-port : 4040
49
+ skip_500_error_testing : false
46
50
env :
47
51
# Prevent interference between builds by setting the project name to a unique value. Otherwise
48
52
# "docker compose down" has been stopping containers (especially database) from other builds.
92
96
hurl \
93
97
--error-format long \
94
98
--variable SERVER_URL=http://127.0.0.1:${{ matrix.application-port }} \
99
+ --variable skip_500_error_testing=${{ matrix.skip_500_error_testing }} \
95
100
--test \
96
101
tests/crud.hurl \
97
102
tests/misc.hurl
Original file line number Diff line number Diff line change 2
2
# Tests for various operations
3
3
#
4
4
# How to run:
5
- # hurl --variable SERVER_URL=http://127.0.0.1:3000 misc.hurl --test
5
+ # hurl --variable SERVER_URL=http://127.0.0.1:3000 --variable skip_500_error_testing=false misc.hurl --test
6
6
#
7
7
8
8
@@ -14,6 +14,8 @@ jsonpath "$.custom" == true
14
14
15
15
16
16
GET {{ SERVER_URL }}/custom/exception
17
+ [Options]
18
+ skip: {{ skip_500_error_testing }}
17
19
HTTP 500
18
20
[Asserts]
19
21
header "Content-Type" contains "application/json"
You can’t perform that action at this time.
0 commit comments