mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-28 13:32:18 +03:00
19 lines
293 B
Plaintext
19 lines
293 B
Plaintext
GET http://localhost:8000/predicates-string
|
|
|
|
HTTP/1.0 200
|
|
[Asserts]
|
|
body equals "Hello World!"
|
|
body startsWith "Hello"
|
|
body endsWith "!"
|
|
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
|
|
|
|
|