aboutsummaryrefslogtreecommitdiffstats
path: root/test/postman/03_Onboard_VSP_part2.postman_collection.json
diff options
context:
space:
mode:
authorRene_Robert <rene.robert@orange.com>2019-07-30 17:11:26 +0200
committerRené ROBERT <rene.robert@orange.com>2019-08-01 06:42:30 +0000
commitf049426bfd8142f0ee9851d7ec6281b5c2b5f2e0 (patch)
tree3ccae4a6e74078824f53b6c49c0e19b2e16910af /test/postman/03_Onboard_VSP_part2.postman_collection.json
parent11b0d73014e1c680591f3989a8d54425f1383a15 (diff)
Issue-ID: INT-1178
updated Postman collection for Dublin Signed-off-by: Rene_Robert <rene.robert@orange.com> Change-Id: I94b9180e86b96f75780854211da67d85acc90d48 (cherry picked from commit 0ebd04f1cbce5640747b6791582c7b8db09ef8ea)
Diffstat (limited to 'test/postman/03_Onboard_VSP_part2.postman_collection.json')
-rw-r--r--test/postman/03_Onboard_VSP_part2.postman_collection.json54
1 files changed, 32 insertions, 22 deletions
diff --git a/test/postman/03_Onboard_VSP_part2.postman_collection.json b/test/postman/03_Onboard_VSP_part2.postman_collection.json
index 5d411eae0..8a5392c5f 100644
--- a/test/postman/03_Onboard_VSP_part2.postman_collection.json
+++ b/test/postman/03_Onboard_VSP_part2.postman_collection.json
@@ -1,10 +1,8 @@
{
- "variables": [],
"info": {
+ "_postman_id": "cbb6c6d5-bcfb-4867-b6a3-36c2b56325bb",
"name": "03_Onboard_VSP_part2",
- "_postman_id": "296fe94c-89fd-6a70-53ee-e5e5faa6f570",
- "description": "",
- "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
@@ -13,49 +11,46 @@
{
"listen": "test",
"script": {
- "type": "text/javascript",
+ "id": "033f8cad-de66-4de9-8858-f3c72629c838",
"exec": [
- "tests[\"Status code is 200\"] = responseCode.code === 200;",
+ "pm.test(\"Status code is 200\", function () {",
+ " pm.response.to.have.status(200);",
+ "});",
"",
- "var jsonData = JSON.parse(responseBody);",
+ "var jsonData = pm.response.json();",
"",
"if (jsonData.status === \"Success\") {",
" tests[\"Upload Success\"] = true; ",
"}",
"",
""
- ]
+ ],
+ "type": "text/javascript"
}
}
],
"request": {
- "url": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/orchestration-template-candidate",
"method": "POST",
"header": [
{
"key": "Content-Type",
- "value": "multipart/form-data",
- "description": ""
+ "value": "multipart/form-data"
},
{
"key": "Accept",
- "value": "application/json",
- "description": ""
+ "value": "application/json"
},
{
"key": "X-TransactionId",
- "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a",
- "description": ""
+ "value": "robot-ete-ba84612d-c1c6-4c53-9967-7b1dff276c7a"
},
{
"key": "USER_ID",
- "value": "cs0008",
- "description": ""
+ "value": "cs0008"
},
{
"key": "X-FromAppId",
- "value": "robot-ete",
- "description": ""
+ "value": "robot-ete"
}
],
"body": {
@@ -64,12 +59,27 @@
{
"key": "upload",
"type": "file",
- "src": "ubuntu16.zip",
- "value": ""
+ "src": ""
}
]
},
- "description": ""
+ "url": {
+ "raw": "{{url-sdc2}}/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/{{auto_vsp_id}}/versions/{{auto_vsp_version_id}}/orchestration-template-candidate",
+ "host": [
+ "{{url-sdc2}}"
+ ],
+ "path": [
+ "sdc1",
+ "feProxy",
+ "onboarding-api",
+ "v1.0",
+ "vendor-software-products",
+ "{{auto_vsp_id}}",
+ "versions",
+ "{{auto_vsp_version_id}}",
+ "orchestration-template-candidate"
+ ]
+ }
},
"response": []
}