IRISLIB database
Playback Class Reference
Inheritance diagram for Playback:
Collaboration diagram for Playback:

Public Member Functions

 ErrorCheck (_.Library.Integer errorStatus, _.Library.String errorText, _.WebStress.Scripts.URLS objUrl, _.Library.Integer session, _.Library.Integer urlId)
 Called after each call to check the page error status.
 
 Playback ()
 This runs the playback.
 
 PostExecute (_.WebStress.Scripts.URLS objUrl)
 Called after a URL call has been made to the server.
 
 PostRunCode ()
 This is called at the end of the full script.
 
 PreExecute (_.WebStress.Scripts.URLS objUrl, _.Library.String params)
 This is called before a URL call is made to the server. More...
 
 PreRunCode (_.WebStress.Scripts.URLS objUrl, _.Library.Integer session, _.Library.Integer urlId)
 This is called at the start of the full script.
 
- Public Member Functions inherited from Persistent
_.Library.Status AcquireLock (_.Library.String locktype)
 Acquires a lock for the current instance. More...
 
_.Library.Status LoadData (_.Library.String id)
 LoadData() - loads an object from storage. More...
 
_.Library.Status OnAfterSave (_.Library.Boolean insert)
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status OnBeforeSave (_.Library.Boolean insert)
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status OnOpen ()
 This callback method is invoked by the <METHOD>Open</METHOD> method to. More...
 
_.Library.Status OnReload ()
 This callback method is invoked by the <METHOD>Reload</METHOD> method to. More...
 
_.Library.Status OnRollBack ()
 This callback method is invoked by the <METHOD>Save</METHOD> method to. More...
 
_.Library.Status ReleaseLock (_.Library.String locktype)
 Releases a lock for the current instance. More...
 
_.Library.Status SaveData (_.Library.String id)
 SaveData() - saves an object to disk, checks uniqueness and referential More...
 
- Public Member Functions inherited from SwizzleObject
_.Library.Status OnJournalObject (_.Library.Integer tranid, _.Library.Integer jrnid, _.Library.String filter)
 This callback method is invoked by the <METHOD>JournalObject</METHOD> method to. More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Public Member Functions inherited from Adaptor
_.Library.Status XMLExport (_.Library.String top, _.Library.String format, _.XML.Namespaces namespaces, attrs, _.Library.String createId, _.Library.String typeAttr, oreflist, idlist, _.Library.String initialIndent, _.Library.Boolean local, _.Net.MIMEPart mimeAttachments)
 Serialize an XML enabled class as an XML document and write. More...
 
_.Library.Status XMLExportToStream (_.Stream.Object export, _.Library.String top, _.Library.String format, _.XML.Namespaces namespaces, attrs, _.Library.String createId, _.Library.String typeAttr, oreflist, idlist, _.Library.String initialIndent)
 Serialize an XML enabled class as an XML document and appends it to a stream. More...
 
_.Library.Status XMLExportToString (_.Library.String export, _.Library.String top, _.Library.String format, _.XML.Namespaces namespaces, attrs, _.Library.String createId, _.Library.String typeAttr, oreflist, idlist, _.Library.String initialIndent)
 Serialize an XML enabled class as an XML document and write it to a string. More...
 

Static Public Member Functions

 Run (_.Library.Integer RunID, _.Library.Integer TestID, _.Library.Integer ScriptID, _.Library.String Generator, _.Library.String WebServer, _.Library.Integer WebServerPort, _.Library.Integer Sessions, _.Library.Date StartDate, _.Library.Date StopDate, _.Library.Time StartTime, _.Library.Time StopTime, _.Library.Integer RunMins, _.Library.Integer WarmUpMins, _.Library.Integer CoolDownMins, _.Library.Integer ScriptPause, _.Library.Integer LoopBackUrl, _.Library.Integer LoopBackPcnt, _.Library.Integer TimeDiff, _.Library.Boolean debug, _.Library.Boolean Visual, _.Library.Boolean SavePage, _.Library.String SavePageDir, _.Library.String ProxyAddress, _.Library.Integer ProxyPort, _.Library.String SSLConfiguration)
 Enter here to start the run processing.
 
- Static Public Member Functions inherited from Persistent
_.Library.Status DeleteData (_.Library.String id, _.Library.Integer concurrency)
 This method is normally generated by the storage class for persistent classes using. More...
 
_.Library.Status KillExtentData (_.Library.Boolean killstreams)
 KillExtentData() - kills extent data in storage. More...
 
