Uses of Class
dev.galasa.jmeter.JMeterManagerException
Packages that use JMeterManagerException
- 
Uses of JMeterManagerException in dev.galasa.jmeter
Methods in dev.galasa.jmeter that throw JMeterManagerExceptionModifier and TypeMethodDescriptionvoidIJMeterSession.applyProperties(InputStream propStream) This method gets called before start of a session providing necessary properties to the JMeter sessionvoidIJMeterSession.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 propertiesIJMeterSession.getConsoleOutput()Returns the consoleOutput in String formatlongIJMeterSession.getExitCode()Returns the exit code of the the shutdown of the JMeterProcessIJMeterSession.getJmxFile()Returning the jmxFile in UTF-8 encoding in String format The working directory is found through the session instanceIJMeterSession.getListenerFile(String fileName) Return the output file of your jmx execution in String format The working directory is found through the session instanceIJMeterSession.getLogFile()Returning the logFile in UTF-8 encoding in String format The working directory is found through the session instancevoidIJMeterSession.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:voidIJMeterSession.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 invoidIJMeterSession.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 RASvoidIJMeterSession.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 RASbooleanIJMeterSession.statusTest()voidIJMeterSession.stopTest()Giving jmeter instance a shutdown signal to finish and clean up all running tests