Class Timing
java.lang.Object
com.github.tomakehurst.wiremock.common.Timing
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The delay added to the response via the stub or global configurationint
The amount of time spent handling the stub requestint
The amount of time taken to send the response to the clientint
The total request time from start to finish, minus added delayint
The total request time including added delaywithResponseSendTime
(int responseSendTimeMillis)
-
Field Details
-
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
-