Interface MTScenarioSession


  • public interface MTScenarioSession
    Interface to be implemented by session objects when using a MTScenario-derived scenario.
    See Also:
    MTScenario.newSession(int, String)
    • Method Detail

      • action

        ActionEvent action​(ActionEvent report)
        Performs an injection action and returns the corresponding test report (response time, etc.).
        Parameters:
        report - a pre-filled test report. Fields date, iteration, sessionId and testId are filled with valid values. Field duration is set to 0, field successful is set to true, and fields type, comment, result are set to null.
        Returns:
        the actual, complete test report, or null if this action must not be taken into account