public class


extends Object
implements WebClientListener
   ↳ com.atlassian.jira.functest.framework.FuncTestWebClientListener

Class Overview

This counts and execution times the web requests


Public Constructors
Public Methods
List<String> getLastResponses()
We keep the previous response around in memory to help with problem diagnostics
long getParseCount()
long getParseTimeNanos()
long getPercentileRequestTime(int percentile)
long getRequestCount()
long getRequestTime()
void requestSent(WebClient src, WebRequest req)
void responseParsed(WebClient src, WebResponse resp, long parseNanos)
void responseReceived(WebClient src, WebResponse resp)
Inherited Methods
From class java.lang.Object
From interface com.meterware.httpunit.WebClientListener

Public Constructors

public FuncTestWebClientListener ()

Public Methods

public List<String> getLastResponses ()

We keep the previous response around in memory to help with problem diagnostics

  • a list of previous response if there are any other wise an EMPTY LIST

public long getParseCount ()

  • the number of parse invocations

public long getParseTimeNanos ()

  • the time of parse in nanoseconds

public long getPercentileRequestTime (int percentile)

public long getRequestCount ()

  • The number of HTTP web requests that have been made

public long getRequestTime ()

  • the time take in web requests

public void requestSent (WebClient src, WebRequest req)

public void responseParsed (WebClient src, WebResponse resp, long parseNanos)

public void responseReceived (WebClient src, WebResponse resp)