Export (0) Print
Expand All

WebTestContext Properties

The WebTestContext type exposes the following members.

  Name Description
Public property AgentCount Gets the total number of agents used in the current test run.
Public property AgentId Gets the zero-based index for the current agent.
Public property AgentName Gets the name of the agent computer on which the WebTest is running.
Public property ControllerName Gets the name of the test controller computer.
Public property CookieContainer Gets or sets the cookies used by previous requests in the Web performance test.
Public property Count Gets the number of key/value pair elements in the WebTestContext.
Public property IsNewUser Gets a value that indicates whether the Web performance test is being run in the context of a new user of the target Web site.
Public property IsReadOnly Gets a value that indicates whether the WebTestContext is read-only.
Public property Item Gets or sets the value associated with the specified key from the WebTestContext object.
Public property Keys Gets a collection of all the keys in the WebTestContext.
Public property LastRequestOutcome
Public property LastResponse Gets or sets the last WebTestResponse.
Public property ValidationLevel Gets the validation level for the current test run.
Public property Values Gets a collection of all the values in the WebTestContext.
Public property WebTestIteration Gets the iteration number of this Web performance test variation.
Public property WebTestUserId Gets a value that uniquely identifies a simulated virtual user when you run the Web performance test in a load test.
Top
Show:
© 2014 Microsoft