CustomLoadTestCase Class |
Namespace: Hummingbird.TestFramework.Automation
The CustomLoadTestCase type exposes the following members.
Name | Description | |
---|---|---|
CustomLoadTestCase |
Initializes a new instance of the CustomLoadTestCase class.
|
Name | Description | |
---|---|---|
_iterationsExpected |
Gets or sets the total iterations expected at the moment X
(Inherited from LoadTestCase.) | |
_iterationsIgnored |
Gets or sets the cycles ignored.
(Inherited from LoadTestCase.) | |
_iterationsLaunched |
Gets or sets the total iterations have been launched during the test at the moment X
(Inherited from LoadTestCase.) | |
ActualLoadGraph |
Gets or sets the actual load graph for the last execution, it can be compared to theoretic load.
(Inherited from LoadTestCase.) | |
Context |
Gets or sets the test case level Context values. The context is dispatched by the automation engine, and is read-only outside of the Test Cases.
(Inherited from AbstractTestItem.) | |
CPUUsage |
Gets or sets the cpu usage measurement of the last execution
(Inherited from LoadTestCase.) | |
CustomControlPoints |
Gets or sets a list of time point and the expected load at that point
| |
CustomVariables |
Gets a list of custom variables defined by the user. These variables will be saved with the project. and will be replaced if necessary.
CustomVariables are more priority than variables in Variables, if an variable of the same name exists both in CustomVariables and Variables, the value of that in CustomVarialbes will return.
(Inherited from AbstractTestItem.) | |
Delay |
Gets or sets the delay to start the test execution.
(Inherited from LoadTestCase.) | |
Description |
Gets or sets the Description of the current AbstractTestItem (Inherited from AbstractTestItem.) | |
DisplayMessage |
Gets or sets the information can be shown to the user
(Inherited from AbstractTestItem.) | |
Duration |
Gets or sets the duration in number of the second where this test scenario will last.
(Inherited from LoadTestCase.) | |
ElapsedTime |
A DateTime object indicates the time when current steps finishes. EndTime is set by the test framework after the Checkpoint method has finishes.
If the test step goes wrong, EndTime will be set when the error occurs.
(Inherited from AbstractTestItem.) | |
ExpectedLoad |
Gets or sets the expected number of iterations per second during the performance testing
(Inherited from LoadTestCase.) | |
Id |
Gets or sets the unique identifier of the TestCase.
(Inherited from AbstractTestItem.) | |
IsDisabled |
Gets or sets whether the current test item is disabled.
(Inherited from AbstractTestItem.) | |
IsExpanded |
Gets or sets a value indicating whether this item is extended in its Visual Tree.
(Inherited from AbstractTestItem.) | |
IterationExecutionTime |
Gets or sets the iteration execution time during the last execution.
(Inherited from LoadTestCase.) | |
IterationPassRate |
Gets or sets the iteration pass rate during the last execution
(Inherited from LoadTestCase.) | |
LoadTestLogLevel |
Gets or sets the level of log details in a performance test report
(Inherited from LoadTestCase.) | |
MaxMesurePoints |
Gets or sets the number of measure points to calculate performance counters;
(Inherited from LoadTestCase.) | |
MemoryUsage |
Gets or sets the memory usag measurement during the last execution
(Inherited from LoadTestCase.) | |
Name |
Gets or sets the name of this Test Case
(Inherited from AbstractTestItem.) | |
OnErrorBehavior |
Gets or sets the behavior of Automation Engine when the current test case fails
(Inherited from TestCase.) | |
PerformanceThresholds |
Gets or sets the performance thresholds of the current load test
(Inherited from LoadTestCase.) | |
Progress |
Gets or sets the progress of the current test item (Test suite or test case)
(Inherited from AbstractTestItem.) | |
RampUpTime |
Gets or sets the time of ramp up in seconds that passes from 0 to expected load.
(Inherited from LoadTestCase.) | |
ScenarioStatus |
Gets the status of the current performance test scenario
(Inherited from LoadTestCase.) | |
ServiceNames |
Gets or sets the service names dictionary
(Inherited from LoadTestCase.) | |
ServicePassrate |
Gets or sets the pass rate operation by operation during the last execution. Only request operations are measured.
(Inherited from LoadTestCase.) | |
ServiceResponseTime |
Gets or sets the service response time.
(Inherited from LoadTestCase.) | |
StartTime |
A DateTime object indicates the time when current steps starts to run. StartTime is set by the test framework when the Run method has been called.
(Inherited from AbstractTestItem.) | |
Status |
Status of the current test item (TestSuite, TestCase or TestStep). Automation framework will mark Result = Running when entering the current item.
If Result has not been changed in Run() and Checkpoint() method, it will be marked as Passed.
(Inherited from AbstractTestItem.)You must assign Errors, Warning if it happens within Run and Checkpoint method. | |
Steps |
Gets or sets a list of Test Steps. The test steps will be executed
(Inherited from TestCase.) | |
TestStepCount |
Gets the count of test steps
(Inherited from TestCase.) | |
TestSuite |
Gets or sets the referenced test suite.
(Inherited from TestCase.) | |
Variables |
Gets or sets the variables in the current test scope (Test Step, Test Case or Test Suite).
(Inherited from AbstractTestItem.) |
Name | Description | |
---|---|---|
CheckParameters |
Checks the validity of test parameters.
(Overrides LoadTestCaseCheckParameters.) | |
Compare |
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Inherited from AbstractTestItem.) | |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from AbstractTestItem.) | |
DeleteItem |
Deletes an sub item from the current scope. for Test Case, the item is test Step, For Test Suite, the item is test case, ...
(Inherited from TestCase.) | |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from AbstractTestItem.) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Overrides LoadTestCaseDispose(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvaluateThreshold |
Evaluates the performance threshold from the given definition.
(Inherited from LoadTestCase.) | |
EvaluateThresholds |
Evaluates the performance thresholds.
(Inherited from LoadTestCase.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetActualIterationPassrate |
Gets the average pass rate of Iterations.
(Inherited from LoadTestCase.) | |
GetCPUUsage |
Gets the CPU usage.
(Inherited from LoadTestCase.) | |
GetCurrentActualLoad |
Gets the current actual load (Iterations/second) of the current running performance test scenario. This indicator will ignore any iteration ignored by the limitation by max number of threads.
(Inherited from LoadTestCase.) | |
GetCurrentExpectedLoad |
Gets the current load (Iterations/second) of the current running performance test scenario.
(Inherited from LoadTestCase.) | |
GetEndTime |
Gets the end time of the test depends on the specified start time.
(Overrides LoadTestCaseGetEndTime(DateTime).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIterationCycleTime |
Gets the iteration cycle time.
(Inherited from LoadTestCase.) | |
GetIterationPassrate |
Gets the iteration pass rate.
(Inherited from LoadTestCase.) | |
GetIterationsFailed |
Gets number of total Iterations failed.
(Inherited from LoadTestCase.) | |
GetIterationsFinished |
Gets number of total Iterations finished.
(Inherited from LoadTestCase.) | |
GetIterationsIgnored |
Gets the number of the iterations ignored due to cumulation of the running threads.
(Inherited from LoadTestCase.) | |
GetIterationsRunning |
Gets the number of the iterations started but bot yet finished. to improve the performance when the queued cycle is larger than the maximum number, Load generator will not generate loads.
(Inherited from LoadTestCase.) | |
GetLoad |
Gets the number of iterations should be run at the current time.
(Overrides LoadTestCaseGetLoad(DateTime, TimeSpan).) | |
GetLoadGraph |
Gets the expect load graph measure points. That graph can be shown as a simulation of the loads
(Overrides LoadTestCaseGetLoadGraph.) | |
GetMeasureInterval |
Gets the measure interval in milliseconds of the executing load test
(Inherited from LoadTestCase.) | |
GetMemoryUsage |
Gets the memory usage.
(Inherited from LoadTestCase.) | |
GetProgress |
Gets the progress of execution.
(Inherited from LoadTestCase.) | |
GetScenarioStatus |
Gets the execution status of the actual performance test scenario
(Inherited from LoadTestCase.) | |
GetServicePassrate |
Gets the service pass rate.
(Inherited from LoadTestCase.) | |
GetServiceResponseTime |
Gets the service response time.
(Inherited from LoadTestCase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVariable |
Gets the variable from the given context.
(Inherited from AbstractTestItem.) | |
GetVariables |
Gets All variables available for the current test scope.
(Inherited from AbstractTestItem.) | |
InitStatus |
Initializes the status of the Test Case
(Inherited from LoadTestCase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveDown |
Moves down a test item in its parent items collections
(Inherited from AbstractTestItem.) | |
MoveToBottom |
Moves to bottom a test item in its parent items collections
(Inherited from AbstractTestItem.) | |
MoveToTop |
Moves on top a test item in its parent items collection.
(Inherited from AbstractTestItem.) | |
MoveUp |
Moves up a test item in its parent items collection.
(Inherited from AbstractTestItem.) | |
OnPropertyChanged |
Called when property value has changed.
(Inherited from AbstractTestItem.) | |
RaiseControlPointsChanged |
Raises the notification considering that the CustomControlPoints has been change.
| |
Run |
Runs this performance test scenario
(Inherited from LoadTestCase.) | |
ToString |
Returns a String that represents this instance.
(Inherited from LoadTestCase.) | |
UpdateId |
Updates the identifier.
(Inherited from LoadTestCase.) |
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when the test case properties has been changed.
(Inherited from AbstractTestItem.) |
Name | Description | |
---|---|---|
_currentActualLoad |
local variable to hold the current actual load as number of iterations per second.
(Inherited from LoadTestCase.) | |
_currentExpectedLoad |
local variable to hold the current expected load as number of iterations per second.
(Inherited from LoadTestCase.) |
Name | Description | |
---|---|---|
ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |