Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%WebStress] >  [Control]
Private  Storage   

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
15 25 1


Summary

Properties
AppServerStatus ErrorText GeneratorStatus Jobs
MonitorJob ProcessStatus Progress RunDescription
RunNumber Status SystemIdentifier Test
TimeDiff TimeStart TimeStop

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %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 %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject 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
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property AppServerStatus as array of %WebStress.Control.AppServers;
An array constructed when the encryption flag is being changed on the application servers
• property ErrorText as %String(MAXLEN=255,TRUNCATE=1);
A description of the last error
• property GeneratorStatus as array of %WebStress.Control.GeneratorStatus;
Shows the control status on each generator
• property Jobs as array of %String(TRUNCATE=1);
The list of jobs running on a generator
• property MonitorJob as %String(TRUNCATE=1);
The job number of the monitor process
• property ProcessStatus as array of %WebStress.Control.Processes;
An array showing the number of processes started on each generator
• property Progress as array of %WebStress.Control.Progress;
An array containing the progress of the test preparation
• property RunDescription as %String(TRUNCATE=1);
A description of this run
• property RunNumber as %Integer;
Incremental number associated with each test
• 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 SystemIdentifier as %String(TRUNCATE=1);
A string uniquely identifying this system (hostname_namespace_manager's directory)
• property Test as %String(TRUNCATE=1);
The test identifier
• property TimeDiff as %Integer;
The time difference (secs) between the starting machine and the other generators
• property TimeStart as %TimeStamp;
• property TimeStop as %TimeStamp;

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

Indices

•index (Test on Test,SystemIdentifier) [IdKey,PrimaryKey,Unique];


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.