QA:Testcase thermostat thread monitor

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{QA/Test_Case |description=This test case tests whether the thread monitoring functionality as part of the Thermostat swing client works correctly. |setup= # Boot into the ma...")
 
(Add test steps)
Line 7: Line 7:
 
# Start the thermostat Swing client: {{command|thermostat gui}}
 
# Start the thermostat Swing client: {{command|thermostat gui}}
 
|actions=
 
|actions=
# TODO
+
# Select a JVM from the tree on the left
 +
# Switch to the "Threads" tab
 +
# Click the "Recording" button (red circle icon on the top right)
 +
# Wait a few seconds
 +
# Click on the same button again to stop recording
 
|results=
 
|results=
# TODO
+
# Once you click the button, you should see timelines for threads, with one timeline per thread and with the appropriate color to show whether the thread is active, or sleeping (or doing something else)
 +
# Clicking on the button the second the time stop any further updates to the chart
 
}}
 
}}

Revision as of 00:47, 23 May 2013

Contents

Description

This test case tests whether the thread monitoring functionality as part of the Thermostat swing client works correctly.

Setup

  1. Boot into the machine/VM you wish to test.
  2. If thermostat is not installed yet, install thermostat.
  3. Start the thermostat storage and agent: thermostat service &
  4. Start the thermostat Swing client: thermostat gui

How to test

  1. Select a JVM from the tree on the left
  2. Switch to the "Threads" tab
  3. Click the "Recording" button (red circle icon on the top right)
  4. Wait a few seconds
  5. Click on the same button again to stop recording

Expected Results

  1. Once you click the button, you should see timelines for threads, with one timeline per thread and with the appropriate color to show whether the thread is active, or sleeping (or doing something else)
  2. Clicking on the button the second the time stop any further updates to the chart