org.apache.jmeter.protocol.http.control

Class HttpMirrorControl

Implemented Interfaces:
Cloneable, Serializable, TestElement

public class HttpMirrorControl
extends AbstractTestElement

Test element that implements the Workbench HTTP Mirror function

Field Summary

static String
DEFAULT_PORT_S
static String
PORT

Fields inherited from interface org.apache.jmeter.testelement.TestElement

COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS

Constructor Summary

HttpMirrorControl()
HttpMirrorControl(int port)

Method Summary

boolean
canRemove()
int
getDefaultPort()
Class
getGuiClass()
int
getPort()
String
getPortString()
boolean
isServerAlive()
void
setPort(String port)
void
setPort(int port)
void
startHttpMirror()
void
stopHttpMirror()

Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty

Field Details

DEFAULT_PORT_S

public static final String DEFAULT_PORT_S

PORT

public static final String PORT

Constructor Details

HttpMirrorControl

public HttpMirrorControl()

HttpMirrorControl

public HttpMirrorControl(int port)

Method Details

canRemove

public boolean canRemove()
Specified by:
canRemove in interface TestElement
Overrides:
canRemove in interface AbstractTestElement

getDefaultPort

public int getDefaultPort()

getGuiClass

public Class getGuiClass()

getPort

public int getPort()

getPortString

public String getPortString()

isServerAlive

public boolean isServerAlive()

setPort

public void setPort(String port)

setPort

public void setPort(int port)

startHttpMirror

public void startHttpMirror()

stopHttpMirror

public void stopHttpMirror()

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