hurl/integration/tests/predicates-string.hurl

19 lines
293 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
GET http://localhost:8000/predicates-string
HTTP/1.0 200
[Asserts]
body equals "Hello World!"
body startsWith "Hello"
2021-07-16 09:13:23 +03:00
body endsWith "!"
2020-08-27 10:07:46 +03:00
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