Skip to content

Commit dd5e63e

Browse files
committed
Add Apache example Hurl workflow
1 parent 818886b commit dd5e63e

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

examples/web servers - apache/test.hurl

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
GET http://localhost:8080/
2+
HTTP 200
3+
[Asserts]
4+
body contains "Welcome to Our Site"
5+
body contains "served by Apache web server"
6+
body contains "href=\"/my_website\""
7+
8+
GET http://localhost:8080/my_website
9+
HTTP 301
10+
[Asserts]
11+
header "Location" == "/my_website/"
12+
13+
GET http://localhost:8080/my_website/
14+
HTTP 200
15+
[Asserts]
16+
header "Content-Type" contains "text/html"
17+
body contains "Welcome to my website"
18+
body contains "Using SQLPage v"
19+
body contains "Connected to"
20+
body contains "MySQL"

0 commit comments

Comments
 (0)