软件测试LoadRunner面试题:If you want to stop the execution of your script on error, how do you do that?

2023-07-06   


  The lr_abort function aborts the execution of a Vuser script. It instructs the Vuser to stop executing the Actions section, execute the vuser_end section and end the execution. This function is useful when you need to manually abort a script execution as a result of a specific error condition. When you end a script using this function, the Vuser is assigned the status “Stopped”. For this to take effect, we have to first uncheck the .Continue on error. option in Run-Time Settings.



相关内容:

  1. 软件测试LoadRunner面试题:How do you identify the performance bottlenecks
  2. 软件测试LoadRunner面试题:How do you identify the performance bottlenecks
  3. 软件测试LoadRunner面试题: Where do you set automatic correlation options?
  4. 软件测试LoadRunner面试题:How did you find web server related issues?
  5. 软件测试LoadRunner面试题:What is Ramp up? How do you set this
  6. 软件测试LoadRunner面试题:What is think time? How do you change the threshold?