%WebStress.Tests.Parameters
Class %WebStress.Tests.Parameters Extends (%Persistent, %XML.Adaptor) [ Inheritance = right, Owner = {%Developer}, System = 4 ]
Parameters
FileTimestamp
Parameter FileTimestamp = "60219,33101";
Properties
Test
Relationship Test As %WebStress.Tests [ Cardinality = parent, Inverse = Parameters ];
Script
Property Script As %WebStress.Scripts;
The script that should be included as part of this test
Generator
Property Generator As %WebStress.Machines.Generators;
The generator that should generate the traffic for this script
WebServer
Property WebServer As %WebStress.Machines.WebServers;
The web server that the generator should use to access the application
WebServerPort
Property WebServerPort As %Integer [ InitialExpression = 80 ];
The port to be used on the webserver. Defaults to 80
Processes
Property Processes As %Integer(MINVAL = 1);
The number of processes that should be used to generate the traffic
Sessions
Property Sessions As %Integer(MINVAL = 1);
The number of sessions per process
Target
Property Target As %Numeric(SCALE = 1);
The required number of transactions per minute
ScriptPause
Property ScriptPause As %Integer;
Number of seconds to pause at the end of each script
LoopBackNumber
Property LoopBackNumber As %Integer;
This indicates that the script will loop back to the URL indicated by this number
LoopBackPercent
Property LoopBackPercent As %Integer;
This the the percentage of times that the loop back will occur
Methods
%OnBeforeSave
Method %OnBeforeSave(insert As %Boolean) As %Status [ Private ]
This callback method is invoked by the %Save method to provide notification that the object is being saved. It is called before any data is written to disk.
insert will be set to 1 if this object is being saved for the first time.
If this method returns an error then the call to %Save will fail.