Friday, December 14, 2007

Can you debug a loadrunner script?

Yes, Loadrunner has an option of debugging. Click on any line in the script you want to start debug, right click, and select ‘toggle break point’. And the other option is from the menu bar, Edit—breakpoint... Once the breakpoint is set, and when you run the script it will stop at the place when you kept break point. Here if can press F10 to execute line by line or press F5 to execute rest of the line at a time. You can see the debug values in the output window. ‘Lr_set_debug_message’ function is used to insert in the script to debug a portion of the script.

No comments:

Post a Comment