Package org.apache.jmeter.visualizers
Class RenderAsXPath2
java.lang.Object
org.apache.jmeter.visualizers.RenderAsXPath2
- All Implemented Interfaces:
ActionListener
,EventListener
,ResultRenderer
@AutoService(ResultRenderer.class)
public class RenderAsXPath2
extends Object
implements ResultRenderer, ActionListener
Implement ResultsRender for XPath tester
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Display the response as text or as rendered HTML.void
void
init()
void
renderImage
(SampleResult sampleResult) void
renderResult
(SampleResult sampleResult) void
setBackgroundColor
(Color backGround) void
setLastSelectedTab
(int index) void
setRightSide
(JTabbedPane side) void
setSamplerResult
(Object userObject) void
toString()
-
Constructor Details
-
RenderAsXPath2
public RenderAsXPath2()
-
-
Method Details
-
clearData
public void clearData()- Specified by:
clearData
in interfaceResultRenderer
-
init
public void init()- Specified by:
init
in interfaceResultRenderer
-
actionPerformed
Display the response as text or as rendered HTML. Change the text on the button appropriate to the current display.- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
e
- the ActionEvent being processed
-
renderResult
- Specified by:
renderResult
in interfaceResultRenderer
-
toString
- Specified by:
toString
in interfaceResultRenderer
- Overrides:
toString
in classObject
- Returns:
- the string to be displayed by the ComboBox
-
setupTabPane
public void setupTabPane()- Specified by:
setupTabPane
in interfaceResultRenderer
-
setRightSide
- Specified by:
setRightSide
in interfaceResultRenderer
-
setSamplerResult
- Specified by:
setSamplerResult
in interfaceResultRenderer
-
setLastSelectedTab
public void setLastSelectedTab(int index) - Specified by:
setLastSelectedTab
in interfaceResultRenderer
-
renderImage
- Specified by:
renderImage
in interfaceResultRenderer
-
setBackgroundColor
- Specified by:
setBackgroundColor
in interfaceResultRenderer
-