There was an error while loading. Please reload this page.
1 parent 818886b commit dd5e63eCopy full SHA for dd5e63e
1 file changed
examples/web servers - apache/test.hurl
@@ -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
11
+header "Location" == "/my_website/"
12
13
+GET http://localhost:8080/my_website/
14
15
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