%WebStress.Control
persistent class %WebStress.Control extends %Library.Persistent, %XML.Adaptor
SQL Table Name: %WebStress.Control
Property Inventory
- AppServerStatus
- ErrorText
- GeneratorStatus
- Jobs
- MonitorJob
- ProcessStatus
- Progress
- RunDescription
- RunNumber
- Status
- SystemIdentifier
- Test
- TimeDiff
- TimeStart
- TimeStop
Method Inventory
- AnyTestsRunning()
- BuildResultIterations()
- CheckGeneratorIsRunning()
- CheckGeneratorRunStatus()
- Clean()
- GeneratorIsRunning()
- GeneratorProcs()
- GeneratorRunStatus()
- GetAppServerStats()
- GetErrors()
- GetGeneratorDetails()
- GetMaxRunNumber()
- Monitor()
- Prepare()
- RunningCount()
- SavePage()
- SetAppEncrypt()
- SetError()
- SetProgress()
- StartMonitor()
- StartPrepare()
- StartProcs()
- SystemID()
- TestStart()
- TestStop()
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 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 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 RunningCount(testID) as %Integer
classmethod SavePage(saveDir As %String, scriptID As %Integer, iteration As %Integer, url As %String, response As %Stream.GlobalCharacter)
classmethod StartMonitor(runNumber As %Integer, testID As %String, senderID 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
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
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
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) |