Created
May 5, 2017 21:17
-
-
Save jjmeyer0/49461a0665fd19a4cac5b2f31e524840 to your computer and use it in GitHub Desktop.
Metron Config Kafka API Basic Tests
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
{ | |
"variables": [], | |
"info": { | |
"name": "Metron", | |
"_postman_id": "ff7e813b-ebc2-89dc-dd6d-862378c2f5cb", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Config UI", | |
"description": "", | |
"item": [ | |
{ | |
"name": "http://node1:8082/api/v1/kafka/topic/bro/sample", | |
"event": [ | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"tests[\"Status code is 200\"] = responseCode.code === 200;" | |
] | |
} | |
} | |
], | |
"request": { | |
"url": "http://node1:8082/api/v1/kafka/topic/bro/sample", | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Basic dXNlcjpwYXNzd29yZA==", | |
"description": "" | |
} | |
], | |
"body": {}, | |
"description": "Get a sample from the bro topic" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "http://node1:8082/api/v1/kafka/topic/bro", | |
"event": [ | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"tests[\"Status code is 200\"] = responseCode.code === 200;" | |
] | |
} | |
} | |
], | |
"request": { | |
"url": "http://node1:8082/api/v1/kafka/topic/bro", | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Basic dXNlcjpwYXNzd29yZA==", | |
"description": "" | |
} | |
], | |
"body": {}, | |
"description": "Get Kafka topic information." | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "http://node1:8082/api/v1/kafka/topic", | |
"event": [ | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"tests[\"Status code is 200\"] = responseCode.code === 200;" | |
] | |
} | |
} | |
], | |
"request": { | |
"url": "http://node1:8082/api/v1/kafka/topic", | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Basic dXNlcjpwYXNzd29yZA==", | |
"description": "" | |
} | |
], | |
"body": {}, | |
"description": "Get list of topics" | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "http://node1:8082/api/v1/kafka/topic/bro/sample copy", | |
"event": [ | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"tests[\"Status code is 200\"] = responseCode.code === 200;" | |
] | |
} | |
} | |
], | |
"request": { | |
"url": "http://node1:8082/api/v1/kafka/topic/bro/sample", | |
"method": "GET", | |
"header": [ | |
{ | |
"key": "Authorization", | |
"value": "Basic dXNlcjpwYXNzd29yZA==", | |
"description": "" | |
} | |
], | |
"body": {}, | |
"description": "Get a sample from the bro topic" | |
}, | |
"response": [] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment