Skip to content

Commit

Permalink
Merge pull request #432 from sanjeewa-malalgoda/main
Browse files Browse the repository at this point in the history
Update tests
  • Loading branch information
tharindu1st authored Dec 23, 2022
2 parents 027e828 + 65add4d commit dc427f5
Showing 1 changed file with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit dc427f5

Please sign in to comment.