Skip to main content

%WebStress.Comms.Server

Class %WebStress.Comms.Server Extends %SOAP.WebService [ System = 4 ]

Parameters

SERVICENAME

Parameter SERVICENAME = "%WebStress";

Name of the WebService.

LOCATION

Parameter LOCATION = "http://localhost/csp/webdeploy";

TODO: change this to actual network address. URL for invoking the WebService.

NAMESPACE

Parameter NAMESPACE = "http://tempuri.org";

TODO: change this to actual SOAP namespace. SOAP Namespace for the WebService

Methods

OnPreHTTP

ClassMethod OnPreHTTP() As %Boolean [ ServerOnly = 1 ]

StartProcs

ClassMethod StartProcs(testID As %String, runNumber As %Integer, param As %Integer, senderID As %String, senderTime As %Integer) As %WebStress.Control [ WebMethod ]

Prepares the processes ready for the test

StartMonitor

ClassMethod StartMonitor(runNumber As %Integer, testID As %String, senderID As %String, runDescription As %String) As %Status [ WebMethod ]

DownloadData

ClassMethod DownloadData(stream As %GlobalBinaryStream, senderID As %String) As %String [ WebMethod ]

BuildCode

ClassMethod BuildCode(stream As %GlobalBinaryStream, senderID As %String) As %String [ WebMethod ]

CheckDataValid

ClassMethod CheckDataValid(request As %WebStress.Control.ValidData.Request) As %WebStress.Control.ValidData.Response.Generators [ WebMethod ]

CheckGeneratorRunStatus

ClassMethod CheckGeneratorRunStatus(testID As %String, senderID As %String) As %WebStress.Control.GeneratorStatus [ WebMethod ]

CheckGeneratorIsRunning

ClassMethod CheckGeneratorIsRunning(testID As %String, senderID As %String) As %WebStress.Control.GeneratorStatus [ WebMethod ]

GetMaxRunNumber

ClassMethod GetMaxRunNumber(testID As %String) As %Integer [ WebMethod ]

TestStart

ClassMethod TestStart(testID As %String) As %Integer [ WebMethod ]

TestStop

ClassMethod TestStop(testID As %String) As %Integer [ WebMethod ]

GetRunData

ClassMethod GetRunData(testID As %String) As %String [ WebMethod ]

GetIterationData

ClassMethod GetIterationData(testID As %String, run As %Integer) As %String [ WebMethod ]

StartDataTransfer

ClassMethod StartDataTransfer(runID As %Integer, testID As %String, serverPort As %Integer, senderID As %String, generator As %String) As %String [ WebMethod ]

ResetControlData

ClassMethod ResetControlData(testID As %String, senderID As %String) As %String [ WebMethod ]

AnyTestsRunning

ClassMethod AnyTestsRunning() As %Integer [ WebMethod ]

GetErrors

ClassMethod GetErrors(testID As %String, runID As %Integer, scriptID As %String) As %GlobalCharacterStream [ WebMethod ]

GetGenID

ClassMethod GetGenID() As %String [ WebMethod ]

TestAuthenticate

ClassMethod TestAuthenticate() As %Status [ WebMethod ]