-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfc39b7
commit 7a03bbb
Showing
4 changed files
with
68 additions
and
80 deletions.
There are no files selected for viewing
Binary file not shown.
144 changes: 66 additions & 78 deletions
144
test/postman/executor-tests/postman-executor-smoke-negative.postman_collection.json
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 |
---|---|---|
@@ -1,79 +1,67 @@ | ||
{ | ||
"info": { | ||
"_postman_id": "7162980e-a593-4191-ac46-93d1d4850266", | ||
"name": "postman-executor-smoke-negative", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | ||
"_exporter_id": "22855798" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "request", | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"exec": [ | ||
"" | ||
], | ||
"type": "text/javascript" | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"exec": [ | ||
"const TESTKUBE_POSTMAN = pm.environment.get(\"TESTKUBE_POSTMAN\")", | ||
"console.log(`TESTKUBE_POSTMAN ENV: ${TESTKUBE_POSTMAN}`)", | ||
"", | ||
"", | ||
"pm.test(\"'TESTKUBE_POSTMAN' env should be set to 'TESTKUBE_POSTMAN_value' value\", () => {", | ||
" pm.expect(TESTKUBE_POSTMAN).to.eql(\"TESTKUBE_POSTMAN_value\");", | ||
"});" | ||
], | ||
"type": "text/javascript" | ||
} | ||
} | ||
], | ||
"request": { | ||
"auth": { | ||
"type": "noauth" | ||
}, | ||
"method": "GET", | ||
"header": [], | ||
"url": { | ||
"raw": "https://testkube.non.existing.url.example", | ||
"protocol": "https", | ||
"host": [ | ||
"testkube", | ||
"kubeshop", | ||
"io" | ||
], | ||
"path": [ | ||
"" | ||
] | ||
} | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [ | ||
"" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
"info": { | ||
"_postman_id": "7162980e-a593-4191-ac46-93d1d4850266", | ||
"name": "postman-executor-smoke-negative", | ||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | ||
"_exporter_id": "22855798" | ||
}, | ||
"item": [ | ||
{ | ||
"name": "request", | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"exec": [""], | ||
"type": "text/javascript" | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"exec": [ | ||
"const TESTKUBE_POSTMAN = pm.environment.get(\"TESTKUBE_POSTMAN\")", | ||
"console.log(`TESTKUBE_POSTMAN ENV: ${TESTKUBE_POSTMAN}`)", | ||
"", | ||
"", | ||
"pm.test(\"'TESTKUBE_POSTMAN' env should be set to 'TESTKUBE_POSTMAN_value' value\", () => {", | ||
" pm.expect(TESTKUBE_POSTMAN).to.eql(\"TESTKUBE_POSTMAN_value\");", | ||
"});" | ||
], | ||
"type": "text/javascript" | ||
} | ||
} | ||
], | ||
"request": { | ||
"auth": { | ||
"type": "noauth" | ||
}, | ||
"method": "GET", | ||
"header": [], | ||
"url": { | ||
"raw": "https://testkube.non.existing.url.example", | ||
"protocol": "https", | ||
"host": ["testkube-test-page-lipsum", "pages", "dev"], | ||
"path": [""] | ||
} | ||
}, | ||
"response": [] | ||
} | ||
], | ||
"event": [ | ||
{ | ||
"listen": "prerequest", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [""] | ||
} | ||
}, | ||
{ | ||
"listen": "test", | ||
"script": { | ||
"type": "text/javascript", | ||
"exec": [""] | ||
} | ||
} | ||
] | ||
} |
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