_.Library.Status OnAfterBuildIndices (_.Library.String indexlist)
 This callback method is invoked by the <METHOD>BuildIndices</METHOD> method after all work is completed. More...
 
_.Library.Status OnAfterDelete (_.Library.ObjectIdentity oid)
 This callback method is invoked by the <METHOD>Delete</METHOD> method to. More...
 
_.Library.Status OnAfterPurgeIndices (_.Library.String indexlist)
 This callback method is invoked by the <METHOD>PurgeIndices</METHOD> method after all work is completed. More...
 
_.Library.Status OnBeforeBuildIndices (_.Library.String indexlist)
 
_.Library.Status OnBeforePurgeIndices (_.Library.String indexlist)
 
_.Library.Status OnDelete (_.Library.ObjectIdentity oid)
 This callback method is invoked by the <METHOD>Delete</METHOD> method to. More...
 
- Static Public Member Functions inherited from Adaptor
_.Library.Status XMLDTD (_.Library.String top, _.Library.String format, _.Library.Boolean input, dtdlist)
 Write the DTD to the current device for this XML enabled class serialized as. More...
 
_.Library.RegisteredObject XMLNew (_.XML.Document document, _.Library.Integer node, _.Library.RegisteredObject containerOref)
 Get an instance of an XML enabled class. More...
 
_.Library.Status XMLSchema (_.Library.String top, _.Library.String format, _.Library.String namespacePrefix, _.Library.Boolean input, _.Library.Boolean refOnly, schema)
 Write an XML Schema fragment to the current device which describes an XML enabled class and dependent classes. More...
 
_.Library.String XMLSchemaNamespace ()
 Get the namespace to which this class belongs for use in schema generation. More...
 
_.Library.Status XMLSchemaType (_.XML.Schema schemaInstance, _.XML.Node node, _.Library.String top, _.Library.Boolean encoded, _.Library.Boolean summary, _.Library.Boolean input, _.Library.Boolean refOnly)
 Add a complexType to the schema that is respresented by an <class>XML.Schema</class> instance. More...
 

Public Attributes

 CoolDownMins
 The number of minutes that the test will run for at the end of recording the statistics. More...
 
 Generator
 The name of the generator that will be used to generate the traffic. More...
 
 HttpSessions
 A collection of sessions for this process. More...
 
 LoopBackPcnt
 This is the percentage of the time that the LoopBackURL will be used rather than the first URL. More...
 
 LoopBackURL
 This is a pointer to the URL in the script that we will loop back to rather than just back to the first URL. More...
 
 NextInvoke
   More...
 
 NoDelay
 Used to hold an array of all the page types where we specify no delay before making the call. More...
 
 NoResults
 Used to hold an array of all the page types where we don't want to record statistics. More...
 
 ProcessID
 This process ID. More...
 
 ProxyAddress
   More...
 
 ProxyPort
   More...
 
 RecordStart
   More...
 
 RecordStop
   More...
 
 Run
 Container for the Run object. More...
 
 RunID
 A unique number representing this run. More...
 
 RunMins
 The number of minutes that the test will run. More...
 
 SSLConfiguration
   More...
 
 SavePage
 A flag that indicates whether or not to save the returned page information into disk files. More...
 
 SavePageDir
 The root directory of where to sabe the returned page details if indicated to do so by the SavePage property. More...
 
 Script
 Container for the WebStress.Script object. More...
 
 ScriptID
 Pointer to WebStress.Scripts. More...
 
 ScriptPause
 The number of seconds to pause at the end of each script. More...
 
 Sessions
 The number of sessions per process. More...
 
 StartDate
 The date that the test run will start. More...
 
 StartTime
 The time that the test run will start. More...
 
 Status
   More...
 
 StopDate
 The date that the test run will stop. More...
 
 StopTime
 The time that the test run will stop. More...
 
 Test
 Container for the WebStress.Tests object. More...
 
 TestID
 Pointer to WebStress.Tests. More...
 
 TestStop
   More...
 
 TimeDiff
 The difference between the time on this machine and the time on the 'controller' (The system that initiated the run) More...
 
 WarmUpMins
 The number of minutes that the test will run for before recording the statistics starts. More...
 
 WebServer
 The address of the web server that will be used. More...
 
 WebServerPort
 The port number on the web server. More...
 
 debug
 This property used internally for debugging and logging purposes. More...
 

Additional Inherited Members

