2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:4:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
4 | jsonpath "$.status" equals "true"
|
|
|
|
| actual: bool <true>
|
|
|
|
| expected: string <true>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:6:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
6 | jsonpath "$.count" equals 0
|
|
|
|
| actual: int <1>
|
|
|
|
| expected: int <0>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:7:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
7 | jsonpath "$.message" equals 0
|
|
|
|
| actual: string <0>
|
|
|
|
| expected: int <0>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:8:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
8 | jsonpath "$.empty" equals 0
|
|
|
|
| actual: string <>
|
|
|
|
| expected: int <0>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:9:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
9 | jsonpath "$.number" equals 1.1
|
|
|
|
| actual: float <1.0>
|
2021-11-19 22:58:54 +03:00
|
|
|
| expected: float <1.1>
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:10:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
10 | jsonpath "$.message" startsWith "hi"
|
|
|
|
| actual: string <0>
|
|
|
|
| expected: starts with string <hi>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:11:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
2021-07-16 09:13:23 +03:00
|
|
|
11 | jsonpath "$.message" endsWith "hi"
|
2020-08-27 10:07:46 +03:00
|
|
|
| actual: string <0>
|
2021-07-16 09:13:23 +03:00
|
|
|
| expected: ends with string <hi>
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:12:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
2021-07-16 09:13:23 +03:00
|
|
|
12 | jsonpath "$.message" contains "hi"
|
|
|
|
| actual: string <0>
|
|
|
|
| expected: contains string <hi>
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:13:0
|
2021-07-16 09:13:23 +03:00
|
|
|
|
|
|
|
|
13 | jsonpath "$.message" matches "hi"
|
2020-08-27 10:07:46 +03:00
|
|
|
| actual: string <0>
|
|
|
|
| expected: matches regex <hi>
|
|
|
|
|
|
|
|
|
|
2021-06-26 11:00:23 +03:00
|
|
|
error: Subquery error
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:14:22
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
2021-07-16 09:13:23 +03:00
|
|
|
14 | jsonpath "$.message" count == 1
|
2022-08-08 19:33:49 +03:00
|
|
|
| ^^^^^ type <string> from query result and subquery do not match
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:15:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
2021-07-16 09:13:23 +03:00
|
|
|
15 | jsonpath "$.toto" exists
|
2020-08-27 10:07:46 +03:00
|
|
|
| actual: none
|
|
|
|
| expected: something
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:16:0
|
2020-08-27 10:07:46 +03:00
|
|
|
|
|
2021-07-16 09:13:23 +03:00
|
|
|
16 | jsonpath "$.message" not exists
|
2020-08-27 10:07:46 +03:00
|
|
|
| actual: string <0>
|
|
|
|
| expected: not something
|
|
|
|
|
|
|
|
|
|
2022-08-08 19:33:49 +03:00
|
|
|
error: Assert failure
|
2022-02-14 11:13:33 +03:00
|
|
|
--> tests_failed/predicate.hurl:17:0
|
2021-06-11 09:27:09 +03:00
|
|
|
|
|
2021-07-16 09:13:23 +03:00
|
|
|
17 | jsonpath "$.list" count == 2
|
2021-06-26 11:00:23 +03:00
|
|
|
| actual: int <3>
|
|
|
|
| expected: int <2>
|
2021-06-11 09:27:09 +03:00
|
|
|
|
|
|
|
|
|