summaryrefslogtreecommitdiff
path: root/src/main/resources/testData.json
blob: b495e7502d44771d377c4c1f8dda9129203f6870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
  "testCases": [
    {
      "steps": [
        {
          "spec": "/posts",
          "requestMethod": "GET",
          "responseCode": "200"
        },
        {
          "spec": "/posts/99",
          "requestMethod": "GET",
          "responseCode": "200",
          "post": {
            "id": "99",
            "userId": "10",
            "isTitleEmpty": "false",
            "isBodyEmpty": "false"
          }
        },
        {
          "spec": "/posts/150",
          "requestMethod": "GET",
          "responseCode": "404",
          "isResponseBodyEmpty": "true"
        },
        {
          "spec": "/posts",
          "requestMethod": "POST",
          "responseCode": "201",
          "post": {
            "userId": "1"
          }
        },
        {
          "spec": "/users",
          "requestMethod": "GET",
          "responseCode": "200",
          "user": {
            "id": "5",
            "name": "Chelsey Dietrich",
            "username": "Kamren",
            "email": "Lucio_Hettinger@annie.ca",
            "address": {
              "street": "Skiles Walks",
              "suite": "Suite 351",
              "city": "Roscoeview",
              "zipcode": "33263",
              "geo": {
                "lat": "-31.8129",
                "lng": "62.5342"
              }
            },
            "phone": "(254)954-1289",
            "website": "demarco.info",
            "company": {
              "name": "Keebler LLC",
              "catchPhrase": "User-centric fault-tolerant solution",
              "bs": "revolutionize end-to-end systems"
            }
          }
        },
        {
          "spec": "/users/5",
          "requestMethod": "GET",
          "responseCode": "200"
        }
      ]
    }
  ]
}