qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Qpid > Qpid Management Console Testing (Old UI)
Date Wed, 26 Aug 2009 19:15:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=qpid&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/qpid/Qpid+Management+Console+Testing+%28Old+UI%29">Qpid
Management Console Testing (Old UI)</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~robbie">Robbie
Gemmell</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <div>
<ul>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-Background'>Background</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-TestPlatforms'>Test
Platforms</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-Introduction'>Introduction</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-InstallationandTesting'>Installation
and Testing</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-GeneralTestandSetupInformation'>General
Test and Setup Information</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-Administration'>Administration</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-VirtualHostManagement'>Virtual
Host Management</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-ConnectionsManagement'>Connections
Management</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-QueueManagement'>Queue
Management</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-ExchangeManagement'>Exchange
Management</a></li>
    <li><a href='#QpidManagementConsoleTesting%28OldUI%29-TroubleShooting'>Trouble
Shooting</a></li>
</ul></div>

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-Background"></a>Background</h1>

<p>The Qpid Management Console is user graphical interface for managing and monitoring
the Qpid remotely.</p>

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

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-TestPlatforms"></a>Test
Platforms</h1>

<p>The management console currently supports Windows, Linux, Solaris and Mac OS X.</p>

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-Introduction"></a>Introduction</h1>

<p>This Management Console functional test specifications are categorized into following
categories:</p>
<ol>
	<li>Administration</li>
	<li>Virtual Host Management</li>
	<li>Connections Management</li>
	<li>Queue Management</li>
	<li>Exchange Management</li>
</ol>


<h1><a name="QpidManagementConsoleTesting%28OldUI%29-InstallationandTesting"></a>Installation
and Testing</h1>

<p>To install the management console, it can be [] or []</p>

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

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-GeneralTestandSetupInformation"></a>General
Test and Setup Information</h1>

<p>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\&lt;userid&gt; for windows). This ini file stores the Qpid server address,
which are added to the console.</p>

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

<p>2.	Qpid has following user configuration<br/>
a.	Username=admin, Password=admin    (Admin permissions)</p>

<p>User permissions are set in the jmxremote.access file.</p>

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-Administration"></a>Administration</h1>

<p>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.</p>
<table class='confluenceTable'><tbody>
<tr>
<td class='confluenceTd'> Test ID <br clear="all" /> </td>
<td class='confluenceTd'> Test steps <br clear="all" /> </td>
<td class='confluenceTd'> Expected result <br clear="all" /> </td>
</tr>
<tr>
<td class='confluenceTd'> AD-0 </td>
<td class='confluenceTd'> Start the Qpid Management Console with script qpidmc.sh </td>
<td class='confluenceTd'> The GUI starts up with "Qpid Connections" on left hand side.
</td>
</tr>
<tr>
<td class='confluenceTd'> AD-1 </td>
<td class='confluenceTd'> Click the "New Connection" icon. </td>
<td class='confluenceTd'> New Connection details pop up opens </td>
</tr>
<tr>
<td class='confluenceTd'> AD-1.1 </td>
<td class='confluenceTd'> Enter the host=&lt;hostname&gt;, port= 8999 <br
clear="all" />
Username=admin, Password=admin and click Connect. </td>
<td class='confluenceTd'> The Qpid Connections node "&lt;hostname&gt;:8999"
will be added. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-2 </td>
<td class='confluenceTd'> Expand all the child node of "&lt;hostname&gt;:8999"
</td>
<td class='confluenceTd'> Following child nodes should be listed. <br clear="all"
/>
org.apache.qpid &#45;&gt; UserManagements-&gt;UserManagement <br clear="all"
/> </td>
</tr>
<tr>
<td class='confluenceTd'> AD-3 </td>
<td class='confluenceTd'> Select the UserManagement </td>
<td class='confluenceTd'> Following admin operations are listed as tabs on "Qpid Management"
  page&#45; <br clear="all" />
