51Testing软件测试论坛

标题: LoadRunner:Pause Transaction Time Performance Data Collection [打印本页]

作者: pcl2004_27    时间: 2006-10-25 14:12
标题: LoadRunner:Pause Transaction Time Performance Data Collection
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




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2