There was an error while loading. Please reload this page.
1 parent 9d98123 commit 4753b36Copy full SHA for 4753b36
1 file changed
examples/multiple-choice-question/test.hurl
@@ -0,0 +1,24 @@
1
+GET http://localhost:8080
2
+HTTP 200
3
+[Asserts]
4
+header "Content-Type" contains "text/html"
5
+body contains "What dog lover are you ?"
6
+body contains "process.sql"
7
+body contains "I love dogs"
8
+body contains "I hate them"
9
+body not contains "An error occurred"
10
+
11
+POST http://localhost:8080/process.sql
12
+[FormParams]
13
+profile: 1
14
+HTTP 302
15
16
+header "Location" == "results.sql"
17
18
+GET http://localhost:8080/results.sql
19
20
21
22
23
+body contains "100"
24
0 commit comments