Home > Class Reference > ENSLIB namespace > %WebStress.Scripts.URLS
Private  Storage   


persistent class %WebStress.Scripts.URLS extends %Persistent, %XML.Adaptor


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 18 4 2


Delay Description Headers NumberOfParameters
PageMarker PageTime Parameters Path
PostExecute PreExecute Protocol RecordedTime
Request Response Script ServerChange
SpecifiedPort Verb

%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 DestroyDumpFile
DumpToFile NumberOfParametersGet PageTimeGet XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


• parameter FileTimestamp = "60212,85655";


• property Delay as %Integer;
The delay in milliseconds before calling this URL
• property Description as %String(MAXLEN=30,TRUNCATE=1);
This is the user entered description of the functionality of this URL
• property Headers as array of %String(TRUNCATE=1);
This is an array of the headers sent by the browser
• property NumberOfParameters as %Integer [ Calculated ];
• property PageMarker as %Boolean;
Indicates that this URL is the start of a page 'group'.
• property PageTime as %Integer [ Calculated ];
This is similar to the RecordedTime but is the total time for the page with all of its components
• relationship Parameters as %WebStress.Scripts.URLS.Parameters [ Inverse = URL,Cardinality = children ];
• property Path as %String(MAXLEN=10000,TRUNCATE=1);
This is the URL of the call
• property PostExecute as %String(MAXLEN=100,TRUNCATE=1);
The code that should be called after the web call is completed Example 1 - do PostURL20^Random.Script.1 Example 2 - do ##class(MyPackage.MyClass).AfterCall1()
• property PreExecute as %String(MAXLEN=100,TRUNCATE=1);
The code that should be executed before the web call is made Example 1 - do PreURL20^Random.Script.1 Example 2 - do ##class(MyPackage.MyClass).GetParams1(.params)
• property Protocol as %String(TRUNCATE=1);
The protocol used
• property RecordedTime as %Integer;
This is the number of milliseconds that were recorded between the request being received from the browser and the response being sent back from the server
• property Request as %GlobalCharacterStream;
This is the recorded request that was sent from the browser
• property Response as %GlobalCharacterStream;
This is the recorded response that was received back from the webserver
• relationship Script as %WebStress.Scripts [ Inverse = URLs,Cardinality = parent ];
• property ServerChange as %String(TRUNCATE=1);
This specifies an explicit server address that is different from that specified for the test
• property SpecifiedPort as %String(TRUNCATE=1);
This is the port that was explicitly specified in the original call
• property Verb as %String(TRUNCATE=1);
This is the verb that was used to call this web reference. Expected answers are either GET or POST.


• method DestroyDumpFile(file)
• method DumpToFile() as %String
• method NumberOfParametersGet() as %Integer
This is a Get accessor method for the NumberOfParameters property.
• method PageTimeGet() as %Integer
This is a Get accessor method for the PageTime property.


• query ListDetail(script As %String)
SQL Query :
SELECT childsub,Path,Verb,NumberOfParameters,Delay,PageTime FROM URLS
WHERE (PageMarker = 1 AND Script = :script)
ORDER BY childsub
• query ShowURL(script As %String)
SQL Query :
select ID,Path,Verb,NumberOfParameters from URLs where Script = :script