View Users&nbsp; <br clear="all" />
Set Rights <br clear="all" />
Reload Data <br clear="all" />
Set Password <br clear="all" />
Delete user <br clear="all" />
Create User <br clear="all" />
<br clear="all" />
View Users tab will be selected and following users will be listed,   which can be browsed
using first/next/previous/last buttons </td>
</tr>
<tr>
<td class='confluenceTd'> AD-4 </td>
<td class='confluenceTd'> Select the tab "Create User" and enter the user details&#45;
<br clear="all" />
Username=user <br clear="all" />
Password=password <br clear="all" />
Read and Write access. <br clear="all" />
Click Execute. </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-4.1 </td>
<td class='confluenceTd'> Select the tab "Create User" and enter the user details&#45;
<br clear="all" />
Username=guest <br clear="all" />
Password=password <br clear="all" />
Read access. <br clear="all" />
Click Execute. </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-4.2 </td>
<td class='confluenceTd'> Select the tab "Create User" and enter the user details&#45;
<br clear="all" />
Username=newuser <br clear="all" />
Password=password <br clear="all" />
Read access. <br clear="all" />
Click Execute. </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-4.3 </td>
<td class='confluenceTd'> Select the "Reload Data" tab and execute. </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-4.4 </td>
<td class='confluenceTd'> Select the "View Users" tab and check if the following users
are   listed - user, guest, newuser. </td>
<td class='confluenceTd'> Users are listed with same permissions as assigned while creating
  users. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-5 </td>
<td class='confluenceTd'> Select "Delete User" tab and enter username=newuser. Click
execute </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-5.1 </td>
<td class='confluenceTd'> Select the "Reload Data" tab and execute. </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-5.2 </td>
<td class='confluenceTd'> Select the "View Users" tab and check if the user "newuser"
is listed </td>
<td class='confluenceTd'> User "newuser" is not listed. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-6 </td>
<td class='confluenceTd'> Select the "Set Rights" tab, enter the username=user and select
the   "Read" access. Click Execute </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-6.1 </td>
<td class='confluenceTd'> Select the "Set Password" tab, enter the username=user and
  password=newpassword. <br clear="all" />
Click execute. </td>
<td class='confluenceTd'> Operation successful dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-6.2 </td>
<td class='confluenceTd'> Start another session of Management Console using qpidmc.sh
and   connect to &lt;hostname&gt;:8999 using username=user and password=newpassword
</td>
<td class='confluenceTd'> User logs in. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-6.3 </td>
<td class='confluenceTd'> Select the VirtualHosts-&gt;test-&gt;VirtualHostManager.
Now enter   details on the "Create New Queue" tab and click execute. </td>
<td class='confluenceTd'> "Access Denied" message popsup. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-6.4 </td>
<td class='confluenceTd'> Select the UserManagements-&gt;UserManagement </td>
<td class='confluenceTd'> "Access Denied" error pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> AD-6.5 </td>
<td class='confluenceTd'> Disconnect this new session of Management Console. </td>
<td class='confluenceTd'> NA </td>
</tr>
</tbody></table>
<p> &nbsp;</p>

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-VirtualHostManagement"></a>Virtual
Host Management</h1>

<p>This section details the test cases for managing and monitoring a Virtual Host. 
The setup described in the setup information section is required for these tests.</p>

