org.apache.jmeter.visualizers

Class ViewResultsFullVisualizer

Implemented Interfaces:
ActionListener, ChangeListener, TreeSelectionListener, Clearable, JMeterGUIComponent, Printable, UnsharedComponent, Visualizer

public class ViewResultsFullVisualizer
extends AbstractVisualizer
implements ActionListener, TreeSelectionListener, Clearable

Allows the tester to view the textual response from sampling an Entry. This also allows to "single step through" the sampling process via a nice "Continue" button. Created 2001/07/25

Field Summary

static Color
CLIENT_ERROR_COLOR
static Color
REDIRECT_COLOR
static Color
SERVER_ERROR_COLOR

Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer

collector, isStats

Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent

namePanel

Constructor Summary

ViewResultsFullVisualizer()

Method Summary

void
actionPerformed(ActionEvent e)
Display the response as text or as rendered HTML.
void
add(SampleResult res)
void
clearData()
Clears the visualizer.
String
getLabelResource()
String
toString()
Returns the description of this visualizer.
void
valueChanged(TreeSelectionEvent e)
Sets the right pane to correspond to the selected node of the left tree.

Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer

clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged

Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui

createPopupMenu, getMenuCategories

Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent

clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getNode, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName, setNode

Field Details

CLIENT_ERROR_COLOR

public static final Color CLIENT_ERROR_COLOR

REDIRECT_COLOR

public static final Color REDIRECT_COLOR

SERVER_ERROR_COLOR

public static final Color SERVER_ERROR_COLOR

Constructor Details

ViewResultsFullVisualizer

public ViewResultsFullVisualizer()

Method Details

actionPerformed

public void actionPerformed(ActionEvent e)
Display the response as text or as rendered HTML. Change the text on the button appropriate to the current display.
Parameters:
e - the ActionEvent being processed

add

public void add(SampleResult res)
Specified by:
add in interface Visualizer

clearData

public void clearData()
Clears the visualizer.
Specified by:
clearData in interface Clearable

getLabelResource

public String getLabelResource()
Specified by:
getLabelResource in interface JMeterGUIComponent

toString

public String toString()
Returns the description of this visualizer.
Returns:
description of this visualizer

valueChanged

public void valueChanged(TreeSelectionEvent e)
Sets the right pane to correspond to the selected node of the left tree.

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.