2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:4:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
4 | header "content-type" equals "XXX"
|
|
|
|
| actual: string <text/html; charset=utf-8>
|
|
|
|
| expected: string <XXX>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:5:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
2021-06-27 11:11:02 +03:00
|
|
|
5 | header "content-type" notEquals "text/html; charset=utf-8"
|
|
|
|
| actual: string <text/html; charset=utf-8>
|
|
|
|
| expected: string <text/html; charset=utf-8>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:6:0
|
2021-06-27 11:11:02 +03:00
|
|
|
|
|
|
|
|
6 | jsonpath "$.id" equals "000001"
|
2020-08-27 10:07:46 +03:00
|
|
|
| actual: none
|
|
|
|
| expected: string <000001>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:7:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
2021-06-27 11:11:02 +03:00
|
|
|
7 | jsonpath "$.values" includes 100
|
2020-08-27 10:07:46 +03:00
|
|
|
| actual: [int <1>, int <2>, int <3>]
|
|
|
|
| expected: includes int <100>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:8:0
|
2020-10-19 18:55:03 +03:00
|
|
|
|
|
2021-06-27 11:11:02 +03:00
|
|
|
8 | jsonpath "$.values" not contains "Hello"
|
2020-10-19 18:55:03 +03:00
|
|
|
| actual: [int <1>, int <2>, int <3>]
|
|
|
|
| expected: not contains string <Hello>
|
|
|
|
| >>> types between actual and expected are not consistent
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:9:0
|
2020-11-21 12:04:45 +03:00
|
|
|
|
|
2021-06-27 11:11:02 +03:00
|
|
|
9 | jsonpath "$.count" greaterThan 5
|
2020-11-21 12:04:45 +03:00
|
|
|
| actual: int <2>
|
2020-11-29 19:21:02 +03:00
|
|
|
| expected: greater than int <5>
|
2020-11-21 12:04:45 +03:00
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:10:0
|
2020-11-28 20:37:31 +03:00
|
|
|
|
|
2021-06-27 11:11:02 +03:00
|
|
|
10 | jsonpath "$.count" isFloat
|
2020-11-28 20:37:31 +03:00
|
|
|
| actual: int <2>
|
|
|
|
| expected: float
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/assert_value_error.hurl:11:0
|
2021-07-07 16:44:48 +03:00
|
|
|
|
|
|
|
|
11 | bytes contains hex,00;
|
|
|
|
| actual: byte array <7b202276616c756573223a205b312c322c335d2c2022636f756e74223a20327d>
|
|
|
|
| expected: contains byte array <00>
|
|
|
|
|
|
|
|
|
|