implement feature to generate random test data
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user