<table class='confluenceTable'><tbody>
<tr>
<td class='confluenceTd'> <b>Test Id</b> </td>
<td class='confluenceTd'> <b>Test Steps</b> </td>
<td class='confluenceTd'> <b>Expected Result</b> </td>
</tr>
<tr>
<td class='confluenceTd'> VH-0 </td>
<td class='confluenceTd'> Start the Qpid Management Console with script qpidmc.sh </td>
<td class='confluenceTd'> The GUI starts up with "Qpid Connections" on left hand side.
</td>
</tr>
<tr>
<td class='confluenceTd'> VH-1 </td>
<td class='confluenceTd'> Click the "New Connection" icon. </td>
<td class='confluenceTd'> New Connection details pop up opens </td>
</tr>
<tr>
<td class='confluenceTd'> VH-1.1 </td>
<td class='confluenceTd'> Enter the host="&lt;hostname&gt;", port= 8999<br
clear="all" />
Username=user, Password=password and click Connect. </td>
<td class='confluenceTd'> The Qpid Connections node "&lt;hostname&gt;:8999"
will be added. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-2 </td>
<td class='confluenceTd'> Expand all the child node of "&lt;hostname&gt;:8999"
</td>
<td class='confluenceTd'> Following child nodes should be listed.<br clear="all"
/>
org.apache.qpid &#45;&gt; VirtualHosts &#45;&gt; test and development<br
clear="all" />
test-&gt;VirtualHostManager, Connections, Exchanges and Queues<br clear="all" />
development-&gt; VirtualHostManager, Connections, Exchanges and Queues </td>
</tr>
<tr>
<td class='confluenceTd'> VH-2 </td>
<td class='confluenceTd'> Click on test-&gt;VirtualHostManager </td>
<td class='confluenceTd'> Qpid Management view on right hand side displays following
operations   as tabs&#45;<br clear="all" />
Create New Queue<br clear="all" />
Create New Exchange<br clear="all" />
Delete Queue<br clear="all" />
Unregister Exchange </td>
</tr>
<tr>
<td class='confluenceTd'> VH-4 </td>
<td class='confluenceTd'> On the "Create New Queue" tab enter Queue Name=newQueue and
click   Execute </td>
<td class='confluenceTd'> A confirmation dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-4.1 </td>
<td class='confluenceTd'> Click yes on the confirmation box </td>
<td class='confluenceTd'> A pop up displays that the operation is successful. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-4.2 </td>
<td class='confluenceTd'> Click on the test-&gt;Queues </td>
<td class='confluenceTd'> Qpid Management page displays the "Queue" tab and following
queues will   be listed&#45; ping, queue and newQueue </td>
</tr>
<tr>
<td class='confluenceTd'> VH-5 </td>
<td class='confluenceTd'> Click on test-&gt;VirtualHostManager and then select the
"Create New   Exchange" tab </td>
<td class='confluenceTd'> The "Qpid Management" page displays following the data fields
&#8211; Name,   Type and Durable. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-5.1 </td>
<td class='confluenceTd'> Enter the Exchange Name=newExchange, select the Exchange Type
as   "direct" and click Execute. </td>
<td class='confluenceTd'> A confirmation dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-5.2 </td>
<td class='confluenceTd'> Click yes on the confirmation box </td>
<td class='confluenceTd'> A pop up displays that the operation is successful. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-5.3 </td>
<td class='confluenceTd'> Click on the test-&gt;Exchanges </td>
<td class='confluenceTd'> Qpid Management page displays the "Exchange" tab and following
  exchange will be listed&#45; amq.direct, amq.fanout, amq.match, amq.topic and   newExchange
</td>
</tr>
<tr>
<td class='confluenceTd'> VH-6 </td>
<td class='confluenceTd'> Click on test-&gt;VirtualHostManager and then select the
"Delete   Queue" tab </td>
<td class='confluenceTd'> The "Qpid Management" page displayed following Queues in the
list&#45;   queue, ping, newQueue </td>
</tr>
<tr>
<td class='confluenceTd'> VH-6.1 </td>
<td class='confluenceTd'> Select the newQueue from the list and click Execute </td>
<td class='confluenceTd'> A confirmation dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-6.2 </td>
<td class='confluenceTd'> Click yes on the confirmation box </td>
<td class='confluenceTd'> A pop up displays that the operation is successful. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-6.3 </td>
<td class='confluenceTd'> Click on the test-&gt;Queues </td>
<td class='confluenceTd'> Qpid Management page displays the "Queue" tab and following
queues   will be listed&#45; ping and&nbsp; queue. The   newQueue should not be in
the list. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-7 </td>
<td class='confluenceTd'> Click on test-&gt;VirtualHostManager and then select the
"Unregister   Exchange" tab </td>
<td class='confluenceTd'> The "Qpid Management" page displayed following Exchange in
the list&#45;   amq.direct, amq.fanout, amq.topic, amq.headers and newExchange </td>
</tr>
<tr>
<td class='confluenceTd'> VH-7.1 </td>
<td class='confluenceTd'> Select the "newExchange" from the list and click Execute </td>
<td class='confluenceTd'> A confirmation dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-7.2 </td>
<td class='confluenceTd'> Click yes on the confirmation box </td>
<td class='confluenceTd'> A pop up displays that the operation is successful. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-7.3 </td>
<td class='confluenceTd'> Click on the test-&gt;Exchanges </td>
<td class='confluenceTd'> Qpid Management page displays the "Exchange" tab and following
  exchange will be listed&#45; amq.direct, amq.fanout, amq.match and amq.topic. The  
