Interface TestScenario<T,​R>

  • Type Parameters:
    T - - request type, input data into scenario execution.
    R - - response type, the result of scenario execution.

    public interface TestScenario<T,​R>
    Implementations of this interface is a Test Scenario. It is executed in single thread.
    • Method Detail

      • getResult

        R getResult​(T request)
             throws ScenarioExecException
        This method is called only once and represents single scenario run.
        Parameters:
        request - - input data into scenario execution.
        Returns:
        - the result of scenario execution.
        Throws:
        ScenarioExecException - - thrown in case that scenario execution fails.