Response: 204 401,5xx none Get All Roles To A Domain and User Testcase curl -X GET -s -H Request: { "roles": [ { "description": "A user role with limited Get all access", roles for a "name": "user", GET domain and "roleid": "2" user }, Response: 200 401,5xx { "description": "An admin role with full access", "name": "admin", "roleid": "3" } ] } Grant Role To Domain and User Testcase curl -X POST -s -H --data-binary @grant.json Request: Grant a { role to a "roleid":"2", POST domain and "description":"role grant" user } { "description": "role grant", Response: 201 401,5xx "domainid": "2", "grantid": "2",
Response: none 204 401,5xx Get All Roles To A Domain and User Testcase Get all roles for a domain and user GET Request: curl -X GET -s -H Response: { "roles": [ { "description": "A user role with limited access", "name": "user", "roleid": "2" }, { "description": "An admin role with full access", "name": "admin", "roleid": "3" } ] } 200 401,5xx Grant Role To Domain and User Testcase Grant a role to a domain and user POST Request: curl -X POST -s -H --data-binary @grant.json { "roleid":"2", "description":"role grant" } Response: { "description": "role grant", "domainid": "2", "grantid": "2", 201 401,5xx
AAA_Test_Plan.docx