mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-01 03:27:31 +03:00
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
error: Assert Failure
|
|
--> tests/error_assert_value_error.hurl:4:0
|
|
|
|
|
4 | header "content-type" equals "XXX"
|
|
| actual: string <text/html; charset=utf-8>
|
|
| expected: string <XXX>
|
|
|
|
|
|
|
error: Assert Failure
|
|
--> tests/error_assert_value_error.hurl:5:0
|
|
|
|
|
5 | jsonpath "$.id" equals "000001"
|
|
| actual: none
|
|
| expected: string <000001>
|
|
|
|
|
|
|
error: Assert Failure
|
|
--> tests/error_assert_value_error.hurl:6:0
|
|
|
|
|
6 | jsonpath "$.values" includes 100
|
|
| actual: [int <1>, int <2>, int <3>]
|
|
| expected: includes int <100>
|
|
|
|
|
|
|
error: Assert Failure
|
|
--> tests/error_assert_value_error.hurl:7:0
|
|
|
|
|
7 | jsonpath "$.values" not contains "Hello"
|
|
| actual: [int <1>, int <2>, int <3>]
|
|
| expected: not contains string <Hello>
|
|
| >>> types between actual and expected are not consistent
|
|
|
|
|
|
|
error: Assert Failure
|
|
--> tests/error_assert_value_error.hurl:8:0
|
|
|
|
|
8 | jsonpath "$.count" greaterThan 5
|
|
| actual: int <2>
|
|
| expected: int <5>
|
|
|
|
|
|
|
error: Assert Failure
|
|
--> tests/error_assert_value_error.hurl:9:0
|
|
|
|
|
9 | jsonpath "$.count" isFloat
|
|
| actual: int <2>
|
|
| expected: float
|
|
|
|
|
|