newExchange should not be in the list. </td>
</tr>
<tr>
<td class='confluenceTd'> VH-8 </td>
<td class='confluenceTd'> Select the Qpid server node &lt;hostname&gt;:8999
and click the   "Disconnect" icon from the tool bar. </td>
<td class='confluenceTd'> The Qpid connection is disconnected and the server nodes disappear.
</td>
</tr>
</tbody></table>

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-ConnectionsManagement"></a>Connections
Management</h1>

<p>This section details the test cases for managing and monitoring a Qpid connection.&nbsp;
The setup described in Setup information section is required for these tests.<br/>
 <br/>
Precondition: A Qpid server (e.g. &lt;hostname&gt;:8999) is added to the Management
Console as described in the "Virtual Host Management" section.<br/>
 </p>
<table class='confluenceTable'><tbody>
<tr>
<td class='confluenceTd'> <b>Test Id</b> </td>
<td class='confluenceTd'> <b>Test Steps</b> </td>
<td class='confluenceTd'> <b>Expected Result</b> </td>
</tr>
<tr>
<td class='confluenceTd'> CM-0 </td>
<td class='confluenceTd'> Select the Qpid Server node "&lt;hostname&gt;:8999"
on the Qpid   Connections page and click the icon for reconnect from the tool bar. </td>
<td class='confluenceTd'> The GUI starts up with "Qpid Connections" on left hand side.
</td>
</tr>
<tr>
<td class='confluenceTd'> CM-1 </td>
<td class='confluenceTd'> Start a consumer application and select the test-&gt;Connections
node. </td>
<td class='confluenceTd'> On the right hand page the connection will appear in the list.
</td>
</tr>
<tr>
<td class='confluenceTd'> CM-2 </td>
<td class='confluenceTd'> Select the connection and "Add to Navigation" </td>
<td class='confluenceTd'> The connection node is added to the left hand side page. </td>
</tr>
<tr>
<td class='confluenceTd'> CM-3 </td>
<td class='confluenceTd'> Select the connection node. </td>
<td class='confluenceTd'> The Qpid Management page displays following connection attributes&#45;<br
clear="all" />
Authorized Id, Client Id, Last IO Time, Maximum Number of Channels, Remote   Address and Version<br
clear="all" />
 <br clear="all" />
Also following tabs are displayed&#45;<br clear="all" />
Rollback Transactions<br clear="all" />
Commit Transactions<br clear="all" />
Close Connection<br clear="all" />
Channels </td>
</tr>
<tr>
<td class='confluenceTd'> CM-4 </td>
<td class='confluenceTd'> Select Channels tab </td>
<td class='confluenceTd'> Qpid Management page displays channel details. </td>
</tr>
<tr>
<td class='confluenceTd'> CM-5 </td>
<td class='confluenceTd'> Select Close Connection tab </td>
<td class='confluenceTd'> A confirmation dialog pops up. </td>
</tr>
<tr>
<td class='confluenceTd'> CM-5.1 </td>
<td class='confluenceTd'> Click yes on the confirmation box </td>
<td class='confluenceTd'> A pop up displays that the operation is successful and the
connection   node from left hand side disappears. </td>
</tr>
<tr>
<td class='confluenceTd'> CM-6 </td>
<td class='confluenceTd'> Select the Qpid server node &lt;hostname&gt;:8999
and click the   "Disconnect" icon from the tool bar. </td>
<td class='confluenceTd'> The Qpid connection is disconnected and the server nodes disappear.
</td>
</tr>
</tbody></table>

<h1><a name="QpidManagementConsoleTesting%28OldUI%29-QueueManagement"></a>Queue
Management</h1>

