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:
- Administration
- Virtual Host Management
- Connections Management
- Queue Management
- 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 |
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. |
AD-3 |
Select the UserManagement |
Following admin operations are listed as tabs on "Qpid Management" page- |
AD-4 |
Select the tab "Create User" and enter the user details- |
Operation successful dialog pops up. |
AD-4.1 |
Select the tab "Create User" and enter the user details- |
Operation successful dialog pops up. |
AD-4.2 |
Select the tab "Create User" and enter the user details- |
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. |
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 |