github.com/kubeshop/testkube@v1.17.23/test/postman/LocalHealth.postman_collection.json (about)

     1  {
     2  	"info": {
     3  		"_postman_id": "3d9a6be2-bd3e-4cf7-89ca-354103aab4a7",
     4  		"name": "Health",
     5  		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
     6  	},
     7  	"item": [
     8  		{
     9  			"name": "Health",
    10  			"event": [
    11  				{
    12  					"listen": "test",
    13  					"script": {
    14  						"exec": [
    15  							"pm.test(\"Status code is 200\", function () {",
    16  							"    pm.response.to.have.status(200);",
    17  							"});"
    18  						],
    19  						"type": "text/javascript"
    20  					}
    21  				}
    22  			],
    23  			"request": {
    24  				"method": "GET",
    25  				"header": [],
    26  				"url": {
    27  					"raw": "{{URI}}/health",
    28  					"host": [
    29  						"{{URI}}"
    30  					],
    31  					"path": [
    32  						"health"
    33  					]
    34  				}
    35  			},
    36  			"response": []
    37  		}
    38  	],
    39  	"event": [
    40  		{
    41  			"listen": "prerequest",
    42  			"script": {
    43  				"type": "text/javascript",
    44  				"exec": [
    45  					""
    46  				]
    47  			}
    48  		},
    49  		{
    50  			"listen": "test",
    51  			"script": {
    52  				"type": "text/javascript",
    53  				"exec": [
    54  					""
    55  				]
    56  			}
    57  		}
    58  	],
    59  	"variable": [
    60  		{
    61  			"key": "URI",
    62  			"value": "http://localhost:8080"
    63  		}
    64  	]
    65  }