lr_resume_transaction_instance

Resumes reporting transaction instance data within a script.

C Language

void lr_resume_transaction_instance( long trans_handle );  
Example: lr_resume_transaction_instanceTransaction Functions

Arguments

NameComments
trans_handleThe 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_instance can 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.

For more flexible ways recording transaction times conditionally, see lr_start_sub_transaction, lr_set_transaction, and lr_start_timer

Return Values

No value is returned.

Parameterization

You cannot use standard parameterization for any arguments in this function.