execution, time, api, request, response, send, soap, rest, get, post, put, delete

Method GetExecutionTime

API

Returns method execution time in milliseconds

Watch this video to learn how to use this method

Have a problem with playback?
GetExecutionTime method returns method execution time in milliseconds Prior to use this function you need to insert Execute method. The Output is request execution time in milliseconds. Lets make a request and show its execution time. We will use messagebox to demonstrate the output.

Usage

Function GetExecutionTime()

GetBooks

GetExec...Time

Parameters

This method does not take parameters

Returns

Execution time in milliseconds

Example

VBScript

Server("API Server").Method("Method").Execute
' Get execution time
msgbox Server("API Server").Method("Method").GetExecutionTime()

JavaScript

Server("API Server").Method("Method").Execute();
// Get execution time
alert(Server("API Server").Method("Method").GetExecutionTime());

GetBooks

Execute

Comment

Get execution time and display it in message box

Variable

time

GetExec...Time

Method

Zap.Comm...Box

Zap.Var...("time")

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227