Skip to content

Commit 6009dec

Browse files
committed
Add plots tables forms Hurl workflow
1 parent 1289727 commit 6009dec

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

examples/plots tables and forms/test.hurl

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
GET http://localhost:8080/
2+
3+
HTTP 200
4+
[Asserts]
5+
header "Content-Type" contains "text/html"
6+
body contains "SQLPage Demo"
7+
body contains "Revenue per country"
8+
body contains "John"
9+
body contains "Jane"
10+
body contains "1 times 1"
11+
body contains "10 times 10"
12+
body contains "New User"
13+
body not contains "An error occurred"
14+
15+
GET http://localhost:8080/?x=3
16+
17+
HTTP 200
18+
[Asserts]
19+
body contains "1 times 3"
20+
body contains "10 times 3"
21+
body contains "New User"
22+
body not contains "An error occurred"
23+
24+
POST http://localhost:8080/
25+
Content-Type: application/x-www-form-urlencoded
26+
```
27+
age=42&First%20Name=Ada&Last%20name=Lovelace&favorite_food=cake&checks%5B%5D=1&checks%5B%5D=2
28+
```
29+
30+
HTTP 200
31+
[Asserts]
32+
body contains "Ada"
33+
body contains "1"
34+
body contains "2"
35+
body not contains "An error occurred"

0 commit comments

Comments
 (0)