There are two possible ways to achieve this - via the Active Profile settings, or using the SetCompleteTransaction function. SetCompleteTransaction function specifies whether the active transaction is to be finished when the load test is stopped. When set the virtual user checks whether to stop only at the beginning of a new transaction, thus the active transaction is completed before the user is stopped. If you disable this option, the virtual user checks whether to stop during thinking and waiting times, times in the waiting queue, and at the beginning of each transaction. Additionally the "GetCompleteTransaction" function returns true if the active transaction is to be finished. Alternatively the "Complete current transaction for stopped virtual users" setting can also be used. This setting is found under SETTINGS | ACTIVE PROFILE | REPLAY | SIMULATION | SIMULATION. Old KB# 19378
↧