This repository has been archived by the owner on Jun 6, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into release/1.0.0
- Loading branch information
Showing
9 changed files
with
244 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,4 @@ pyenv | |
vendor/pkg/ | ||
.idea | ||
node_modules | ||
npm-debug.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"id": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"name": "newmanTest", | ||
"description": "Makes four requests to HTTPBin (httpbin.org) and tests Newman", | ||
"order": [ | ||
"9f169dc0-7444-b89e-a7e0-950af47bd7da", | ||
"d83dcc96-27f1-47d7-b35f-2095ef5fddc8", | ||
"0f22ce8f-df9b-af6d-6c5a-5aef8a81e272", | ||
"3dca05d0-7060-8ad9-1e28-0b63fed60715" | ||
], | ||
"folders": [], | ||
"timestamp": 1438249510749, | ||
"owner": "1260", | ||
"remoteLink": "", | ||
"public": false, | ||
"requests": [ | ||
{ | ||
"id": "0f22ce8f-df9b-af6d-6c5a-5aef8a81e272", | ||
"headers": "", | ||
"url": "http://{{serverloc}}/delete", | ||
"pathVariables": {}, | ||
"preRequestScript": "", | ||
"method": "DELETE", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"data": [], | ||
"dataMode": "params", | ||
"name": "DELETE request", | ||
"description": "", | ||
"descriptionFormat": "html", | ||
"time": 1438250164765, | ||
"version": 2, | ||
"responses": [], | ||
"tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", | ||
"currentHelper": "normal", | ||
"helperAttributes": {} | ||
}, | ||
{ | ||
"id": "3dca05d0-7060-8ad9-1e28-0b63fed60715", | ||
"headers": "", | ||
"url": "http://{{serverloc}}/put", | ||
"pathVariables": {}, | ||
"preRequestScript": "", | ||
"method": "PUT", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"data": [ | ||
{ | ||
"key": "quotient", | ||
"value": "223", | ||
"type": "text", | ||
"enabled": true | ||
} | ||
], | ||
"dataMode": "urlencoded", | ||
"name": "PUT with form data", | ||
"description": "", | ||
"descriptionFormat": "html", | ||
"time": 1438250517000, | ||
"version": 2, | ||
"responses": [], | ||
"tests": "var data = JSON.parse(responseBody);\ntests[\"Test form data\"] = data.form.quotient === \"223\";", | ||
"currentHelper": "normal", | ||
"helperAttributes": {} | ||
}, | ||
{ | ||
"id": "9f169dc0-7444-b89e-a7e0-950af47bd7da", | ||
"headers": "", | ||
"url": "http://{{serverloc}}/get?lol=true", | ||
"preRequestScript": "", | ||
"pathVariables": {}, | ||
"method": "GET", | ||
"data": [], | ||
"dataMode": "params", | ||
"version": 2, | ||
"tests": "var data = JSON.parse(responseBody);\ntests[\"Response contains params\"] = data.args.lol === \"true\";", | ||
"currentHelper": "normal", | ||
"helperAttributes": {}, | ||
"time": 1438250908857, | ||
"name": "GET with URL Params", | ||
"description": "Simple GET request with URL Parameters", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"responses": [] | ||
}, | ||
{ | ||
"id": "d83dcc96-27f1-47d7-b35f-2095ef5fddc8", | ||
"headers": "Content-Type: application/json\n", | ||
"url": "http://{{serverloc}}/post", | ||
"pathVariables": {}, | ||
"preRequestScript": "", | ||
"method": "POST", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"data": [], | ||
"dataMode": "raw", | ||
"name": "POST with JSON body", | ||
"description": "", | ||
"descriptionFormat": "html", | ||
"time": 1438250049106, | ||
"version": 2, | ||
"responses": [], | ||
"tests": "var data = JSON.parse(responseBody);\ntests[\"Check POST param in response\"] = data.json.something === \"cool\";", | ||
"currentHelper": "normal", | ||
"helperAttributes": {}, | ||
"rawModeData": "{\n \"something\": \"cool\"\n}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"id": "25c52d73-03ce-0305-ab32-3c50f9795895", | ||
"name": "HttpBin Env", | ||
"values": [ | ||
{ | ||
"key": "serverloc", | ||
"value": "httpbin.org", | ||
"type": "text", | ||
"name": "serverloc", | ||
"enabled": true | ||
} | ||
], | ||
"timestamp": 1437635065317, | ||
"synced": false, | ||
"syncedFilename": "" | ||
} |
105 changes: 105 additions & 0 deletions
105
tests/data/HTTPBinNewmanTestNoEnv.json.postman_collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"id": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"name": "newmanTest", | ||
"description": "Makes four requests to HTTPBin (httpbin.org) and tests Newman", | ||
"order": [ | ||
"9f169dc0-7444-b89e-a7e0-950af47bd7da", | ||
"d83dcc96-27f1-47d7-b35f-2095ef5fddc8", | ||
"0f22ce8f-df9b-af6d-6c5a-5aef8a81e272", | ||
"3dca05d0-7060-8ad9-1e28-0b63fed60715" | ||
], | ||
"folders": [], | ||
"timestamp": 1438249510749, | ||
"owner": "1260", | ||
"remoteLink": "", | ||
"public": false, | ||
"requests": [ | ||
{ | ||
"id": "0f22ce8f-df9b-af6d-6c5a-5aef8a81e272", | ||
"headers": "", | ||
"url": "http://httpbin.org/delete", | ||
"pathVariables": {}, | ||
"preRequestScript": "", | ||
"method": "DELETE", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"data": [], | ||
"dataMode": "params", | ||
"name": "DELETE request", | ||
"description": "", | ||
"descriptionFormat": "html", | ||
"time": 1438250164765, | ||
"version": 2, | ||
"responses": [], | ||
"tests": "tests[\"Status code is 200\"] = responseCode.code === 200;", | ||
"currentHelper": "normal", | ||
"helperAttributes": {} | ||
}, | ||
{ | ||
"id": "3dca05d0-7060-8ad9-1e28-0b63fed60715", | ||
"headers": "", | ||
"url": "http://httpbin.org/put", | ||
"pathVariables": {}, | ||
"preRequestScript": "", | ||
"method": "PUT", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"data": [ | ||
{ | ||
"key": "quotient", | ||
"value": "223", | ||
"type": "text", | ||
"enabled": true | ||
} | ||
], | ||
"dataMode": "urlencoded", | ||
"name": "PUT with form data", | ||
"description": "", | ||
"descriptionFormat": "html", | ||
"time": 1438250517000, | ||
"version": 2, | ||
"responses": [], | ||
"tests": "var data = JSON.parse(responseBody);\ntests[\"Test form data\"] = data.form.quotient === \"223\";", | ||
"currentHelper": "normal", | ||
"helperAttributes": {} | ||
}, | ||
{ | ||
"id": "9f169dc0-7444-b89e-a7e0-950af47bd7da", | ||
"headers": "", | ||
"url": "http://httpbin.org/get?lol=true", | ||
"preRequestScript": "", | ||
"pathVariables": {}, | ||
"method": "GET", | ||
"data": [], | ||
"dataMode": "params", | ||
"version": 2, | ||
"tests": "var data = JSON.parse(responseBody);\ntests[\"Response contains params\"] = data.args.lol === \"true\";", | ||
"currentHelper": "normal", | ||
"helperAttributes": {}, | ||
"time": 1438250908857, | ||
"name": "GET with URL Params", | ||
"description": "Simple GET request with URL Parameters", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"responses": [] | ||
}, | ||
{ | ||
"id": "d83dcc96-27f1-47d7-b35f-2095ef5fddc8", | ||
"headers": "Content-Type: application/json\n", | ||
"url": "http://httpbin.org/post", | ||
"pathVariables": {}, | ||
"preRequestScript": "", | ||
"method": "POST", | ||
"collectionId": "99315123-992f-c284-d6dc-b00be1d6be62", | ||
"data": [], | ||
"dataMode": "raw", | ||
"name": "POST with JSON body", | ||
"description": "", | ||
"descriptionFormat": "html", | ||
"time": 1438250049106, | ||
"version": 2, | ||
"responses": [], | ||
"tests": "var data = JSON.parse(responseBody);\ntests[\"Check POST param in response\"] = data.json.something === \"cool\";", | ||
"currentHelper": "normal", | ||
"helperAttributes": {}, | ||
"rawModeData": "{\n \"something\": \"cool\"\n}" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters