Skip to content

Commit

Permalink
#29719 fix tests in 23.10.24 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgonzalez committed Sep 24, 2024
1 parent 8ef01f1 commit 088fee7
Showing 1 changed file with 1 addition and 196 deletions.
197 changes: 1 addition & 196 deletions dotCMS/src/curl-test/System.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,201 +147,6 @@
"response": []
}
]
},
{
"name": "Monitor Resource",
"item": [
{
"name": "System-Status",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code should be 200\", function () {",
" pm.response.to.have.status(200);",
"});",
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "admin",
"type": "string"
},
{
"key": "username",
"value": "[email protected]",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{serverURL}}/api/v1/system-status",
"host": [
"{{serverURL}}"
],
"path": [
"api",
"v1",
"system-status"
]
}
},
"response": []
},
{
"name": "System-Status Extended",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code should be 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var jsonData = pm.response.json();",
"",
"pm.test(\"System-Status check\", function () {",
"",
" pm.expect(jsonData.backendHealthy).to.be.eql(true); ",
" pm.expect(jsonData.frontendHealthy).to.be.eql(true);",
"",
" pm.expect(jsonData.subsystems.assetFSHealthy).to.be.eql(true);",
" pm.expect(jsonData.subsystems.cacheHealthy).to.be.eql(true);",
" pm.expect(jsonData.subsystems.dbSelectHealthy).to.be.eql(true);",
" pm.expect(jsonData.subsystems.indexLiveHealthy).to.be.eql(true);",
" pm.expect(jsonData.subsystems.indexWorkingHealthy).to.be.eql(true);",
" pm.expect(jsonData.subsystems.localFSHealthy).to.be.eql(true);",
"});"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "admin",
"type": "string"
},
{
"key": "username",
"value": "[email protected]",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{serverURL}}/api/v1/system-status?extended=true",
"host": [
"{{serverURL}}"
],
"path": [
"api",
"v1",
"system-status"
],
"query": [
{
"key": "extended",
"value": "true"
}
]
}
},
"response": []
},
{
"name": "System-Status Alive",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code should be 200\", function () {",
" pm.response.to.have.status(200);",
"});"
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "admin",
"type": "string"
},
{
"key": "username",
"value": "[email protected]",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{serverURL}}/api/v1/system-status",
"host": [
"{{serverURL}}"
],
"path": [
"api",
"v1",
"system-status"
]
}
},
"response": []
}
]
}
]
}
}

0 comments on commit 088fee7

Please sign in to comment.