implement feature to generate random test data
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-11 16:14:00 +11:00
parent aa65b1e784
commit 2afdacaa78
11 changed files with 500 additions and 15 deletions

View File

@@ -38,7 +38,58 @@
}
}
}
}
},
"test3": {
"path": "/api/admin/group/add",
"disabled": true,
"method": "POST",
"description": "add new local group",
"body": {
"groupName": "test local group",
"ldapGroup": false
},
"expect": {
"header": {
"contains": {
"http_status": "200"
}
}
}
},
"test4": {
"path": "/api/admin/groups",
"method": "GET",
"description": "get group listing again",
"expect": {
"header": {
"contains": {
"http_status": "200"
}
},
"body": {
"hasKeys": ["groupName"],
"contains": {
"message": "success"
}
}
}
},
"test5": {
"path": "/api/admin/group/delete",
"method": "POST",
"description": "remove new local group",
"body": {
"groupName": "test local group",
"ldapGroup": false
},
"expect": {
"header": {
"contains": {
"http_status": "200"
}
}
}
}
},
"url": "https://10.63.39.130:8443",
"insecure": true,