Provides measurements for the last page-level function call.
WebAPI.bdh
WebPageStatistics( in nSource : number, in nOption : number, out nResult : number): boolean;
true if the specified value was set
false otherwise
Parameter | Description |
---|---|
nSource |
Specifies for which documents to provide measurements. This parameter must be one of the following values:
|
nOption |
Can be set to one of the following values:
|
nResult | Variable that receives the result. |
dcltrans transaction TMain var nResult: number; begin WebPageUrl("http://standardhost/"); WebPageStatistics(STATFLAG_ALL, STATFLAG_TIMERSERVERBUSY, nResult); Print(string(nResult)); WebPageStatistics(STATFLAG_HTMLDOC, STATFLAG_TIMERDNS, nResult); Print(string(nResult)); end TMain;