<p>This section details the test cases for managing and monitoring a Qpid Queue.&nbsp;
The setup described in Setup information section is required for these tests.</p>

<p>Precondition: A Qpid server (e.g. &lt;hostname&gt;:8999) is added to the
Management Console as described in the "Virtual Host Management" section.<br/>
 </p>
<table class='confluenceTable'><tbody>
<tr>
<td class='confluenceTd'> <b>Test Id</b> </td>
<td class='confluenceTd'> <b>Test Steps</b> </td>
<td class='confluenceTd'> <b>Expected Result</b> </td>
</tr>
<tr>
<td class='confluenceTd'> QM-0 </td>
<td class='confluenceTd'> Select the Qpid Server node "&lt;hostname&gt;:8999"
on the Qpid   Connections page and click the icon for reconnect from the tool bar. </td>
<td class='confluenceTd'> The GUI starts up with "Qpid Connections" on left hand side.
</td>
</tr>
<tr>
<td class='confluenceTd'> QM-1 </td>
<td class='confluenceTd'> Select test-&gt;Queues and add Queue ping_1 to the navigation
</td>
<td class='confluenceTd'> Queue ping_1 gets added under test-Queues </td>
</tr>
<tr>
<td class='confluenceTd'> QM-2 </td>
<td class='confluenceTd'> Select ping_1 node on left hand side </td>
<td class='confluenceTd'> Following Queue properties are displayed in a table on "Qpid
  Management" page&#45;<br clear="all" />
Active Consumer Count<br clear="all" />
Auto Delete<br clear="all" />
Consumer Count<br clear="all" />
Durable<br clear="all" />
Maximum Message Age<br clear="all" />
Maximum Message Count<br clear="all" />
Maximum Message Size<br clear="all" />
Maximum Queue Depth<br clear="all" />
Message Count<br clear="all" />
Name<br clear="all" />
Owner<br clear="all" />
Queue Depth<br clear="all" />
Received Message Count<br clear="all" />
 <br clear="all" />
Following operations will be displayed as tabs&#45;<br clear="all" />
Clear Queue<br clear="all" />
Delete Message From Top<br clear="all" />
View Messages<br clear="all" />
View Message Content<br clear="all" />
Move Messages </td>
</tr>
<tr>
<td class='confluenceTd'> QM-3 </td>
<td class='confluenceTd'> Run a client application to send 100 messages of size 512bytes
each to   queue "ping_1" and refresh the attributes tab on management console </td>
<td class='confluenceTd'> Following attributes value will be updated.<br clear="all"
/>
Message Count=100<br clear="all" />
Queue Depth=50&nbsp; (in kb)<br clear="all" />
Received Message Count=100 </td>
</tr>
<tr>
<td class='confluenceTd'> QM-4 </td>
<td class='confluenceTd'> Select the "Maximum Message Count" attribute and click "Edit
  Attribute" </td>
