Testcase: Write integration Testcases for Keystone - users, Roles, and tenants

Bug #902402 reported by Ravikumar Venkatesan
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Rajalakshmi Ganesan

Bug Description

Testcase: Write integration Testcases for Keystone - users, Roles, and tenants
1) http://localhost:35357/v2.0/tenants/{tenantId}/users
  GET List users for a Tenant.
2) http://localhost:35357/v2.0/tenants/{tenantId}/users
  GET List user with role for tenant.
3) http://localhost:35357/v2.0/tenants/{tenantId}/users/{userId}/roles/OS-KSADM/{roleId}
  PUT Add roles to a user on a tenant.
4) http://localhost:35357/v2.0/tenants/{tenantId}/users/{userId}/roles/OS-KSADM/{roleId}
DELETE    Delete roles from a user on tenant.

5) http://localhost:35357/v2.0/users/{user_id}/roles
GET List User Global Roles
6) http://localhost:35357/v2.0/tenants/{tenantId}/users/{user_id}/roles
GET List Roles for User on Tenant

7) http://localhost:35357/v2.0/users/{userId}/roles/OS-KSADM/{roleId}
  PUT Add Global roles to a user.
8) http://localhost:35357/v2.0/users/{userId}/roles/OS-KSADM/{roleId}
  GET Get user Role
9) http://localhost:35357/v2.0/users/{userId}/roles/OS-KSADM/{roleId}
  DELETE Delete Global Roles on User.
10) http://localhost:35357/v2.0/users/{userId}/OS-KSADM/enabled
PUT Set user enabled.
11) http://localhost:35357/v2.0/OS-KSADM/services/{serviceId}
GET Get Service

12) Boundary & Invalid input ,and null value tests ,
13) Validation for http return code

description: updated
tags: added: test-needed
removed: testcase
Nachi Ueno (nati-ueno)
Changed in tempest:
status: New → Confirmed
importance: Undecided → Medium
Changed in tempest:
assignee: nobody → Rajalakshmi Ganesan (rajalakshmi-ganesan)
status: Confirmed → Triaged
Rohit Karajgi (rohitk)
tags: added: ntt
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/7902

Changed in tempest:
status: Triaged → In Progress
Revision history for this message
Rajalakshmi Ganesan (rajalakshmi-ganesan) wrote :

The same topic was also worked by Rohit Karajgi , ( https://review.openstack.org/#/c/7438/ )
Hence uploaded only following 4 test cases as part of patch (https://review.openstack.org/#/c/7902/ )

1. test_list_users_for_tenant
2. test_list_users_with_roles_for_tenant
3. test_get_service
4. test_list_users_with_invalid_tenant

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/7902
Committed: http://github.com/openstack/tempest/commit/efc8bd7cb0b354a7c7a39df7da57594f0f71821e
Submitter: Jenkins
Branch: master

commit efc8bd7cb0b354a7c7a39df7da57594f0f71821e
Author: rajalakshmi-ganesan <email address hidden>
Date: Wed May 30 17:52:11 2012 +0530

    Fixes bug 902402- Integration Testcases for Keystone - users, Roles, and tenants

    Change-Id: Id191c62aae76375c7f6205f80a52d45d0c645ed7

Changed in tempest:
status: In Progress → Fix Committed
Changed in tempest:
status: Fix Committed → Fix Released
Sean Dague (sdague)
Changed in tempest:
milestone: none → havana-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.