Class
HttpTrafficRecorder

Definition

Namespace:ArtOfTest.WebAii.Design.TrafficRecording

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class HttpTrafficRecorder

Inheritance: objectHttpTrafficRecorder

Constructors

HttpTrafficRecorder()

Declaration

cs-api-definition
public HttpTrafficRecorder()

HttpTrafficRecorder(Manager)

Declaration

cs-api-definition
public HttpTrafficRecorder(Manager manager)

Parameters

manager

Manager

Properties

CaptureFromSource

Declaration

cs-api-definition
public HttpTrafficSource CaptureFromSource { get; set; }

Property Value

HttpTrafficSource

ExcludedProgramNames

Declaration

cs-api-definition
public IEnumerable<string> ExcludedProgramNames { get; }

Property Value

IEnumerable<string>

FilterProgramName

Declaration

cs-api-definition
public string FilterProgramName { get; set; }

Property Value

string

Methods

AddExcludedProgram(string)

Adds a program name which will be excluded from capturing

Declaration

cs-api-definition
public void AddExcludedProgram(string programName)

Parameters

programName

string

Name of executable to exclude from capture

InsertThinkTime()

Inserts a think time entity into the traffic stream. Think time entities are collapsed, so if the last entry in the stream is already think time, no new entity will be inserted.

Declaration

cs-api-definition
public void InsertThinkTime()

SaveTraffic(string)

Saves the recorded traffic to disk

Declaration

cs-api-definition
public void SaveTraffic(string filepath)

Parameters

filepath

string

The full path to the file to save traffic to

Start()

Declaration

cs-api-definition
public void Start()

Stop()

Declaration

cs-api-definition
public void Stop()

Events

TrafficAdded

Declaration

cs-api-definition
public event EventHandler TrafficAdded

Event Value

EventHandler