this repo has no description
1POST http://localhost:8000/pessoas
2Content-Type: application/json
3{
4 "name": "Ana Barbosa",
5 "nickname": "ana",
6 "birthdate": "1985-09-23T00:00:00Z",
7 "stack": []
8}
9HTTP 200
10[Captures]
11person_id: jsonpath "$.id"
12
13
14GET http://localhost:8000/pessoas/{{person_id}}
15HTTP 200
16[Asserts]
17header "Content-Type" == "application/json"
18jsonpath "$.name" == "Ana Barbosa"
19jsonpath "$.nickname" == "ana"
20jsonpath "$.birthdate" == "1985-09-23T00:00:00Z"
21jsonpath "$.stack" count == 0
22
23POST http://localhost:8000/pessoas
24Content-Type: application/json
25{
26 "nickname" : "josé",
27 "name" : "José Roberto",
28 "birthdate": "2000-10-01T00:00:00Z",
29 "stack": ["C#", "Node", "Oracle"]
30}
31HTTP 200
32[Captures]
33person_id: jsonpath "$.id"
34
35
36GET http://localhost:8000/pessoas/{{person_id}}
37HTTP 200
38[Asserts]
39header "Content-Type" == "application/json"
40jsonpath "$.name" == "José Roberto"
41jsonpath "$.nickname" == "josé"
42jsonpath "$.birthdate" == "2000-10-01T00:00:00Z"
43jsonpath "$.stack" count == 3
44