This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsLib.Testing.Request

EnsLib.Testing.Request

persistent class EnsLib.Testing.Request extends Ens.Request

SQL Table Name: EnsLib_Testing.Request

Used in conjunction with the EnsLib.Testing.Service to wrap a test request for dispatch to a testing target.

Property Inventory

Method Inventory

Parameters

parameter DOMAIN = Ensemble;
Use our own domain for localization

Properties

property %requestClassname as %String (MAXLEN = 128) [ ReadOnly ];
Classname of Request object to send to the target ( Populated automatically in Testing Service )
Property methods: %requestClassnameDisplayToLogical(), %requestClassnameGet(), %requestClassnameGetStored(), %requestClassnameIsValid(), %requestClassnameLogicalToDisplay(), %requestClassnameLogicalToOdbc(), %requestClassnameNormalize()
property %requestId as %String (COLLATION = "EXACT") [ ReadOnly ];
Database Id of Request object to send to the target ( Populated automatically in Testing Service )
Property methods: %requestIdDisplayToLogical(), %requestIdGet(), %requestIdGetStored(), %requestIdIsValid(), %requestIdLogicalToDisplay(), %requestIdLogicalToOdbc(), %requestIdNormalize()
property Request as Ens.Request;
A Request object to send to the target.
Property methods: RequestGet(), RequestGetObject(), RequestGetObjectId(), RequestGetStored(), RequestGetSwizzled(), RequestIsValid(), RequestNewObject(), RequestSet(), RequestSetObject(), RequestSetObjectId(), RequestUnSwizzle()
property SyncCall as %Boolean [ InitialExpression = 0 ];
Should the test Request be sent Synchronously or Asynchronously?
Property methods: SyncCallDisplayToLogical(), SyncCallGet(), SyncCallGetStored(), SyncCallIsValid(), SyncCallLogicalToDisplay(), SyncCallLogicalToXSD(), SyncCallNormalize(), SyncCallSet(), SyncCallXSDToLogical()
property Target as %String (MAXLEN = 128);
Name of Host (Business Operation or Business Process) to send the Request to.
Property methods: TargetDisplayToLogical(), TargetGet(), TargetGetStored(), TargetIsValid(), TargetLogicalToDisplay(), TargetLogicalToOdbc(), TargetNormalize(), TargetSet()

Methods

method setRequestProps()

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Ens.MessageBody)

^Ens.MessageBodyD(ID)
=
%%CLASSNAME

Storage Model: CacheStorage (EnsLib.Testing.Request)

^Ens.MessageBodyD(ID,"TestingRequest")
=
Request
Target
SyncCall
%requestClassname
%requestId
FeedbackOpens in a new window