<td class='confluenceTd'> Attribute window pops up with Attribute Name, Description
and value. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-4.1 </td>
<td class='confluenceTd'> Update the value to 100 </td>
<td class='confluenceTd'> The attribute value gets updated. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-5 </td>
<td class='confluenceTd'> Select the Notifications tab and select the notification type
and   subscribe. </td>
<td class='confluenceTd'> Subscribe button gets disabled. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-6 </td>
<td class='confluenceTd'> Run the same client application again and sent 100 messages
of size   512 bytes to the "ping_1" " and refresh the attributes tab on management   console
</td>
<td class='confluenceTd'> Following attributes value will be updated.<br clear="all"
/>
Message Count=200<br clear="all" />
Queue Depth=100&nbsp; (in kb)<br clear="all" />
Received Message Count=200 </td>
</tr>
<tr>
<td class='confluenceTd'> QM-6.1 </td>
<td class='confluenceTd'> Select the Notifications tab. </td>
<td class='confluenceTd'> One MESSAGE_COUNT_ALERT will be listed. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-6.2 </td>
<td class='confluenceTd'> Clear the notifications. Click the Clear button </td>
<td class='confluenceTd'> The notifications list will be empty. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-6.3 </td>
<td class='confluenceTd'> Select the notifications type and Unsubscribe. </td>
<td class='confluenceTd'> Subscribe button will be enabled and Unsubscribe button will
be   disabled. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-7 </td>
<td class='confluenceTd'> Select the "Delete Message From Top" tab. Click Execute and
confirm. </td>
<td class='confluenceTd'> Operation successful dialog will popup. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-8 </td>
<td class='confluenceTd'> Select Attributes tab. </td>
<td class='confluenceTd'> Following attributes value will be updated.<br clear="all"
/>
Message Count=199<br clear="all" />
Queue Depth=99&nbsp; (in kb) </td>
</tr>
<tr>
<td class='confluenceTd'> QM-9 </td>
<td class='confluenceTd'> Select the "Clear Queue" tab. Click Execute and confirm. </td>
<td class='confluenceTd'> Operation successful dialog will popup. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-10 </td>
<td class='confluenceTd'> Select Attributes tab. </td>
<td class='confluenceTd'> Following attributes value will be updated.<br clear="all"
/>
Message Count=0<br clear="all" />
Queue Depth=0&nbsp; (in kb) </td>
</tr>
<tr>
<td class='confluenceTd'> QM-11 </td>
<td class='confluenceTd'> Run the same client application again and sent 100 messages
of size   512 bytes to the "ping_1" " and refresh the attributes tab on management   console.
</td>
<td class='confluenceTd'> Following attributes value will be updated.<br clear="all"
/>
Message Count=100<br clear="all" />
Queue Depth=50&nbsp; (in kb)<br clear="all" />
Received Message Count=300 </td>
</tr>
<tr>
<td class='confluenceTd'> QM-12 </td>
<td class='confluenceTd'> Select the "View Messages" tab and enter this data&#45;<br
clear="all" />
from Index=1<br clear="all" />
to index=100 and Execute </td>
<td class='confluenceTd'> The results window pops up with message header attributes
details of   100 messages on the Queue. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-13 </td>
<td class='confluenceTd'> Close the results window and select "View Message Content"
tab. Enter   the message id =250 and Execute. </td>
<td class='confluenceTd'> The results window pops up with following fields&#45;<br
clear="all" />
Message Id<br clear="all" />
Content<br clear="all" />
Encoding <br clear="all" />
Mime Type </td>
</tr>
<tr>
<td class='confluenceTd'> QM-14 </td>
<td class='confluenceTd'> Select "Move Messages" tab. </td>
<td class='confluenceTd'> The Qpid Management page shows these fields&#45;<br
clear="all" />
>From Message Id<br clear="all" />
To Message Id<br clear="all" />
Queue&nbsp; (with list of all other   queues) </td>
</tr>
<tr>
<td class='confluenceTd'> QM-14.1 </td>
<td class='confluenceTd'> Enter the following data&#45;<br clear="all" />
>From Message Id = 200<br clear="all" />
To Message Id = 150 and Select Queue="queue". Now Execute and confirm. </td>
<td class='confluenceTd'> Operation successful dialog will popup. </td>
</tr>
<tr>
<td class='confluenceTd'> QM-14.2 </td>
<td class='confluenceTd'> Select test-Queues and add queue to the navigation and select
"queue" </td>
<td class='confluenceTd'> The queue attributes will be displayed with these values&#45;<br
clear="all" />
Queue depth=25<br clear="all" />
Message Count=50<br clear="all" />
Received Message Count=50 </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
</tbody></table>
<p> </p>
<h1><a name="QpidManagementConsoleTesting%28OldUI%29-ExchangeManagement"></a>Exchange
Management</h1>

<p>This section details the test cases for managing and monitoring a Qpid Exchanges.&nbsp;
The setup described in Setup information section is required for these tests.</p>

<p>Precondition: A Qpid server (e.g. &lt;hostname&gt;:8999) is added to the
Management Console as described in the "Virtual Host Management" section.</p>

