org.apache.jmeter.protocol.http.config.gui

Class UrlConfigGui

Implemented Interfaces:
ChangeListener
Known Direct Subclasses:
MultipartUrlConfigGui

public class UrlConfigGui
extends JPanel
implements ChangeListener

Basic URL / HTTP Request configuration: - host and port - connect and response timeouts - path, method, encoding, parameters - redirects & keepalive

Constructor Summary

UrlConfigGui()
UrlConfigGui(boolean value)

Method Summary

void
clear()
void
configure(TestElement el)
Set the text, etc. in the UI.
TestElement
createTestElement()
protected JPanel
getParameterPanel()
protected Component
getPathPanel()
This method defines the Panel for the HTTP path, 'Follow Redirects' 'Use KeepAlive', and 'Use multipart for HTTP POST' elements.
protected JPanel
getProtocolAndMethodPanel()
protected JPanel
getWebServerTimeoutPanel()
Create a panel containing the webserver (domain+port) and timeouts (connect+request).
void
modifyTestElement(TestElement element)
Save the GUI values in the sampler.
void
stateChanged(ChangeEvent e)

Constructor Details

UrlConfigGui

public UrlConfigGui()

UrlConfigGui

public UrlConfigGui(boolean value)

Method Details

clear

public void clear()

configure

public void configure(TestElement el)
Set the text, etc. in the UI.
Parameters:
el - contains the data to be displayed

createTestElement

public TestElement createTestElement()

getParameterPanel

protected JPanel getParameterPanel()

getPathPanel

protected Component getPathPanel()
This method defines the Panel for the HTTP path, 'Follow Redirects' 'Use KeepAlive', and 'Use multipart for HTTP POST' elements.
Returns:
JPanel The Panel for the path, 'Follow Redirects' and 'Use KeepAlive' elements.

getProtocolAndMethodPanel

protected JPanel getProtocolAndMethodPanel()

getWebServerTimeoutPanel

protected final JPanel getWebServerTimeoutPanel()
Create a panel containing the webserver (domain+port) and timeouts (connect+request).
Returns:
the panel

modifyTestElement

public void modifyTestElement(TestElement element)
Save the GUI values in the sampler.
Parameters:
element -

stateChanged

public void stateChanged(ChangeEvent e)

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