%WebStress.Scripts.URLS
Class %WebStress.Scripts.URLS Extends (%Persistent, %XML.Adaptor) [ Inheritance = right, Owner = {%Developer}, System = 4 ]
Parameters
FileTimestamp
Parameter FileTimestamp = "60212,85655";
Properties
Script
Relationship Script As %WebStress.Scripts [ Cardinality = parent, Inverse = URLs ];
SpecifiedPort
Property SpecifiedPort As %String(TRUNCATE = 1);
This is the port that was explicitly specified in the original call
Verb
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.
Path
Property Path As %String(MAXLEN = 10000, TRUNCATE = 1);
This is the URL of the call
ServerChange
Property ServerChange As %String(TRUNCATE = 1);
This specifies an explicit server address that is different from that specified for the test
Description
Property Description As %String(MAXLEN = 30, TRUNCATE = 1);
This is the user entered description of the functionality of this URL
Delay
Property Delay As %Integer;
The delay in milliseconds before calling this URL
Headers
Property Headers As array Of %String(TRUNCATE = 1);
This is an array of the headers sent by the browser
Parameters
Relationship Parameters As %WebStress.Scripts.URLS.Parameters [ Cardinality = children, Inverse = URL ];
PreExecute
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)
PostExecute
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()
Request
Property Request As %GlobalCharacterStream;
This is the recorded request that was sent from the browser
Response
Property Response As %GlobalCharacterStream;
This is the recorded response that was received back from the webserver
RecordedTime
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
PageTime
Property PageTime As %Integer [ Calculated, SqlComputeCode = { set id={ID}
This is similar to the RecordedTime but is the total time for the page with all of its components
NumberOfParameters
Property NumberOfParameters As %Integer [ Calculated, SqlComputeCode = { set id={ID}
Protocol
Property Protocol As %String(TRUNCATE = 1);
The protocol used
PageMarker
Property PageMarker As %Boolean;
Indicates that this URL is the start of a page 'group'.
Methods
NumberOfParametersGet
Method NumberOfParametersGet() As %Integer
PageTimeGet
Method PageTimeGet() As %Integer
DumpToFile
Method DumpToFile() As %String
DestroyDumpFile
Method DestroyDumpFile(file)