Skip to content

Commit

Permalink
fix: postman test host (#5935)
Browse files Browse the repository at this point in the history
  • Loading branch information
haneabogdan authored Oct 16, 2024
1 parent cfc39b7 commit 7a03bbb
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 80 deletions.
Binary file removed cmd/testworkflow-toolkit/testworkflow-toolkit
Binary file not shown.
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": [""]
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url": {
"raw": "https://testkube-test-page-lipsum.pages.dev/",
"protocol": "https",
"host": ["testkube", "kubeshop", "io"],
"host": ["testkube-test-page-lipsum", "pages", "dev"],
"path": [""]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"url": {
"raw": "https://testkube-test-page-lipsum.pages.dev/",
"protocol": "https",
"host": ["testkube", "kubeshop", "io"],
"host": ["testkube-test-page-lipsum", "pages", "dev"],
"path": [""]
}
},
Expand Down

0 comments on commit 7a03bbb

Please sign in to comment.