1.What will you do if the VuGen crashes while recording a
script?
2.what will you do if Controller crashes while executing a
scenario?
Answer Posted / makesh
• I’m going to jump the gun a bit here, and say that often the quickest way to fix recording issues is to change the “Capture Level”. The three choices offered are; Sockets Level; WinINet Level; or, Both Sockets and WinINet.
By default, Sockets Level should be selected by default. Go ahead and try “WinINet Level”. 9 times of out 10, this will fix the recording issue.
Using either, Sockets or WinINet capture levels, will highly likely result in an identical script; for standard web applications recorded in Internet Explorer.
This “quick fix” is a little deceptive, as it’s no really a fix just a workaround. But it should get you moving forward (most of the time)
• The next step is to ensure you are using the right version of IE. Not every version of IE is compatible with every version of VuGen.
• Disable all non-essential IE toolbars and extensions.
This can be done via the Manage Add-ons option in the Tools menu.
• Disable VuGen thumbnails; In RegEdit, navigate to HKEY_LOCAL_MACHINESOFTWAREMercury InteractiveLoadRunnerVugenThumbnails and set the value for GenerateThumbs to 0.
Note, that thumbnail generation commonly causes problems even when IE behaves itself. It’s good to disable it, as thumbnails are rarely needed.
• Clear your TEMP directories. LoadRunner creates a lot of temporary files; make sure you save your scripts and exit all your applications first.
• Disable Data Execution Prevention (DEP). Whist I haven’t seen this cause problems for VuGen in recent years, it’s still a very good troubleshooting step. Information about disabling DEP can be easily found using your favourite internet search engine.
• Disable your Anti-Virus. Anti-Virus software is rarely a good idea on LoadRunner PC; and it can be difficult to disable. Remember to exercise a security mitigation plan when disabling Anti-Virus components.
• Try using a different administrative user account. Sometimes a user profile may become corrupted and not operative correctly.
• Try reinstalling LoadRunner and all respective patches.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is local configuration file?
How can we debug a loadrunner script?
What is the difference between web_reg_find and web_find?
How is automated correlation configured?
How does loadrunner execute a performance scenario?
How is each step validated in the script?
Which loadrunner component does the recording of performance test scenario?
What are different types of vuser logs which can be used while scripting and execution? What is the difference between these logs? When you disable logging?
What is scenario default?
What are the vuser components in loadrunner?
What is vuser script?
What is lr-function?
What is the think time? What is the threshold level for think time and how can be this changed?
What are the different types goals in goal-oriented scenario?
How will you stop the execution of a script on error?