You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Background

The Qpid Management Console is user graphical interface for managing and monitoring the Qpid remotely.

This specification is primarily concerned with detailing the functional specifications for Management Console. The tests cover all the functionalities supported by the console.

Test Platforms

The management console currently supports Windows, Linux, Solaris and Mac OS X.

Introduction

This Management Console functional test specifications are categorized into following categories:

  1. Administration
  2. Virtual Host Management
  3. Connections Management
  4. Queue Management
  5. Exchange Management

Installation and Testing

To install the management console, it can be Developer pages\ or Download\

There are three config files that should be used in this test which are attached to this page along with the sendAndWaitClient script.

General Test and Setup Information

When the Qpid Management Console is started for the first time on a machine, it creates a configuration file (qpidManagementConsole.ini) in user home directory (C:\Documents and Settings\<userid> for windows). This ini file stores the Qpid server address, which are added to the console.

Following setup is needed for Qpid Management Console test
1. Start the Qpid Broker with following configuration.
a. Virtual Host "Development" and "test"
b. Virtual Host "test" having following Queues - ping, queue, ping_1
c. Virtual Host "test" having following Exchanges - amq.direct (type=direct), amq.topic(type=topic), amq.headers(type=headers) and amq.fanout(type=fanout)

2. Qpid has following user configuration
a. Username=admin, Password=admin (Admin permissions)

User permissions are set in the jmxremote.access file.

Administration

This section details the test cases for administration of management console users. The setup described in the set up information section is required for these tests.

Test ID

Test steps

Expected result

AD-0

Start the Qpid Management Console with script qpidmc.sh

The GUI starts up with "Qpid Connections" on left hand side.

AD-1

Click the "New Connection" icon.

New Connection details pop up opens

AD-1.1

Enter the host=<hostname>, port= 8999
Username=admin, Password=admin and click Connect.

The Qpid Connections node "<hostname>:8999" will be added.

AD-2

Expand all the child node of "<hostname>:8999"

Following child nodes should be listed.
org.apache.qpid -> UserManagements->UserManagement

AD-3

Select the UserManagement

Following admin operations are listed as tabs on "Qpid Management" page-
View Users 
Set Rights
Reload Data
Set Password
Delete user
Create User

View Users tab will be selected and following users will be listed, which can be browsed using first/next/previous/last buttons

AD-4

Select the tab "Create User" and enter the user details-
Username=user
Password=password
Read and Write access.
Click Execute.

Operation successful dialog pops up.

AD-4.1

Select the tab "Create User" and enter the user details-
Username=guest
Password=password
Read access.
Click Execute.

Operation successful dialog pops up.

AD-4.2

Select the tab "Create User" and enter the user details-
Username=newuser
Password=password
Read access.
Click Execute.

Operation successful dialog pops up.

AD-4.3

Select the "Reload Data" tab and execute.

Operation successful dialog pops up.

AD-4.4

Select the "View Users" tab and check if the following users are listed - user, guest, newuser.

Users are listed with same permissions as assigned while creating users.

AD-5

Select "Delete User" tab and enter username=newuser. Click execute

Operation successful dialog pops up.

AD-5.1

Select the "Reload Data" tab and execute.

Operation successful dialog pops up.

AD-5.2

Select the "View Users" tab and check if the user "newuser" is listed

User "newuser" is not listed.

AD-6

Select the "Set Rights" tab, enter the username=user and select the "Read" access. Click Execute

Operation successful dialog pops up.

AD-6.1

Select the "Set Password" tab, enter the username=user and password=newpassword.
Click execute.

Operation successful dialog pops up.

AD-6.2

Start another session of Management Console using qpidmc.sh and connect to <hostname>:8999 using username=user and password=newpassword

User logs in.

AD-6.3

Select the VirtualHosts->test->VirtualHostManager. Now enter details on the "Create New Queue" tab and click execute.

"Access Denied" message popsup.

AD-6.4

Select the UserManagements->UserManagement

"Access Denied" error pops up.

AD-6.5

Disconnect this new session of Management Console.

NA

 

  • No labels