- Static Public Attributes inherited from Persistent
 XCOMPACTANCESTRY
 XCOMPACTANCESTRY can be set to a string to replace the value of the %CLASSNAME property (x__classname field) More...
 
 DATALOCATIONGLOBAL = None
 Global name containing master map data for this class. More...
 
 DEFAULTGLOBAL = None
 
 DSCONDITION = None
 DSCONDITION is the expression that will be evaluated before deciding whether certain actions must be taken. More...
 
 DSINTERVAL = None
 DSINTERVAL is the number of seconds between one DSTIME value and the next. More...
 
 DSTIME = None
 If the DSTIME parameter is set to AUTO then the most recent filing operation in the current DSTIME value. More...
 
 EXTENTQUERYSPEC = None
 The EXTENTQUERYSPEC parameter defines the properties to be retrieved in. More...
 
 EXTENTSIZE = None
 The EXTENTSIZE parameter is used to inform the SQL Query Optimizer More...
 
 GUIDENABLED = None
 If this parameter is set to 1 then a GUID will be assigned (to the GUID property) to each new object. More...
 
 IDENTIFIEDBY = None
 The IDENTIFIEDBY parameter can optionally be set to the name. More...
 
 MANAGEDEXTENT = None
 The MANAGEDEXTENT parameter can be set to 0 (zero) to cause the Extent Manager. More...
 
 READONLY = None
 READONLY = 1 means that objects can be created, opened but not saved or deleted. More...
 
 ROWLEVELSECURITY = None
 ROWLEVELSECURITY = 1 | <property> means that row level security is active and the list More...
 
 SQLPREVENTFULLSCAN = None
 SQLPREVENTFULLSCAN = 1 means an attempt to prepare a query that will result in a full scan More...
 
 STORAGEDEFAULT = None
 STORAGEDEFAULT defines the default storage allocation to use for properties in this class. More...
 
 USEEXTENTSET = None
 
 VERSIONCLIENTNAME = None
 VERSIONCLIENTNAME can be set to a valid CLIENTNAME (see property CLIENTNAME) value. More...
 
 VERSIONPROPERTY = None
 VERSIONPROPERTY = <property> means that the <property> in memory will be compared to. More...
 
- Static Public Attributes inherited from SwizzleObject
 DEFAULTCONCURRENCY = None
 DEFAULTCONCURRENCY is the default value for the concurrency formal argument. More...
 
 JOURNALSTREAM = None
 If OBJJOURNAL is true then the value of the JOURNALSTREAM parameter defines whether or not. More...
 
 OBJJOURNAL = None
 if OBJJOURNAL is TRUE then inserts, updates and deletes will be logged in ^OBJ.JournalT More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 
- Static Public Attributes inherited from Adaptor
 ATTRIBUTEQUALIFIED = None
 ATTRIBUTEQUALIFIED controls the format of exported XML by controlling whether attributes. More...
 
 ELEMENTQUALIFIED = None
 ELEMENTQUALIFIED controls the format of exported XML. More...
 
 NAMESPACE = None
 NAMESPACE specifies the XML namespace to be used when projecting the. More...
 
 SUPPRESSTYPEPREFIX = None
 SUPPRESSTYPEPREFIX allows the type name that refers to this class. More...
 
 XMLDEFAULTREFERENCE = None
 XMLDEFAULTREFERENCE specifies the default value of the XMLREFERENCE property parameter. More...
 
 XMLENABLED = None
 If this parameter is true then XML-enabling methods. More...
 
 XMLFORMAT = None
 The XMLFORMAT parameter controls the generation of the XMLExport and XMLImport. More...
 
 XMLIGNOREINVALIDATTRIBUTE = None
 The XMLIGNOREINVALIDATTRIBUTE parameter allows the programmer to control handling of unexpected. More...
 
 XMLIGNOREINVALIDTAG = None
 The XMLIGNOREINVALIDTAG parameter allows the programmer to control handling of unexpected. More...
 
 XMLIGNORENULL = None
 XMLIGNORENULL allows the programmer to override the default XML handling. More...
 
 XMLINCLUDEINGROUP = None
 XMLINCLUDEINGROUP allows the programmer to control whether a class is included. More...
 
 XMLINHERITANCE = None
 If the XMLINHERITANCE parameter is set to "LEFT", then in the case of multiple. More...
 
 XMLNAME = None
 This parameter provides the default XMLNAME for the class. More...
 
 XMLNIL = None
 The XMLNIL class parameter controls the use of xsi:nil by XMLExport. More...
 
 XMLNILNOOBJECT = None
 The XMLNILNOOBJECT parameter allows creation of an object to be skipped for elements. More...
 
 XMLPREFIX = None
 The XMLPREFIX parameter controls the prefix to be used for the XML namespace that. More...
 
 XMLSEQUENCE = None
 If the XMLSEQUENCE = 1, then the order of the XML elements must match the. More...
 
 XMLSUMMARY = None
 The summary fields to be used when an object is referenced are specified. More...
 
 XMLTYPE = None
 This parameter provides the default XMLTYPE for the class. More...
 
 XMLUNSWIZZLE = None
 If the XMLUNSWIZZLE parameter is set to 1, then single object. More...
 
 XMLUSEEMPTYELEMENT = None
 If the XMLUSEEMPTYELEMENT parameter is set to 1, then the empty element shorthand (<tag>) More...
 

