Home > Class Reference > %SYS namespace > %WebStress.Control

%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: TestCheck(), TestDelete(), TestDisplayToLogical(), TestExists(), TestGet(), TestGetStored(), TestIsValid(), TestLogicalToDisplay(), TestLogicalToOdbc(), TestNormalize(), TestOpen(), TestSQLCheckUnique(), TestSQLExists(), TestSQLFindPKeyByConstraint(), TestSQLFindRowIDByConstraint(), TestSet(), TestStart(), TestStop()
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 [ Language = objectscript ]
classmethod BuildResultIterations(TestID As %Integer, RunID As %Integer, desc As %String = "") [ Language = objectscript ]
classmethod CheckGeneratorIsRunning(testID As %String) as %Status [ Language = objectscript ]
classmethod CheckGeneratorRunStatus(testID) as %Status [ Language = objectscript ]
classmethod Clean() as %Status [ Language = objectscript ]
classmethod GeneratorIsRunning(testID As %String, senderID As %String) as %WebStress.Control.GeneratorStatus [ Language = objectscript ]
classmethod GeneratorProcs(testID As %String, runNumber As %Integer, runDescription As %String) as %Status [ Language = objectscript ]
classmethod GeneratorRunStatus(testID As %String, senderID As %String) as %WebStress.Control.GeneratorStatus [ Language = objectscript ]
classmethod GetAppServerStats(testID As %Integer, runID As %Integer, ByRef appServerStats As %String) [ Language = objectscript ]
classmethod GetErrors(testID As %String, runID As %Integer, scriptID As %String) as %GlobalCharacterStream [ Language = objectscript ]
classmethod GetGeneratorDetails(testID As %String, ByRef generators As %String) as %Status [ Language = objectscript ]
classmethod GetMaxRunNumber(testID As %String) as %Integer [ Language = objectscript ]
classmethod Monitor(runNumber As %Integer, testID As %String, senderID As %String, runDescription As %String) [ Language = objectscript ]
This is the background process that will monitor the progress of the run
classmethod Prepare(testID As %String, runDescription As %String) as %Status [ Language = objectscript ]
classmethod RunningCount(testID) as %Integer [ Language = objectscript ]
classmethod SavePage(saveDir As %String, scriptID As %Integer, iteration As %Integer, url As %String, response As %Stream.GlobalCharacter) [ Language = objectscript ]
classmethod SetAppEncrypt(testID As %String, value As %Integer) as %Status [ Language = objectscript ]
classmethod SetError(testID As %String, status As %String, message As %String) [ Language = objectscript ]
classmethod SetProgress(testID As %String, message As %String) [ Language = objectscript ]
classmethod StartMonitor(runNumber As %Integer, testID As %String, senderID As %String, runDescription As %String) as %String [ Language = objectscript ]
classmethod StartPrepare(testID As %String, runDescription As %String) as %String [ Language = objectscript ]
classmethod StartProcs(testID As %String, runNumber As %Integer, param As %Integer, senderID As %String, senderTime As %Integer) as %WebStress.Control [ Language = objectscript ]
This prepares all the background processes ready for the test
classmethod SystemID() as %String [ Language = objectscript ]
classmethod TestStart(testID As %String) as %Status [ Language = objectscript ]
classmethod TestStop(testID As %String) as %Status [ Language = objectscript ]

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: Storage (%WebStress.Control)

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

Storage Model: Storage (%WebStress.Control)

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

Storage Model: Storage (%WebStress.Control)

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

Storage Model: Storage (%WebStress.Control)

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

Storage Model: Storage (%WebStress.Control)

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

Storage Model: Storage (%WebStress.Control)

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