java.lang.Object
com.github.tomakehurst.wiremock.common.Timing

public class Timing extends Object
  • Field Details

    • UNTIMED

      public static final Timing UNTIMED
  • Constructor Details

    • Timing

      public Timing(int addedDelay, int processTime)
  • Method Details

    • getAddedDelay

      public int getAddedDelay()
      The delay added to the response via the stub or global configuration
    • getProcessTime

      public int getProcessTime()
      The amount of time spent handling the stub request
    • getResponseSendTime

      public int getResponseSendTime()
      The amount of time taken to send the response to the client
    • getServeTime

      public int getServeTime()
      The total request time from start to finish, minus added delay
    • getTotalTime

      public int getTotalTime()
      The total request time including added delay
    • withResponseSendTime

      public Timing withResponseSendTime(int responseSendTimeMillis)