mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-22 10:31:46 +03:00
66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
error: Assert failure
|
|
--> tests_failed/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_failed/assert_value_error.hurl:5:0
|
|
|
|
|
5 | header "content-type" notEquals "text/html; charset=utf-8"
|
|
| actual: string <text/html; charset=utf-8>
|
|
| expected: string <text/html; charset=utf-8>
|
|
|
|
|
|
|
error: Assert failure
|
|
--> tests_failed/assert_value_error.hurl:6:0
|
|
|
|
|
6 | jsonpath "$.id" equals "000001"
|
|
| actual: none
|
|
| expected: string <000001>
|
|
|
|
|
|
|
error: Assert failure
|
|
--> tests_failed/assert_value_error.hurl:7:0
|
|
|
|
|
7 | jsonpath "$.values" includes 100
|
|
| actual: [int <1>, int <2>, int <3>]
|
|
| expected: includes int <100>
|
|
|
|
|
|
|
error: Assert failure
|
|
--> tests_failed/assert_value_error.hurl:8:0
|
|
|
|
|
8 | 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_failed/assert_value_error.hurl:9:0
|
|
|
|
|
9 | jsonpath "$.count" greaterThan 5
|
|
| actual: int <2>
|
|
| expected: greater than int <5>
|
|
|
|
|
|
|
error: Assert failure
|
|
--> tests_failed/assert_value_error.hurl:10:0
|
|
|
|
|
10 | jsonpath "$.count" isFloat
|
|
| actual: int <2>
|
|
| expected: float
|
|
|
|
|
|
|
error: Assert failure
|
|
--> tests_failed/assert_value_error.hurl:11:0
|
|
|
|
|
11 | bytes contains hex,00;
|
|
| actual: byte array <7b202276616c756573223a205b312c322c335d2c2022636f756e74223a20327d>
|
|
| expected: contains byte array <00>
|
|
|
|
|
|