mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-01 03:27:31 +03:00
18 lines
275 B
Plaintext
18 lines
275 B
Plaintext
GET http://localhost:8000/predicates-string
|
|
|
|
HTTP/1.0 200
|
|
[Asserts]
|
|
body equals "Hello World!"
|
|
body startsWith "Hello"
|
|
body contains "llo"
|
|
body matches "Hello [a-zA-Z]+!"
|
|
|
|
|
|
GET http://localhost:8000/predicates-string-empty
|
|
HTTP/1.0 200
|
|
[Asserts]
|
|
body equals ""
|
|
body exists
|
|
|
|
|