com.ibm.rational.test.lt.execution.socket.custom

Interface ISckVerificationPoint



  • public interface ISckVerificationPoint
    ISckVerificationPoint is the interface that a Custom Verification Point must implement.
    Note that interface ISckEventDetailsProvider can also be implemented in order to provide additionnal information to the Test Log.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      String getText()
      Called after the test() method, as a chance for the end-user to provide a message explaining the verdict.
      int test(com.ibm.rational.test.lt.kernel.services.ITestExecutionServices tes, ISckReceiveAction receiveAction)
      This method is called after the parent receive action is run.
    • Method Detail

      • test

        int test(com.ibm.rational.test.lt.kernel.services.ITestExecutionServices tes,
               ISckReceiveAction receiveAction)
        This method is called after the parent receive action is run. The receive action has finished, succeeded or not, reaching a time out or not.
        The received bytes can be retrieved thanks to receiveAction.getConnectionHolder().getFinallyReceivedBytesCount() and receiveAction.getConnectionHolder().getFinallyReceivedBytes() methods.
        The number of bytes received from the wire can be zero. In this case, it is possible to emit an INCONCLUSIVE status.
        Parameters:
        tes - the reference to the ITestExecutionServices, that allows to log custom events in the Test Log amongst other things
        receiveAction - the reference to the receive action this verification point belongs to
        Returns:
        the verification point status to emit between VerdictEvent.VERDICT_INCONCLUSIVE, VerdictEvent.VERDICT_PASS and VerdictEvent.VERDICT_FAIL and VerdictEvent.VERDICT_ERROR.
      • getText

        String getText()
        Called after the test() method, as a chance for the end-user to provide a message explaining the verdict.
        Returns:
        the user-provided message that explains the verdict, or NULL if none.
IBM Rational Performance Tester Socket SDK

© Copyright IBM Corp. 2013. All rights reserved.