GetAsset
Tests
| Test |
Duration |
Result |
| globalAdmin_canGetArbitraryAsset() |
1.442s |
passed |
| normalUser_canNotGetUnrelatedAsset() |
1.257s |
passed |
| projectAgentUser_canGetRelatedAsset() |
1.340s |
passed |
Standard output
ContextBasedTestWithCleanup.retrieveInitialTestData
projectAgentUser_canGetRelatedAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 13:33:26 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{
"uuid": "6a09b245-83e2-4e7b-bf15-839369deb4e6",
"type": "MANAGED_SERVER",
"identifier": "vm1013",
"caption": "some ManagedServer",
"alarmContact": null,
"config": {
"monit_max_ram_usage": 80,
"monit_max_ssd_usage": 70,
"monit_max_cpu_usage": 90
}
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
projectAgentUser_canGetRelatedAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canGetArbitraryAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 13:33:27 GMT
Keep-Alive: timeout=60
Connection: keep-alive
{
"uuid": "e387b793-482a-4a04-afc2-c8e0d22b829d",
"type": "MANAGED_SERVER",
"identifier": "vm1011",
"caption": "some ManagedServer",
"alarmContact": null,
"config": {
"monit_max_ram_usage": 80,
"monit_max_ssd_usage": 70,
"monit_max_cpu_usage": 90
}
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canGetArbitraryAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotGetUnrelatedAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canNotGetUnrelatedAsset(): TOTAL OBJECT COUNT (after): 210 -> 210