We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef68cba commit 818886bCopy full SHA for 818886b
1 file changed
examples/nginx/test.hurl
@@ -0,0 +1,23 @@
1
+# nginx proxies SQLPage dynamic pages and rewrites pretty post URLs.
2
+GET http://localhost:8080/
3
+HTTP 200
4
+[Asserts]
5
+header "Content-Type" contains "text/html"
6
+body contains "Blog Posts"
7
+body contains "First Post"
8
+body contains "Hello World"
9
+
10
+GET http://localhost:8080/post/1
11
12
13
14
+body contains "Post Details"
15
+body contains "This is the content of the first post."
16
+body contains "Great post!"
17
+body contains "Add a comment"
18
19
+# /static/ is served by nginx directly, not proxied to SQLPage.
20
+GET http://localhost:8080/static/index.sql
21
+HTTP 404
22
23
+body contains "nginx"
0 commit comments