ClassHttpTrafficRecorder
Class
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
Properties
CaptureFromSource
Declaration
cs-api-definition
public HttpTrafficSource CaptureFromSource { get; set; }
Property Value
ExcludedProgramNames
Declaration
cs-api-definition
public IEnumerable<string> ExcludedProgramNames { get; }
Property Value
Methods
AddExcludedProgram(string)
Adds a program name which will be excluded from capturing
Declaration
cs-api-definition
public void AddExcludedProgram(string programName)
Parameters
programName
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
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()