|
Description
How to pause and resume performance data collection in a LoadRunner transaction.
Solution
Transaction Functions Used:
int lr_start_transaction ( LPCSTR transaction_name );
int lr_stop_transaction (LPCSTR transaction_name);
int lr_resume_transaction (LPCSTR transaction_name);
int lr_end_transaction (LPCSTR transaction_name, int status );
Example:
lr_start_transaction("login");
...steps here will include in the transaction timing performance data...
lr_stop_transaction("login");
...steps here will be excluded from transaction timing performance data...
lr_resume_transaction("login");
...steps here will include in the transaction timing performance data...
lr_end_transaction("login", LR_AUTO);
Additional Examples and Information:
LoadRunner Function Reference |
|