Open topic with navigation
Resumes reporting transaction instance data within a script.
void lr_resume_transaction_instance( long trans_handle );
|Example: lr_resume_transaction_instance||Transaction Functions|
|trans_handle||The transaction instance ID that was returned by lr_start_transaction_instance|
The lr_resume_transaction_instance function resumes the reporting of transaction data within the script that was suspended by lr_stop_transaction_instance. After a call to lr_stop_transaction_instance, statistics returned by the "get" Transaction Functions reflect only the data up to that call, until this function is called.
Data collection, however, is not interrupted. After the call to lr_resume_transaction_instance, the "get" functions return all data since the start of the transaction. Furthermore, the final results when the test is analyzed will reflect the total values, including the periods in between the transaction instance stop and resume.
If lr_resume_transaction_instance is not called, the final results reflect the statistics only until the call to lr_stop_transaction_instance.
The parent_handle is the value returned from the call to lr_start_transaction_instance that created the instance.
lr_stop_transaction_instance and lr_resume_transaction_instancecan be used to conditionally collect information about either the beginning, or all of the transaction.
Note that you will not be able to differentiate in analysis between iterations when lr_stop_transaction_instance was called and iterations where it was not.
No value is returned.
You cannot use standard parameterization for any arguments in this function.