Skip to main content

%WebStress.Control

persistent class %WebStress.Control extends %Library.Persistent, %XML.Adaptor

SQL Table Name: %WebStress.Control

Property Inventory

Method Inventory

Properties

property AppServerStatus as array of %WebStress.Control.AppServers;
An array constructed when the encryption flag is being changed on the application servers
Property methods: AppServerStatusBuildValueArray(), AppServerStatusCollectionToDisplay(), AppServerStatusCollectionToOdbc(), AppServerStatusDisplayToCollection(), AppServerStatusGet(), AppServerStatusGetObject(), AppServerStatusGetObjectId(), AppServerStatusGetStored(), AppServerStatusGetSwizzled(), AppServerStatusIsValid(), AppServerStatusOdbcToCollection(), AppServerStatusSet(), AppServerStatusSetObject(), AppServerStatusSetObjectId()
property ErrorText as %String (MAXLEN = 255, TRUNCATE = 1);
A description of the last error
Property methods: ErrorTextDisplayToLogical(), ErrorTextGet(), ErrorTextGetStored(), ErrorTextIsValid(), ErrorTextLogicalToDisplay(), ErrorTextLogicalToOdbc(), ErrorTextNormalize(), ErrorTextSet()
property GeneratorStatus as array of %WebStress.Control.GeneratorStatus;
Shows the control status on each generator
Property methods: GeneratorStatusBuildValueArray(), GeneratorStatusCollectionToDisplay(), GeneratorStatusCollectionToOdbc(), GeneratorStatusDisplayToCollection(), GeneratorStatusGet(), GeneratorStatusGetObject(), GeneratorStatusGetObjectId(), GeneratorStatusGetStored(), GeneratorStatusGetSwizzled(), GeneratorStatusIsValid(), GeneratorStatusOdbcToCollection(), GeneratorStatusSet(), GeneratorStatusSetObject(), GeneratorStatusSetObjectId()
property Jobs as array of %String (TRUNCATE = 1);
The list of jobs running on a generator
Property methods: JobsBuildValueArray(), JobsCollectionToDisplay(), JobsCollectionToOdbc(), JobsDisplayToCollection(), JobsDisplayToLogical(), JobsGet(), JobsGetObject(), JobsGetObjectId(), JobsGetStored(), JobsGetSwizzled(), JobsIsValid(), JobsLogicalToDisplay(), JobsLogicalToOdbc(), JobsNormalize(), JobsOdbcToCollection(), JobsSet(), JobsSetObject(), JobsSetObjectId()
property MonitorJob as %String (TRUNCATE = 1);
The job number of the monitor process
Property methods: MonitorJobDisplayToLogical(), MonitorJobGet(), MonitorJobGetStored(), MonitorJobIsValid(), MonitorJobLogicalToDisplay(), MonitorJobLogicalToOdbc(), MonitorJobNormalize(), MonitorJobSet()
property ProcessStatus as array of %WebStress.Control.Processes;
An array showing the number of processes started on each generator
Property methods: ProcessStatusBuildValueArray(), ProcessStatusCollectionToDisplay(), ProcessStatusCollectionToOdbc(), ProcessStatusDisplayToCollection(), ProcessStatusGet(), ProcessStatusGetObject(), ProcessStatusGetObjectId(), ProcessStatusGetStored(), ProcessStatusGetSwizzled(), ProcessStatusIsValid(), ProcessStatusOdbcToCollection(), ProcessStatusSet(), ProcessStatusSetObject(), ProcessStatusSetObjectId()
property Progress as array of %WebStress.Control.Progress;
An array containing the progress of the test preparation
Property methods: ProgressBuildValueArray(), ProgressCollectionToDisplay(), ProgressCollectionToOdbc(), ProgressDisplayToCollection(), ProgressGet(), ProgressGetObject(), ProgressGetObjectId(), ProgressGetStored(), ProgressGetSwizzled(), ProgressIsValid(), ProgressOdbcToCollection(), ProgressSet(), ProgressSetObject(), ProgressSetObjectId()
property RunDescription as %String (TRUNCATE = 1);
A description of this run
Property methods: RunDescriptionDisplayToLogical(), RunDescriptionGet(), RunDescriptionGetStored(), RunDescriptionIsValid(), RunDescriptionLogicalToDisplay(), RunDescriptionLogicalToOdbc(), RunDescriptionNormalize(), RunDescriptionSet()
property RunNumber as %Integer;
Incremental number associated with each test
Property methods: RunNumberDisplayToLogical(), RunNumberGet(), RunNumberGetStored(), RunNumberIsValid(), RunNumberLogicalToDisplay(), RunNumberNormalize(), RunNumberSet(), RunNumberXSDToLogical()
property Status as %String (DISPLAYLIST = ",Unknown,Preparing,Waiting,Warmup,Recording,Cooldown,Stopping,Stopped,Error", TRUNCATE = 1, VALUELIST = ",0,1,2,3,4,5,6,7,8") [ InitialExpression = 0 ];
The status code associated with the test
Property methods: StatusDisplayToLogical(), StatusGet(), StatusGetStored(), StatusIsValid(), StatusLogicalToDisplay(), StatusLogicalToOdbc(), StatusNormalize(), StatusSet()
property SystemIdentifier as %String (TRUNCATE = 1) [ Required ];
A string uniquely identifying this system (hostname_namespace_manager's directory)
Property methods: SystemIdentifierDisplayToLogical(), SystemIdentifierGet(), SystemIdentifierGetStored(), SystemIdentifierIsValid(), SystemIdentifierLogicalToDisplay(), SystemIdentifierLogicalToOdbc(), SystemIdentifierNormalize(), SystemIdentifierSet()
property Test as %String (TRUNCATE = 1) [ Required ];
The test identifier
Property methods: TestDisplayToLogical(), TestGet(), TestGetStored(), TestIsValid(), TestLogicalToDisplay(), TestLogicalToOdbc(), TestNormalize(), TestSet()
property TimeDiff as %Integer;
The time difference (secs) between the starting machine and the other generators
Property methods: TimeDiffDisplayToLogical(), TimeDiffGet(), TimeDiffGetStored(), TimeDiffIsValid(), TimeDiffLogicalToDisplay(), TimeDiffNormalize(), TimeDiffSet(), TimeDiffXSDToLogical()
property TimeStart as %TimeStamp;
Property methods: TimeStartDisplayToLogical(), TimeStartGet(), TimeStartGetStored(), TimeStartIsValid(), TimeStartLogicalToDisplay(), TimeStartLogicalToXSD(), TimeStartNormalize(), TimeStartOdbcToLogical(), TimeStartSet(), TimeStartXSDToLogical()
property TimeStop as %TimeStamp;
Property methods: TimeStopDisplayToLogical(), TimeStopGet(), TimeStopGetStored(), TimeStopIsValid(), TimeStopLogicalToDisplay(), TimeStopLogicalToXSD(), TimeStopNormalize(), TimeStopOdbcToLogical(), TimeStopSet(), TimeStopXSDToLogical()

Methods

classmethod AnyTestsRunning() as %Integer
classmethod BuildResultIterations(TestID As %Integer, RunID As %Integer, desc As %String = "")
classmethod CheckGeneratorIsRunning(testID As %String) as %Status
classmethod CheckGeneratorRunStatus(testID) as %Status
classmethod Clean() as %Status
classmethod GeneratorIsRunning(testID As %String, senderID As %String) as %WebStress.Control.GeneratorStatus
classmethod GeneratorProcs(testID As %String, runNumber As %Integer, runDescription As %String) as %Status
classmethod GeneratorRunStatus(testID As %String, senderID As %String) as %WebStress.Control.GeneratorStatus
classmethod GetAppServerStats(testID As %Integer, runID As %Integer, ByRef appServerStats As %String)
classmethod GetErrors(testID As %String, runID As %Integer, scriptID As %String) as %GlobalCharacterStream
classmethod GetGeneratorDetails(testID As %String, ByRef generators As %String) as %Status
classmethod GetMaxRunNumber(testID As %String) as %Integer
classmethod Monitor(runNumber As %Integer, testID As %String, senderID As %String, runDescription As %String)
This is the background process that will monitor the progress of the run
classmethod Prepare(testID As %String, runDescription As %String) as %Status
classmethod RunningCount(testID) as %Integer
classmethod SavePage(saveDir As %String, scriptID As %Integer, iteration As %Integer, url As %String, response As %Stream.GlobalCharacter)
classmethod SetAppEncrypt(testID As %String, value As %Integer) as %Status
classmethod SetError(testID As %String, status As %String, message As %String)
classmethod SetProgress(testID As %String, message As %String)
classmethod StartMonitor(runNumber As %Integer, testID As %String, senderID As %String, runDescription As %String) as %String
classmethod StartPrepare(testID As %String, runDescription As %String) as %String
classmethod StartProcs(testID As %String, runNumber As %Integer, param As %Integer, senderID As %String, senderTime As %Integer) as %WebStress.Control
This prepares all the background processes ready for the test
classmethod SystemID() as %String
classmethod TestStart(testID As %String) as %Status
classmethod TestStop(testID As %String) as %Status

Indexes

index (Test on Test,SystemIdentifier) [IdKey, PrimaryKey, Type = key, Unique];
Index methods: TestCheck(), TestDelete(), TestDisplayToLogical(), TestExists(), TestGet(), TestGetStored(), TestIsValid(), TestLogicalToDisplay(), TestLogicalToOdbc(), TestNormalize(), TestOpen(), TestSQLCheckUnique(), TestSQLExists(), TestSQLFindPKeyByConstraint(), TestSQLFindRowIDByConstraint(), TestSet(), TestStart(), TestStop()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (%WebStress.Control)

^WebStress.ControlD(ID,"AppServerStatus",n)
=
AppServerStatus(n)

Storage Model: CacheStorage (%WebStress.Control)

^WebStress.ControlD(ID)
=
%%CLASSNAME
ErrorText
MonitorJob
RunNumber
TimeDiff
Status
TimeStart
TimeStop
RunDescription

Storage Model: CacheStorage (%WebStress.Control)

^WebStress.ControlD(ID,"GeneratorStatus",n)
=
GeneratorStatus(n)

Storage Model: CacheStorage (%WebStress.Control)

^WebStress.ControlD(ID,"Jobs",n)
=
Jobs(n)

Storage Model: CacheStorage (%WebStress.Control)

^WebStress.ControlD(ID,"ProcessStatus",n)
=
ProcessStatus(n)

Storage Model: CacheStorage (%WebStress.Control)

^WebStress.ControlD(ID,"Progress",n)
=
Progress(n)
FeedbackOpens in a new tab