Method | Description | |
---|---|---|
Run ( ConfiguredEndpoint endpoint, ServerTestConfiguration testConfiguration ) : void |
Runs the testcases against the endpoint.
|
|
ServerTestClient ( ApplicationConfiguration configuration ) : System |
Initializes the object with the specified configuration object. This method will create a default configuration if none is provided. |
Method | Description | |
---|---|---|
CreateSAMLToken ( string emailAddress, System.IdentityModel.Tokens.X509SecurityToken issuerToken ) : SamlSecurityToken |
Creates a SAML token for the specified email address and security token.
|
|
CreateSession ( ApplicationConfiguration configuration, BindingFactory bindingFactory, ConfiguredEndpoint endpoint, IUserIdentity identity ) : |
Creates a session.
|
|
CreateUserIdentity ( UserTokenPolicy policy ) : IUserIdentity |
Creates a user identity for the policy.
|
|
DoTest ( string endpoint, uint &totalCount, uint &failedCount ) : void |
Runs a test for a single endpoint.
|
|
DoTestForEndpoint ( ConfiguredEndpoint endpoint, uint &totalCount, uint &failedCount ) : void |
Runs a test for a single endpoint.
|
|
DumpPerfData ( ) : void |
Dumps the performance data for a test run.
|
|
DumpTable ( double>.Dictionary |
Dumps a table of results.
|
|
GetDefaultSession ( ) : |
Returns the a session to re-use for different tests.
|
|
GetElapsedTime ( System.DateTime start ) : int |
Returns the elapsed time in milliseconds.
|
|
GetEndpoints ( ConfiguredEndpoint endpoint ) : ConfiguredEndpointCollection |
Reads the endpoints for a server.
|
|
IndexPerfData ( PerfData data, double>.Dictionary |
Indexes the performance data.
|
|
IsEndpointSelected ( ConfiguredEndpoint endpoint, EndpointSelection selection, bool useXml ) : bool |
Determines whether the endpoint is selected.
|
|
Report ( |
Reports an exception encountered during a test.
|
|
Report ( TestBase test, double current, double final ) : void |
Used to log errors during a test run.
|
|
Report ( TestBase test, string format ) : void |
Used to log errors during a test run.
|
|
Report ( double current, double final ) : void |
Reports the progress for a test.
|
|
Report ( string format ) : void |
Reports the result of a test.
|
|
ReportBreakpoint ( ) : void |
Reports a breakpoint for a test.
|
|
ReportWithHeader ( string format ) : void |
Formats a header block in the log file.
|
|
SavePerfData ( ConfiguredEndpoint endpoint, double elaspedTime ) : void |
Saves the performance data for a test run.
|
|
Session_KeepAlive ( |
Raised when a keep alive response is returned from the server.
|
public Run ( ConfiguredEndpoint endpoint, ServerTestConfiguration testConfiguration ) : void | ||
endpoint | ConfiguredEndpoint | The endpoint to test. |
testConfiguration | ServerTestConfiguration | |
return | void |
public ServerTestClient ( ApplicationConfiguration configuration ) : System | ||
configuration | ApplicationConfiguration | The application configuration. |
return | System |