Is there a way to eliminate time spent of execution of custom code from a transaction in VuGen?
I have wriiten some custom code within a transaction in my VuGen script but want to exclude it from response time calculation. Is there a function/method that can help me exculde time spent on this part of code from the transaction?
The script is something like this..
Re: Is there a way to exclude custom code from a transaction in VuGen?
The time spent in lr_stop_transaction - lr_resume_transaction block is also reported in lr_end_transaction output. It stops the timer only within the block. I want the time spent for execution of the block of code to be eliminated for the transaction.
This is the text on LR function library -
After a call to lr_stop_transaction, statistics returned by the "get" Transaction Functions reflect only the data up to the call, until lr_resume_transaction is called. The specified transaction must have been opened with lr_start_transaction.
Data collection, however, is not interrupted. After the call to lr_resume_transaction, 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 stop and resume.