newman-reporter-slackreporter
Version:
76 lines • 1.43 kB
JSON
{
"info": {
"_postman_id": "14849d35-a25c-42c8-9bfc-30c823c62da2",
"name": "test",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "test",
"event": [
{
"listen": "test",
"script": {
"id": "fdb4ea21-d1f3-4e90-b5f9-80e7f579bd2f",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.expect(pm.response.to.have.status(200));",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://postman-echo.com/get",
"protocol": "https",
"host": [
"postman-echo",
"com"
],
"path": [
"get"
]
}
},
"response": []
},
{
"name": "footest",
"event": [
{
"listen": "test",
"script": {
"id": "24b1a999-4894-4375-a30a-185c809cb820",
"exec": [
"pm.test(\"Status code is 400\", function () {",
" pm.expect(pm.response.to.have.status(400));",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://postman-echo.com/get",
"protocol": "https",
"host": [
"postman-echo",
"com"
],
"path": [
"get"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}