Skip to content

Commit 4753b36

Browse files
committed
Add multiple-choice Hurl workflow
1 parent 9d98123 commit 4753b36

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

examples/multiple-choice-question/test.hurl

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
[Asserts]
16+
header "Location" == "results.sql"
17+
18+
GET http://localhost:8080/results.sql
19+
HTTP 200
20+
[Asserts]
21+
header "Content-Type" contains "text/html"
22+
body contains "I love dogs"
23+
body contains "100"
24+
body not contains "An error occurred"

0 commit comments

Comments
 (0)