Method EndTransaction
Stops timer to measure time between steps, and reports transaction 'name' and its time reading to the result.Usage
Function ZAP.EndTransaction (
String Name
)
Parameters
Name
Type: String
Transaction Name
Returns
No return value
Example
VBScript
Zap.StartTransaction "demo"
Zap.Wait 3
Zap.EndTransaction "demo"
JavaScript
Zap.StartTransaction("demo");
Zap.Wait(3);
Zap.EndTransaction("demo");
Documentation Categories
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)