Load Runner Interview Questions
Load Runner Interview Questions
Load Runner Interview Questions
5. Is it possible to record with Ajax (click & script) & web (click & script) in multiple protocol
scenarios?
No
6. Which protocol you would recommend for testing performance for Dotnet applications
implemented with Ajax and why?
Ajax (click & script) OR web (click & script) OR MS.Net protocols.
7. Imagine you are running a load test and after some time controller generated the error.
What will be your reaction and what you will observe?
I will look into the Log message window in controller and identify why the error is thrown & if
needed I will make enhancement to my Vuser script in Vugen and then run the script in debug
mode to make that the Vuser script does not fail and will refresh the script in controller and the
start the scenario back.
9. Suppose in the middle of Performance testing phase, you get a new requirement and
starting from development to functional testing have to implement the new requirement.
what type of changes you will incorporate in PT and how you will plan to test the req.
I would take the requirements change impact report document and discuss with the business
analyst and devlopers to identify the impact of the req change or new req on the application and
will identify the areas that would be impacted. And will add this to my perf test plan and then carry
out my performance testing activites once I receive the regression report after the req is
implemented in the application.
14. For a typical PT project, what type of documents do you expect for a client ?
Documents related to the High level and low level architecture of the application. Design
documents and documents that descibe the usage of thrid party components and external
communication components and documents that describe the communication architecture of the
application and use cases and test cases of the business critical scenarios and documents related
to the system service levels and documents of h/w , s/w re's etc......
16. What is the response time for the application that you have tested in your recent project?
It varies from business scenario to business scenario, the response time for critical business
scenario is 3 sec's.
17. What are the recommendations that you have provided for the client?
Poor GC, constant high usage of VM, connection pools, poor indexing and complex sql queries etc.
18. What are the challenges you have faced till now in PT?
To simulate the load on EJB applications that uses RMI protocols over IIOP
19. What is the difference between Load testing and endurance testing.
Load Testing – Test objective is to find the application behaviour is terms of response time under
anticipated load.
Endurance – Test Objective is to simulate load on an application upto a period of time to monitor
the application performance for longer periods.
22. What type of settings have you done for Web (click & script) protocol?
Change the Event configuration Level, Select appropriate mode(GUI/URL/HTML) etc..
23. Suppose while recording in Web (HTTP) protocol, you could not correlate dynamic values.
What will do?
Will look into the Response Log of the function while recorded.
26. Suppose you are running a scenario in a controller and in the middle you want to ramp up
20 Vusers. Is it possible?
Yes we can ramp up the Vusers.
27. What are the differences between URL mode and HTML mode and in what context you
choose one over another while selecting protocol for recording?
The HTML-based script level generates a separate step for each HTML user action. The steps are
also intuitive, but they do not reflect true emulation of the JavaScript code.
The URL-based script mode option instructs VuGen to record all browser requests and resources
from the server that were sent due to the user's actions. It automatically records every HTTP
resource as URL steps (web_url statements). For normal browser recordings, it is not
recommended to use the URL-based mode since is more prone to correlation related issues. If,
however, you are recording pages such as applets and non-browser applications, this mode is
ideal.
32.What is correlation?
Correlation is a technique to handle the dynamic values generated by the server like session id's
or serialization id's by replacing them with the current values generated during the run-time.
34.What is Sprintf() ?
Writes formatted output to a string
35.What is the difference between Recording Log, Generation Log, Replay Log ?
Recording Log: A Network Analyzer would analyze the communication happing at network level
and logs the events.
Generation Log: Logs the events happening while generating the Vuser script after recording.
Replay Log: Records the events of happening when executed a function in the script. Will be
logged at each line level of the script.
36.As you employ the settings of Logging(Standard, Extended) for a script in Run-
Time settings, How do you do this using code
lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG, LR_SWITCH_ON)
lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG,LR_SWITCH_OFF)
39.What is the difference between a plain HTTP protocol & AJAX protocol ?
42.What is a rendezvous point & if you insert a rendezvous point in your script,
What settings do you employ in your scenario ?
Will Define the Rendezvous Policy in Scenario settings.
44.I hav a set of Vusers in my scenario scheduled for 10 hours and I want the
controller to display the status of each Vuser dynamically ..i.e I want to know
what each Vuser is doing and what transaction or action is doing ? For this what
settings do you employ in your scenario ?
45.Did you ever come across an instance where you need to simulate Java script in
your AJAX protocol?