hurl/integration/tests_ok/assert_regex.hurl

10 lines
245 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
GET http://localhost:8000/assert-regex
2022-11-11 16:25:00 +03:00
HTTP 200
2020-08-27 10:07:46 +03:00
[Asserts]
regex "Hello ([0-9]+)!" not exists
regex /Hello ([0-9]+)!/ not exists
body regex /Hello ([0-9]+)!/ not exists
regex "Hello ([a-zA-Z]+)!" == "World"
regex /Hello ([a-zA-Z]+)!/ == "World"