org.apache.jmeter.engine

Class RemoteJMeterEngineImpl

Implemented Interfaces:
Remote, RemoteJMeterEngine

public class RemoteJMeterEngineImpl
extends UnicastRemoteObject
implements RemoteJMeterEngine

This is the JMeter server main code.

Field Summary

static int
DEFAULT_RMI_PORT

Method Summary

void
configure(HashTree testTree, String host)
Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl object.
void
exit()
void
reset()
void
runTest()
void
setProperties(Properties p)
static void
startServer(int port)
void
stopTest()

Field Details

DEFAULT_RMI_PORT

public static final int DEFAULT_RMI_PORT

Method Details

configure

public void configure(HashTree testTree,
                      String host)
            throws RemoteException
Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl object.
Specified by:
configure in interface RemoteJMeterEngine
Parameters:
testTree - the feature to be added to the ThreadGroup attribute

exit

public void exit()
            throws RemoteException
Specified by:
exit in interface RemoteJMeterEngine

reset

public void reset()
            throws RemoteException
Specified by:
reset in interface RemoteJMeterEngine

runTest

public void runTest()
            throws RemoteException,
                   JMeterEngineException
Specified by:
runTest in interface RemoteJMeterEngine

setProperties

public void setProperties(Properties p)
            throws RemoteException
Specified by:
setProperties in interface RemoteJMeterEngine

startServer

public static void startServer(int port)
            throws RemoteException

stopTest

public void stopTest()
            throws RemoteException
Specified by:
stopTest in interface RemoteJMeterEngine

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