From b9df00ed81cb223cb17086d391627fdc1e0a0ebb Mon Sep 17 00:00:00 2001 From: User Date: Fri, 23 Dec 2022 13:46:45 +0530 Subject: [PATCH 1/2] add delete 2nd API created by runtime tests --- ...t _Runtime_API _Operations-collection.json | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/test/postman-tests/resources/collections/Test _Runtime_API _Operations-collection.json b/test/postman-tests/resources/collections/Test _Runtime_API _Operations-collection.json index d7a01b997..2f1c4cc4f 100644 --- a/test/postman-tests/resources/collections/Test _Runtime_API _Operations-collection.json +++ b/test/postman-tests/resources/collections/Test _Runtime_API _Operations-collection.json @@ -561,6 +561,52 @@ } }, "response": [] + }, + { + "name": "RuntimeAPI Delete API", + "event": [ + { + "listen": "prerequest", + "script": { + "exec": [ + "pm.variables.set(\"APIUUID\",pm.collectionVariables.get('APIUUID'))", + "" + ], + "type": "text/javascript" + } + }, + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 200\", function () {", + " pm.response.to.have.status(200);", + "", + "});", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{runtimeAPIServerBaseURL}}/api/am/runtime/apis/{{APIV2UUID}}", + "host": [ + "{{runtimeAPIServerBaseURL}}" + ], + "path": [ + "api", + "am", + "runtime", + "apis", + "{{APIV2UUID}}" + ] + } + }, + "response": [] } ], "event": [ From 65add4d375a797b1bee5b2f2d79762a33c52c412 Mon Sep 17 00:00:00 2001 From: User Date: Fri, 23 Dec 2022 13:48:50 +0530 Subject: [PATCH 2/2] add delete 2nd API created by runtime tests --- ...ollection.json => Test_Runtime_API_Operations-collection.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/postman-tests/resources/collections/{Test _Runtime_API _Operations-collection.json => Test_Runtime_API_Operations-collection.json} (100%) diff --git a/test/postman-tests/resources/collections/Test _Runtime_API _Operations-collection.json b/test/postman-tests/resources/collections/Test_Runtime_API_Operations-collection.json similarity index 100% rename from test/postman-tests/resources/collections/Test _Runtime_API _Operations-collection.json rename to test/postman-tests/resources/collections/Test_Runtime_API_Operations-collection.json