github.com/kubeshop/testkube@v1.17.23/test/postman/Kubeshop.postman_collection.json (about) 1 { 2 "info": { 3 "_postman_id": "8af42c21-3e31-49c1-8b27-d6e60623a180", 4 "name": "Kubeshop", 5 "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" 6 }, 7 "item": [ 8 { 9 "name": "Home", 10 "event": [ 11 { 12 "listen": "test", 13 "script": { 14 "exec": [ 15 "pm.test(\"Body matches string\", function () {", 16 " pm.expect(pm.response.text()).to.include(\"K8s Accelerator\");", 17 "});" 18 ], 19 "type": "text/javascript" 20 } 21 } 22 ], 23 "request": { 24 "method": "GET", 25 "header": [], 26 "url": { 27 "raw": "https://kubeshop.io/", 28 "protocol": "https", 29 "host": [ 30 "kubeshop", 31 "io" 32 ], 33 "path": [ 34 "" 35 ] 36 } 37 }, 38 "response": [] 39 }, 40 { 41 "name": "Team", 42 "event": [ 43 { 44 "listen": "test", 45 "script": { 46 "exec": [ 47 "pm.test(\"Status code is 200\", function () {", 48 " pm.response.to.have.status(200);", 49 "});" 50 ], 51 "type": "text/javascript" 52 } 53 } 54 ], 55 "request": { 56 "method": "GET", 57 "header": [], 58 "url": { 59 "raw": "https://kubeshop.io/our-team", 60 "protocol": "https", 61 "host": [ 62 "kubeshop", 63 "io" 64 ], 65 "path": [ 66 "our-team" 67 ] 68 } 69 }, 70 "response": [] 71 } 72 ] 73 }