Uses of Class
dev.galasa.jmeter.JMeterManagerException

Packages that use JMeterManagerException
Package
Description
JMeter Manager
  • Uses of JMeterManagerException in dev.galasa.jmeter

    Modifier and Type
    Method
    Description
    void
    IJMeterSession.applyProperties(InputStream propStream)
    This method gets called before start of a session providing necessary properties to the JMeter session
    void
    IJMeterSession.applyProperties(InputStream propStream, Map<String,Object> properties)
    This method gets called before start of a session providing necessary properties to the JMeter session The properties hashmap adds upon the propStream input with personalised properties
    IJMeterSession.getConsoleOutput()
    Returns the consoleOutput in String format
    long
    IJMeterSession.getExitCode()
    Returns the exit code of the the shutdown of the JMeterProcess
    IJMeterSession.getJmxFile()
    Returning the jmxFile in UTF-8 encoding in String format The working directory is found through the session instance
    IJMeterSession.getListenerFile(String fileName)
    Return the output file of your jmx execution in String format The working directory is found through the session instance
    IJMeterSession.getLogFile()
    Returning the logFile in UTF-8 encoding in String format The working directory is found through the session instance
    void
    IJMeterSession.setChangedParametersJmxFile(InputStream jmxStream, Map<String,Object> parameters)
    Allows the tester to provide a jmxFile to the running session This method is provided to run dynamic JMX-files that are dynamic with the current session it is running in JMX-files have to be prepared for this by replacing ALL the $P__VARIABLE notations with $VARIABLE notations Then by adding neccesary parameters inside a HashMap with it, it is possible to change the target of a test dynamically inside the test Example: HashMapinvalid input: '<'String,Object> map = new HashMapinvalid input: '<'String,Object>(); map.put("HOST", "galasa.dev"); session.setChangedParametersJmxFile(jmxStream, map);
    void
    IJMeterSession.setDefaultGeneratedJmxFile(InputStream jmxStream)
    Allows the tester to provide a jmxFile to the running session This method is provided to run static JMX-files that are NOT dynamic with the current session it is running in
    void
    IJMeterSession.startJmeter()
    Start up a jmeter thread to run through the lifetime of the tests with a default timeout of 60 seconds All results are stored in the RAS
    void
    IJMeterSession.startJmeter(int timeout)
    Start up a jmeter thread to run through the lifetime of the tests with a specified timeout All results are stored in the RAS
    boolean
    IJMeterSession.statusTest()
     
    void
    IJMeterSession.stopTest()
    Giving jmeter instance a shutdown signal to finish and clean up all running tests