Member Function Documentation

◆ PreExecute()

PreExecute ( _.WebStress.Scripts.URLS  objUrl,
_.Library.String  params 
)

This is called before a URL call is made to the server.

Normally to reset any parameters

Member Data Documentation

◆ CoolDownMins

CoolDownMins

The number of minutes that the test will run for at the end of recording the statistics.


This ensures that we do not get any abnormally 'quick' timings at the end of statistics recording due to a lower load on the server.  

◆ Generator

Generator

The name of the generator that will be used to generate the traffic.

 

◆ HttpSessions

HttpSessions

A collection of sessions for this process.

 

◆ LoopBackPcnt

LoopBackPcnt

This is the percentage of the time that the LoopBackURL will be used rather than the first URL.

 

◆ LoopBackURL

LoopBackURL

This is a pointer to the URL in the script that we will loop back to rather than just back to the first URL.


This may because the first URL is thestart of the user login process and we don't want to have the 'virtual user' logging in every time.  

◆ NextInvoke

NextInvoke

 

 

◆ NoDelay

NoDelay

Used to hold an array of all the page types where we specify no delay before making the call.

 

◆ NoResults

NoResults

Used to hold an array of all the page types where we don't want to record statistics.

 

◆ ProcessID

ProcessID

This process ID.

 

◆ ProxyAddress

ProxyAddress

 

 

◆ ProxyPort

ProxyPort

 

 

◆ RecordStart

RecordStart

 

 

◆ RecordStop

RecordStop

 

 

◆ Run

Run

Container for the Run object.

 

◆ RunID

RunID

A unique number representing this run.

 

◆ RunMins

RunMins

The number of minutes that the test will run.

Used instead of start/stop date/time or can be blank if start/stop date/time are used.

 

◆ SSLConfiguration

SSLConfiguration

 

 

◆ SavePage

SavePage

A flag that indicates whether or not to save the returned page information into disk files.

 

◆ SavePageDir

SavePageDir

The root directory of where to sabe the returned page details if indicated to do so by the SavePage property.

 

◆ Script

Script

Container for the WebStress.Script object.

 

◆ ScriptID

ScriptID

Pointer to WebStress.Scripts.

 

◆ ScriptPause

ScriptPause

The number of seconds to pause at the end of each script.


This gives a more realistic playback as 'human' input would normally pause before running the same workflow again.  

◆ Sessions

Sessions

The number of sessions per process.

 

◆ StartDate

StartDate

The date that the test run will start.

Can be blank.

 

◆ StartTime

StartTime

The time that the test run will start.

Can be blank.

 

◆ Status

Status

 

 

◆ StopDate

StopDate

The date that the test run will stop.

Can be blank.

 

◆ StopTime

StopTime

The time that the test run will stop.

Can be blank.

 

◆ Test

Test

Container for the WebStress.Tests object.

 

◆ TestID

TestID

Pointer to WebStress.Tests.

 

◆ TestStop

TestStop

 

 

◆ TimeDiff

TimeDiff

The difference between the time on this machine and the time on the 'controller' (The system that initiated the run)

 

◆ WarmUpMins

WarmUpMins

The number of minutes that the test will run for before recording the statistics starts.


This is to ensure that all the processes are running and that a consistent load is being applied to the server before the recording starts.
The value should be long enough to ensure that each script is able to run through to completion at least once  

◆ WebServer

WebServer

The address of the web server that will be used.

 

◆ WebServerPort

WebServerPort

The port number on the web server.

 

◆ debug

debug

This property used internally for debugging and logging purposes.