Some questions from my experience - hopefully will help someone
Scripting Skills
1. What is Think Time, Pacing – Easy Difficulty
How do you decide upon think time/pacing values.
Possible Answers –
Ø Using Littles Law formula - Number of users = Response Time * Transaction Per Second (TPS)
Ø Logical Derivation
2. Think Time Complex Difficulty
Can you calculate think time pacing values for following requirement – Single page script, customer wants 3600 transactions in 1 hour using 10 virtual users – Consider negligible response time.
Answer - 10 user need to do 3600 transaction => 1 User will do 360 transactions in 1 hour => 1 Iteration will need to be done in 3600/360 = 10 seconds
Pacing + Think Time = 10 Seconds
Think time should then be derived logically assuming the form length – eg - A single filed entry may take 2-3 seconds and remaining would be pacing.
3. Scenario Based : Average Difficulty
Question : Consider a scenario wherein while creating a test script in web/http protocol you need to handle a dynamically populated drop down box (Combo Box) and randomly pick up a value to be used in subsequent request
Possible Answer – This can be done using ’Correlation’ – Using “web_reg_save_param” load runner function and ORD= All attributes
Monitoring Questions:
1. Windows Monitoring –
Have you used perfmon?
What are the top 4 counters to be monitored using perfmon?
What is difference between user cpu/system cpu
2. Unix Monitoring –
How do you monitor unix flavored servers?
Have u used nmon, SAR, TOP, VMSTAT etc
3. Monitoring Tools :
Have you used HPD, Ganglia, Zabbix , Nagios etc
What counters do you monitor
4. APM Tools:
Exposure into dynatrace, Appdynamics, Wily etc
Performance Testing Questions (Definition based)
Easy Difficulty
What is 90th percent response time? - Answer - The response time value for a transaction below which 90% of the data points (response time values) lie, is called the 90 percentile response time.
Why 90th percentile response time is used and not average values? Answer - The Average Transaction Response Time graph displays the average time taken to perform transactions during each second of the load test scenario run. And the 90th percentile is the value for which 90% of the data points are smaller. 90th percentile gives you a more accurate picture removing the 10% outliers.
What is think Time and Pacing and Key differences?
What is IP spoofing – why is it used?
What graphs do you see during analysis?
Complex Difficulty
You are getting slow response when you click on a submit button – How will you identify the issue?
What is java thread dump – how do you analyze it?
How do you diagnose and solve memory leaks?
What are the various type of JVM logs?
What is DB profiling?
What are key sections of AWR report.