Permalink
Browse files

tests

  • Loading branch information...
hunterlong committed Feb 5, 2019
1 parent e1af664 commit 69b3cb43bf8a83d0f6449121b57eacf7901e7243
Showing with 2 additions and 55 deletions.
  1. +2 −55 source/tmpl/postman.json
@@ -327,10 +327,7 @@
"script": {
"id": "023c5643-6cb1-4cd0-b775-566f232d68f8",
"exec": [
"pm.test(\"Service Chart Default\", function () {",
" var jsonData = pm.response.json();",
" pm.expect(jsonData.data.length).to.be.at.least(100);",
"});"
""
],
"type": "text/javascript"
}
@@ -373,57 +370,7 @@
]
}
},
"response": [
{
"name": "View Service Chart Data",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{endpoint}}/api/services/1/data",
"host": [
"{{endpoint}}"
],
"path": [
"api",
"services",
"1",
"data"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Date",
"value": "Mon, 10 Dec 2018 19:31:32 GMT"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"x\": \"2018-12-03T12:00:00-08:00\",\n \"y\": 476\n },\n {\n \"x\": \"2018-12-03T13:00:00-08:00\",\n \"y\": 663\n },\n {\n \"x\": \"2018-12-03T14:00:00-08:00\",\n \"y\": 411\n },\n {\n \"x\": \"2018-12-03T15:00:00-08:00\",\n \"y\": 759\n },\n {\n \"x\": \"2018-12-03T16:00:00-08:00\",\n \"y\": 143\n },\n {\n \"x\": \"2018-12-03T17:00:00-08:00\",\n \"y\": 11\n },\n {\n \"x\": \"2018-12-03T18:00:00-08:00\",\n \"y\": 1073\n },\n {\n \"x\": \"2018-12-03T19:00:00-08:00\",\n \"y\": 419\n },\n {\n \"x\": \"2018-12-03T20:00:00-08:00\",\n \"y\": 85\n },\n {\n \"x\": \"2018-12-03T21:00:00-08:00\",\n \"y\": 444\n },\n {\n \"x\": \"2018-12-03T22:00:00-08:00\",\n \"y\": 307\n },\n {\n \"x\": \"2018-12-03T23:00:00-08:00\",\n \"y\": 889\n },\n {\n \"x\": \"2018-12-04T00:00:00-08:00\",\n \"y\": 625\n },\n {\n \"x\": \"2018-12-04T01:00:00-08:00\",\n \"y\": 407\n },\n {\n \"x\": \"2018-12-04T02:00:00-08:00\",\n \"y\": 505\n },\n {\n \"x\": \"2018-12-04T03:00:00-08:00\",\n \"y\": 71\n },\n {\n \"x\": \"2018-12-04T04:00:00-08:00\",\n \"y\": 1063\n },\n {\n \"x\": \"2018-12-04T05:00:00-08:00\",\n \"y\": 488\n },\n {\n \"x\": \"2018-12-04T06:00:00-08:00\",\n \"y\": 981\n },\n {\n \"x\": \"2018-12-04T07:00:00-08:00\",\n \"y\": 1008\n },\n {\n \"x\": \"2018-12-04T08:00:00-08:00\",\n \"y\": 734\n },\n {\n \"x\": \"2018-12-04T09:00:00-08:00\",\n \"y\": 307\n },\n {\n \"x\": \"2018-12-04T10:00:00-08:00\",\n \"y\": 227\n },\n {\n \"x\": \"2018-12-04T11:00:00-08:00\",\n \"y\": 445\n },\n {\n \"x\": \"2018-12-04T12:00:00-08:00\",\n \"y\": 1181\n },\n {\n \"x\": \"2018-12-04T13:00:00-08:00\",\n \"y\": 937\n },\n {\n \"x\": \"2018-12-04T14:00:00-08:00\",\n \"y\": 506\n },\n {\n \"x\": \"2018-12-04T15:00:00-08:00\",\n \"y\": 1064\n },\n {\n \"x\": \"2018-12-04T16:00:00-08:00\",\n \"y\": 459\n },\n {\n \"x\": \"2018-12-04T17:00:00-08:00\",\n \"y\": 693\n },\n {\n \"x\": \"2018-12-04T18:00:00-08:00\",\n \"y\": 760\n },\n {\n \"x\": \"2018-12-04T19:00:00-08:00\",\n \"y\": 277\n },\n {\n \"x\": \"2018-12-04T20:00:00-08:00\",\n \"y\": 460\n },\n {\n \"x\": \"2018-12-04T21:00:00-08:00\",\n \"y\": 690\n },\n {\n \"x\": \"2018-12-04T22:00:00-08:00\",\n \"y\": 940\n },\n {\n \"x\": \"2018-12-04T23:00:00-08:00\",\n \"y\": 118\n },\n {\n \"x\": \"2018-12-05T00:00:00-08:00\",\n \"y\": 809\n },\n {\n \"x\": \"2018-12-05T01:00:00-08:00\",\n \"y\": 11\n },\n {\n \"x\": \"2018-12-05T02:00:00-08:00\",\n \"y\": 685\n },\n {\n \"x\": \"2018-12-05T03:00:00-08:00\",\n \"y\": 1064\n },\n {\n \"x\": \"2018-12-05T04:00:00-08:00\",\n \"y\": 370\n },\n {\n \"x\": \"2018-12-05T05:00:00-08:00\",\n \"y\": 879\n },\n {\n \"x\": \"2018-12-05T06:00:00-08:00\",\n \"y\": 1371\n },\n {\n \"x\": \"2018-12-05T07:00:00-08:00\",\n \"y\": 122\n },\n {\n \"x\": \"2018-12-05T08:00:00-08:00\",\n \"y\": 24\n },\n {\n \"x\": \"2018-12-05T09:00:00-08:00\",\n \"y\": 635\n },\n {\n \"x\": \"2018-12-05T10:00:00-08:00\",\n \"y\": 617\n },\n {\n \"x\": \"2018-12-05T11:00:00-08:00\",\n \"y\": 928\n },\n {\n \"x\": \"2018-12-05T12:00:00-08:00\",\n \"y\": 529\n },\n {\n \"x\": \"2018-12-05T13:00:00-08:00\",\n \"y\": 1471\n },\n {\n \"x\": \"2018-12-05T14:00:00-08:00\",\n \"y\": 928\n },\n {\n \"x\": \"2018-12-05T15:00:00-08:00\",\n \"y\": 1191\n },\n {\n \"x\": \"2018-12-05T16:00:00-08:00\",\n \"y\": 1303\n },\n {\n \"x\": \"2018-12-05T17:00:00-08:00\",\n \"y\": 923\n },\n {\n \"x\": \"2018-12-05T18:00:00-08:00\",\n \"y\": 75\n },\n {\n \"x\": \"2018-12-05T19:00:00-08:00\",\n \"y\": 284\n },\n {\n \"x\": \"2018-12-05T20:00:00-08:00\",\n \"y\": 1542\n },\n {\n \"x\": \"2018-12-05T21:00:00-08:00\",\n \"y\": 1494\n },\n {\n \"x\": \"2018-12-05T22:00:00-08:00\",\n \"y\": 306\n },\n {\n \"x\": \"2018-12-05T23:00:00-08:00\",\n \"y\": 107\n },\n {\n \"x\": \"2018-12-06T00:00:00-08:00\",\n \"y\": 354\n },\n {\n \"x\": \"2018-12-06T01:00:00-08:00\",\n \"y\": 445\n },\n {\n \"x\": \"2018-12-06T02:00:00-08:00\",\n \"y\": 839\n },\n {\n \"x\": \"2018-12-06T03:00:00-08:00\",\n \"y\": 1586\n },\n {\n \"x\": \"2018-12-06T04:00:00-08:00\",\n \"y\": 953\n },\n {\n \"x\": \"2018-12-06T05:00:00-08:00\",\n \"y\": 407\n },\n {\n \"x\": \"2018-12-06T06:00:00-08:00\",\n \"y\": 327\n },\n {\n \"x\": \"2018-12-06T07:00:00-08:00\",\n \"y\": 781\n },\n {\n \"x\": \"2018-12-06T08:00:00-08:00\",\n \"y\": 666\n },\n {\n \"x\": \"2018-12-06T09:00:00-08:00\",\n \"y\": 235\n },\n {\n \"x\": \"2018-12-06T10:00:00-08:00\",\n \"y\": 138\n },\n {\n \"x\": \"2018-12-06T11:00:00-08:00\",\n \"y\": 1427\n },\n {\n \"x\": \"2018-12-06T12:00:00-08:00\",\n \"y\": 246\n },\n {\n \"x\": \"2018-12-06T13:00:00-08:00\",\n \"y\": 753\n },\n {\n \"x\": \"2018-12-06T14:00:00-08:00\",\n \"y\": 188\n },\n {\n \"x\": \"2018-12-06T15:00:00-08:00\",\n \"y\": 1238\n },\n {\n \"x\": \"2018-12-06T16:00:00-08:00\",\n \"y\": 723\n },\n {\n \"x\": \"2018-12-06T17:00:00-08:00\",\n \"y\": 901\n },\n {\n \"x\": \"2018-12-06T18:00:00-08:00\",\n \"y\": 971\n },\n {\n \"x\": \"2018-12-06T19:00:00-08:00\",\n \"y\": 626\n },\n {\n \"x\": \"2018-12-06T20:00:00-08:00\",\n \"y\": 585\n },\n {\n \"x\": \"2018-12-06T21:00:00-08:00\",\n \"y\": 275\n },\n {\n \"x\": \"2018-12-06T22:00:00-08:00\",\n \"y\": 138\n },\n {\n \"x\": \"2018-12-06T23:00:00-08:00\",\n \"y\": 159\n },\n {\n \"x\": \"2018-12-07T00:00:00-08:00\",\n \"y\": 1324\n },\n {\n \"x\": \"2018-12-07T01:00:00-08:00\",\n \"y\": 1654\n },\n {\n \"x\": \"2018-12-07T02:00:00-08:00\",\n \"y\": 474\n },\n {\n \"x\": \"2018-12-07T03:00:00-08:00\",\n \"y\": 442\n },\n {\n \"x\": \"2018-12-07T04:00:00-08:00\",\n \"y\": 1729\n },\n {\n \"x\": \"2018-12-07T05:00:00-08:00\",\n \"y\": 1146\n },\n {\n \"x\": \"2018-12-07T06:00:00-08:00\",\n \"y\": 824\n },\n {\n \"x\": \"2018-12-07T07:00:00-08:00\",\n \"y\": 632\n },\n {\n \"x\": \"2018-12-07T08:00:00-08:00\",\n \"y\": 1780\n },\n {\n \"x\": \"2018-12-07T09:00:00-08:00\",\n \"y\": 120\n },\n {\n \"x\": \"2018-12-07T10:00:00-08:00\",\n \"y\": 1400\n },\n {\n \"x\": \"2018-12-07T11:00:00-08:00\",\n \"y\": 1138\n },\n {\n \"x\": \"2018-12-07T12:00:00-08:00\",\n \"y\": 1765\n },\n {\n \"x\": \"2018-12-07T13:00:00-08:00\",\n \"y\": 1242\n },\n {\n \"x\": \"2018-12-07T14:00:00-08:00\",\n \"y\": 399\n },\n {\n \"x\": \"2018-12-07T15:00:00-08:00\",\n \"y\": 105\n },\n {\n \"x\": \"2018-12-07T16:00:00-08:00\",\n \"y\": 896\n },\n {\n \"x\": \"2018-12-07T17:00:00-08:00\",\n \"y\": 1043\n },\n {\n \"x\": \"2018-12-07T18:00:00-08:00\",\n \"y\": 1463\n },\n {\n \"x\": \"2018-12-07T19:00:00-08:00\",\n \"y\": 130\n },\n {\n \"x\": \"2018-12-07T20:00:00-08:00\",\n \"y\": 1151\n },\n {\n \"x\": \"2018-12-07T21:00:00-08:00\",\n \"y\": 659\n },\n {\n \"x\": \"2018-12-07T22:00:00-08:00\",\n \"y\": 379\n },\n {\n \"x\": \"2018-12-07T23:00:00-08:00\",\n \"y\": 463\n },\n {\n \"x\": \"2018-12-08T00:00:00-08:00\",\n \"y\": 433\n },\n {\n \"x\": \"2018-12-08T01:00:00-08:00\",\n \"y\": 1583\n },\n {\n \"x\": \"2018-12-08T02:00:00-08:00\",\n \"y\": 1435\n },\n {\n \"x\": \"2018-12-08T03:00:00-08:00\",\n \"y\": 1260\n },\n {\n \"x\": \"2018-12-08T04:00:00-08:00\",\n \"y\": 1146\n },\n {\n \"x\": \"2018-12-08T05:00:00-08:00\",\n \"y\": 1614\n },\n {\n \"x\": \"2018-12-08T06:00:00-08:00\",\n \"y\": 1659\n },\n {\n \"x\": \"2018-12-08T07:00:00-08:00\",\n \"y\": 485\n },\n {\n \"x\": \"2018-12-08T08:00:00-08:00\",\n \"y\": 1373\n },\n {\n \"x\": \"2018-12-08T09:00:00-08:00\",\n \"y\": 1758\n },\n {\n \"x\": \"2018-12-08T10:00:00-08:00\",\n \"y\": 1078\n },\n {\n \"x\": \"2018-12-08T11:00:00-08:00\",\n \"y\": 1691\n },\n {\n \"x\": \"2018-12-08T12:00:00-08:00\",\n \"y\": 1739\n },\n {\n \"x\": \"2018-12-08T13:00:00-08:00\",\n \"y\": 1024\n },\n {\n \"x\": \"2018-12-08T14:00:00-08:00\",\n \"y\": 114\n },\n {\n \"x\": \"2018-12-08T15:00:00-08:00\",\n \"y\": 1818\n },\n {\n \"x\": \"2018-12-08T16:00:00-08:00\",\n \"y\": 1855\n },\n {\n \"x\": \"2018-12-08T17:00:00-08:00\",\n \"y\": 1205\n },\n {\n \"x\": \"2018-12-08T18:00:00-08:00\",\n \"y\": 1123\n },\n {\n \"x\": \"2018-12-08T19:00:00-08:00\",\n \"y\": 1\n },\n {\n \"x\": \"2018-12-08T20:00:00-08:00\",\n \"y\": 1489\n },\n {\n \"x\": \"2018-12-08T21:00:00-08:00\",\n \"y\": 1665\n },\n {\n \"x\": \"2018-12-08T22:00:00-08:00\",\n \"y\": 512\n },\n {\n \"x\": \"2018-12-08T23:00:00-08:00\",\n \"y\": 2086\n },\n {\n \"x\": \"2018-12-09T00:00:00-08:00\",\n \"y\": 335\n },\n {\n \"x\": \"2018-12-09T01:00:00-08:00\",\n \"y\": 512\n },\n {\n \"x\": \"2018-12-09T02:00:00-08:00\",\n \"y\": 410\n },\n {\n \"x\": \"2018-12-09T03:00:00-08:00\",\n \"y\": 941\n },\n {\n \"x\": \"2018-12-09T04:00:00-08:00\",\n \"y\": 2134\n },\n {\n \"x\": \"2018-12-09T05:00:00-08:00\",\n \"y\": 65\n },\n {\n \"x\": \"2018-12-09T06:00:00-08:00\",\n \"y\": 372\n },\n {\n \"x\": \"2018-12-09T07:00:00-08:00\",\n \"y\": 2429\n },\n {\n \"x\": \"2018-12-09T08:00:00-08:00\",\n \"y\": 1014\n },\n {\n \"x\": \"2018-12-09T09:00:00-08:00\",\n \"y\": 1029\n },\n {\n \"x\": \"2018-12-09T10:00:00-08:00\",\n \"y\": 605\n },\n {\n \"x\": \"2018-12-09T11:00:00-08:00\",\n \"y\": 2063\n },\n {\n \"x\": \"2018-12-09T12:00:00-08:00\",\n \"y\": 1415\n },\n {\n \"x\": \"2018-12-09T13:00:00-08:00\",\n \"y\": 2058\n },\n {\n \"x\": \"2018-12-09T14:00:00-08:00\",\n \"y\": 1754\n },\n {\n \"x\": \"2018-12-09T15:00:00-08:00\",\n \"y\": 1381\n },\n {\n \"x\": \"2018-12-09T16:00:00-08:00\",\n \"y\": 896\n },\n {\n \"x\": \"2018-12-09T17:00:00-08:00\",\n \"y\": 1615\n },\n {\n \"x\": \"2018-12-09T18:00:00-08:00\",\n \"y\": 882\n },\n {\n \"x\": \"2018-12-09T19:00:00-08:00\",\n \"y\": 2280\n },\n {\n \"x\": \"2018-12-09T20:00:00-08:00\",\n \"y\": 1624\n },\n {\n \"x\": \"2018-12-09T21:00:00-08:00\",\n \"y\": 1265\n },\n {\n \"x\": \"2018-12-09T22:00:00-08:00\",\n \"y\": 2200\n },\n {\n \"x\": \"2018-12-09T23:00:00-08:00\",\n \"y\": 1826\n },\n {\n \"x\": \"2018-12-10T00:00:00-08:00\",\n \"y\": 2523\n },\n {\n \"x\": \"2018-12-10T01:00:00-08:00\",\n \"y\": 2292\n },\n {\n \"x\": \"2018-12-10T02:00:00-08:00\",\n \"y\": 1280\n },\n {\n \"x\": \"2018-12-10T03:00:00-08:00\",\n \"y\": 1345\n },\n {\n \"x\": \"2018-12-10T04:00:00-08:00\",\n \"y\": 2643\n },\n {\n \"x\": \"2018-12-10T05:00:00-08:00\",\n \"y\": 965\n },\n {\n \"x\": \"2018-12-10T06:00:00-08:00\",\n \"y\": 1951\n },\n {\n \"x\": \"2018-12-10T07:00:00-08:00\",\n \"y\": 1894\n },\n {\n \"x\": \"2018-12-10T08:00:00-08:00\",\n \"y\": 2273\n },\n {\n \"x\": \"2018-12-10T09:00:00-08:00\",\n \"y\": 2267\n },\n {\n \"x\": \"2018-12-10T10:00:00-08:00\",\n \"y\": 393\n },\n {\n \"x\": \"2018-12-10T11:00:00-08:00\",\n \"y\": 227\n }\n ]\n}"
}
]
"response": []
},
{
"name": "View Service Ping Data",

0 comments on commit 69b3cb4

Please sign in to comment.