<table class='confluenceTable'><tbody>
<tr>
<td class='confluenceTd'> <b>Test Id</b> </td>
<td class='confluenceTd'> <b>Test Steps</b> </td>
<td class='confluenceTd'> <b>Expected Result</b> </td>
</tr>
<tr>
<td class='confluenceTd'> EM-0 </td>
<td class='confluenceTd'> Select the Qpid Server node "&lt;hostname&gt;:8999"
on the Qpid   Connections page and click the icon for reconnect from the tool bar. </td>
<td class='confluenceTd'> The GUI starts up with "Qpid Connections" on left hand side.
</td>
</tr>
<tr>
<td class='confluenceTd'> EM-1 </td>
<td class='confluenceTd'> Select test-&gt;Exchanges and add these exchanges to the
Navigation page&#45;<br clear="all" />
&nbsp;amq.direct<br clear="all" />
&nbsp;amq.fanout<br clear="all" />
&nbsp;amq.topic<br clear="all" />
&nbsp;amq.match </td>
<td class='confluenceTd'> Those exchanges get listed under the node test-&gt;Exchanges
</td>
</tr>
<tr>
<td class='confluenceTd'> EM-2 </td>
<td class='confluenceTd'> Select "amq.direct" node </td>
<td class='confluenceTd'> The exchange attributes get displayed on "Qpid Management"
page and &nbsp;following tabs&#45;<br clear="all" />
Create New Binding<br clear="all" />
Bindings </td>
</tr>
<tr>
<td class='confluenceTd'> EM-3 </td>
<td class='confluenceTd'> Select the "Create New Bindings" tab </td>
<td class='confluenceTd'> The available queues (ping, queue) will be listed. </td>
</tr>
<tr>
<td class='confluenceTd'> EM-3.1 </td>
<td class='confluenceTd'> Select the Queue "ping" and enter a binding "newBinding".
Click   "Execute" and confirm the operation. </td>
<td class='confluenceTd'> Operation successful dialog will popup. </td>
</tr>
<tr>
<td class='confluenceTd'> EM-3.2 </td>
<td class='confluenceTd'> Select the "Bindings" tab </td>
<td class='confluenceTd'> Queue "ping" with binding "newBinding" will be listed on "Queue
  Management" page. </td>
</tr>
<tr>
<td class='confluenceTd'> EM-4 </td>
<td class='confluenceTd'> Select the node "amq.match", which is headers exchange </td>
<td class='confluenceTd'> Result same as in step EM-2 </td>
</tr>
<tr>
<td class='confluenceTd'> EM-4.1 </td>
<td class='confluenceTd'> Select the "Create New Binding" tab </td>
<td class='confluenceTd'> The available queues (ping, queue) will be listed and there
will be   text fields to enter binding as key=value pair </td>
</tr>
<tr>
<td class='confluenceTd'> EM-4.2 </td>
<td class='confluenceTd'> Select a Queue "ping" and enter these bindings&#45;<br
clear="all" />
Name=key1&nbsp; value=value1<br clear="all" />
Name=key2&nbsp; value=value2<br clear="all" />
 <br clear="all" />
Now click "Execute" and confirm the operation. </td>
<td class='confluenceTd'> Operation successful dialog will popup. </td>
</tr>
<tr>
<td class='confluenceTd'> EM-4.3 </td>
<td class='confluenceTd'> Select the "Bindings" tab </td>
<td class='confluenceTd'> Queue "ping" with bindings "key1=value1" and "key2=value2"
will be   listed on "Queue Management" page. </td>
</tr>
<tr>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
</tbody></table>
<p> </p>
<h1><a name="QpidManagementConsoleTesting%28OldUI%29-TroubleShooting"></a>Trouble
Shooting</h1>

<p>Q. Why the text fields are not visible on my machine but are visible on other machine?<br/>
A. Please check if the windows theme being used in Control Panel-&gt;Display is not the
default one.<br/>
 <br/>
Q. How can I get the exception stack trace for sending to development team for debugging?<br/>
A. In start-up scripts qpidmc.sh or qpidmc.bat, update the parameter value:</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp; &#45;Declipse.consoleLog=true</p>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/qpid/Qpid+Management+Console+Testing+%28Old+UI%29">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=116308&revisedVersion=6&originalVersion=5">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/qpid/Qpid+Management+Console+Testing+%28Old+UI%29?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message