Skip to main content

%WebStress.Tests

Class %WebStress.Tests Extends (%Persistent, %XML.Adaptor, %ZEN.DataModel.Adaptor) [ Inheritance = right, Owner = {%Developer}, System = 4 ]

Properties

Name

Property Name As %String(TRUNCATE = 1);

A unique name that identifies this test

DelayType

Property DelayType As %String(DISPLAYLIST = ",No Delay,Random,User Recorded");

Parameters

Relationship Parameters As %WebStress.Tests.Parameters [ Cardinality = children, Inverse = Test ];

A list of the scripts that will be used in this test along with the associated generators, webservers etc

RandomDelayMin

Property RandomDelayMin As %Integer;

The lower limit in seconds for a random delay period

RandomDelayMax

Property RandomDelayMax As %Integer;

The upper limit in seconds for a random delay period

StartDate

Property StartDate As %Date(FORMAT = 3);

The date when the test should start. Used for non-interactive starts. (YYYY-MM-DD)

StopDate

Property StopDate As %Date(FORMAT = 3);

The date when the test should stop. Used for non-interactive starts (YYYY-MM-DD)

StartTime

Property StartTime As %Time(FORMAT = 2);

The time when the test should start. Used for non-interactive starts (HH:MM)

StopTime

Property StopTime As %Time(FORMAT = 2);

The time when the test should stop. Used for non-interactive starts (HH:MM)

RunMinutes

Property RunMinutes As %Integer;

The number of minutes that the test should run for (in record mode, not warm up or cool down).

WarmUpMinutes

Property WarmUpMinutes As %Integer;

The number of minutes that the test should run for before result recording starts

CoolDownMinutes

Property CoolDownMinutes As %Integer;

The number of minutes that the test should run for after result recording stops

ProxyAddress

Property ProxyAddress As %String(TRUNCATE = 1);

The address of the proxy server that should be used

ProxyPort

Property ProxyPort As %Integer;

The port on the proxy server that should be used

SetAppEncrypt

Property SetAppEncrypt As %Boolean [ InitialExpression = 1 ];

Indicates whether the encryption flag should be changed on the application servers

SendData

Property SendData As %Boolean;

Indicates whether the data and code should be sent to the remote generators

TransferResults

Property TransferResults As %Boolean;

Indicates whether the results should be transferred back from the other generators at the end of the run

CollectAppServerStats

Property CollectAppServerStats As %Boolean;

Indicates whether the application server statistics should be collected during the playback The stats include license usage as well as global/routine references/seizes etc

CollectAppServerPeriod

Property CollectAppServerPeriod As %Integer [ InitialExpression = 5 ];

The period in seconds at which to collect the statistics from the application servers

SavePageSource

Property SavePageSource As %Boolean [ InitialExpression = 0 ];

SavePageSourceDir

Property SavePageSourceDir As %String(MAXLEN = 255);

SSLConfig

Property SSLConfig As %String(MAXLEN = 255);

Timeout

Property Timeout As %String [ InitialExpression = 30 ];

Methods

%OnAddToSaveSet

Method %OnAddToSaveSet(depth As %Integer = 3, insert As %Integer = 0, callcount As %Integer = 0) As %Status [ Private, ServerOnly = 1 ]