Skip to main content

%WebStress.Portal.Run

Class %WebStress.Portal.Run Extends %WebStress.Portal.standardPage [ LegacyInstanceContext, System = 4 ]

Parameters

APPLICATION

Parameter APPLICATION = "%WebStress.Portal.Application";

Set this to the appropriate application class.

DOMAIN

Parameter DOMAIN = "%WebStress";

Set this to the correct domain.

PAGENAME

Parameter PAGENAME = "Webstress Portal";

Name of this page.

Properties

MyId

Property MyId As %Integer;

Running

Property Running As %Boolean [ InitialExpression = 0 ];

TestId

Property TestId As %Integer;

RunId

Property RunId As %Integer;

RunDesc

Property RunDesc As %String(MAXLEN = 200);

XDatas

Style

XData Style

detailPane

XData detailPane [ XMLNamespace = "http://www.intersystems.com/zen" ]

Methods

GetRunsArray

Method GetRunsArray(ByRef pParameters, Output pMetaData, Output pData) As %Status

GetControlArray

Method GetControlArray(ByRef pParameters, Output pMetaData, Output pData) As %Status

renderControl

ClientMethod renderControl() [ Language = javascript ]

renderRuns

ClientMethod renderRuns() [ Language = javascript ]

controlTimer

ClientMethod controlTimer() [ Language = javascript ]

runTest

ClientMethod runTest(state) [ Language = javascript ]

getRunId

Method getRunId() As %Status [ ZenMethod ]

Run

Method Run(testid, state, desc) [ ZenMethod ]
Method %GetLocatorLinks(Output pLink) As %Status

Return the array of links to show in the locator bar.
pLink(n)=$LB(caption,link)

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

This class method callback is called just before the server-side page object is created.

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the page. This should be implemented in a subclass.

Purge

Method Purge(type As %Integer) As %Status [ ZenMethod ]

loadRuns

ClientMethod loadRuns() [ Language = javascript ]