From 53ef77f254223e19e8185ffd9de85f101ad187a6 Mon Sep 17 00:00:00 2001 From: Rene Robert Date: Thu, 24 Jan 2019 18:24:55 +0100 Subject: add Postman Collection Issue-ID: INT-825 Change-Id: I95b99798462ab5852d8da90bb337d818e80c0ef8 Signed-off-by: Rene Robert --- ...siness_project_platform.postman_collection.json | 144 +++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json (limited to 'test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json') diff --git a/test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json b/test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json new file mode 100644 index 000000000..a77751ca8 --- /dev/null +++ b/test/postman/07_Declare_owningEntity_LineOfBusiness_project_platform.postman_collection.json @@ -0,0 +1,144 @@ +{ + "variables": [], + "info": { + "name": "07_Declare_owningEntity_LineOfBusiness_project_platform", + "_postman_id": "7143bf9e-0167-af43-26cb-0cec6550dcd1", + "description": "", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "Declare owningEntity", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/owningEntity", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + }, + { + "key": "Accept-Encoding", + "value": "gzip, deflate", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{owning_entity}}\"]\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Declare platform", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/platform", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{platform}}\"]\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Declare lineOfBusiness", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/lineOfBusiness", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{lineofbusiness}}\"]\n}" + }, + "description": "" + }, + "response": [] + }, + { + "name": "Declare project", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "tests[\"Status code is 200\"] = (responseCode.code === 200) || (responseCode.code === 207) ;", + "" + ] + } + } + ], + "request": { + "url": "{{url-vid}}/vid/maintenance/category_parameter/project", + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"options\": [\"{{project}}\"]\n}" + }, + "description": "" + }, + "response": [] + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg