Interview Question : What is the advantage of running the Vuser as thread?
Answer : The lr_abort function aborts the execution of a Vuser script. Itinstructs the Vuser to stop executing the Actions section, execute thevuser_end section and end the execution. This function is useful whenyou need to manually abort a script execution as a result of a specificerror condition. When you end a script using this function, the Vuseris assigned the status "Stopped". For this to take effect, we have tofirst uncheck the Continue on error option in Run-Time Settings.
Interview Question Category : Automated Testing
|