Performance Testing
Performance Testing
2
You run a load test, and the performance does not agree with your goals. What is the next step that
should be taken?
O Consult with subject matter experts
O Add an additional web server to the environment
O Add additional memory to the hardware under test
O Change your Run-time settings and rerun the scenario
None of the options
Question No.3
What inputs are required for planning performance testing?
Workload Information
Applications Details
Performance Monitoring Framework
Concurrent Users
Question No.4
Which of the following type of tests checks for memory leakage and other problems that may
occur with prolonged execution?
Stress Testing
Soak Testing
Endurance Testing
Exhaustive Testing
None of the options
Question No. 5
An end user of an online car dealer is facing poor response. The car dealer checks with the
system administrator and is told that there is no problem in the web or DBMS servers. Which
of the following is lik
The system administrator is telling a lie
There is a delay either at network or client PC or both
The problem will get solved upon reboot
Network capacity will need to be upgraded
Question No. 6
Which of the following are examples of a Throughput?
O Number of banking transactions per minute
O Number of orders per minute
O Number of web interactions per second
Number of disk 1/Os per second, bandwidth
All the options
Question No. 7
Which C function do you use to convert a string to a long integer value?
itoa
atof
atol
strtol
strtok
Question No.8
Response times of 4 jobs are 5, 1, 3 and 3. How many jobs have their response time greater
than the average response time?
3
0
1
2
Question No. 9
Asynchronous Communication will help in
Tight Coupling among transactions
O Weak Coupling among transactions
Better Responde Time
Faster Development
None of the options
Question No. 10
Once a system has been tested and tuned for performance:
O It will never face a problem
O It will not have problem if there is an application change
o It can have a problem if the system grows
O It will have problem if system grows
O None of the options statements are true
Question No. 11
Which of the following is not a part of Workload
O User Load - # of concurrent users
Server configuration
O Data
Background Processes
Question No. 12
Consider two machines with the following configuration
O Machine A performs twice as fast as Machine B
O in most cases Machine Almerforms well
For accessing Database Machine B performs well
Nothing can be said about performance unless processor bandwidth and disc performance is
known
Nothing can be inferred from the above information
Question No. 13
What counters we monitor especially for a processor?
O Pages/Sec
O Bytes Sent/Sec
O %User Time
O%Compressor Time
Both B and C
Question No. 14
Testing where in we subject the target of the test, to varying workloads to measure and evaluate
the performance behaviors and ability of the target and of the test to continue to function
properly under these different workloads.
O Load Testing
Liability Testing
White box Testing
O Component Testing
Question No. 15
According to Little's Law Average No. in a system is equal to
Average Respons/hTime * Throughput
Average Transaction time * Average Response Time
O Response time * Throughput
O Transactions/Sec * Response Time in Sec
O Both C and D
Question No. 16
Workload with respect to a non functional testing can be which of the following?
O No. of users accessing the System
O No. of transactions occurring in the System
Batch programs
Background load on the System
All the options
Question No. 17
Select the different performance testing tools?
O IBM RPT, JUnit, JMeter
O HP Load Runner, IBM RPT, HP Sitescope
O OpenSTA, JMeter, Silk Performer
OCA WilyIntroscope, Load Runner, Microsoft VSTS
WebPerformance. Nagios and HP Business Availability Centre
Question No. 18
Minimum Response time of a system depends on
O No of concurrent users
O Maximum visit count among the components of the system
O Maximum service time among the components of the system
O Cannot be estimated unless load testing is done
Both B and C
Question No. 19
XYZ application is a datawarehouse application which generates reports. Data in the warehouse
grows at a compounded rate of 100% with initial database size of 1 GB. The Project Manager
wants to know what will of 3rd year. Which type of Performance Testing should he conduct if his
user base is not going to increase?
O Load Testing
O Stress Testing
O Volume Testing
O System Testing
Question No. 20
Volume Testing involves which of the following?
O Generating test data for different sizes
O Increasing virtual users gradually
O Running the test for extended period of time to detect points of failure
All of these
O None of these
Question No. 21
A performance test consists of
O One or more business transactions
O No. of Users which perform the transaction
Time taken by the user to perform the transaction
Duration for which the transactions are performed.
All of these
Question No. 22
Stress Testing is
O Knowing application performance when it is loaded with maximum number of users that is
expected to support
O Characterizing Scalability of the application under test
Running the test for extended period of time and increased user load to detect points of failures
Checking for Performance Sensitivity
Question No. 23
The Right Sequence of Performance Testing is
O Planning Load Test, Creating Script, Creating Scenarios, Execution, Analysis
Analysis, Planning Load Test, Creating Scenarios, Creating Script, Execution
Planning Load Test, Creating Scenarios, Creating Script, Execution, Analysis -????
O Analysis, Planning Load Test, Creating Script, Creating Scenarios, Execution
O Analysis, Creating Script, Planning Load Test, Creati'y Scenarios, Execution
Question No. 24
Running a system at average concurrent user load for prolonged period of time to determine any
memory leak is called
O Spike Test
O Stress Test
O Endurance Test
All of these
Stress Test and Endurance Test
Question No. 25
http://www.aliensbrain.com/tag/268/technology/question?page=3076
A Nationalized Bank Processes 10,000 Withdrawals per day and 5,000 Deposits per day. If it allows
5 hours transactions processing per day. What is the throughput of the system?
© 2000 tph
O 5000 tph
15,000 tph
3000 tph
None of these
Question No. 26
The Clients requirement for all the performance counters will be prescribed in
O Test Plan
Testing Scenario
Service Agreement
Service Level Agreement
Secured Licensed Agreement
Question No. 27
Any performance testing tools produces which of the following entities?
Test Scripts
Test Scenarios
Test Results
Test Data
Question No. 28
What is a Think Time?
O Time taken by the user to startup the Server
O Time that user takes between two transactions
O Time taken by a user to do the second iteration of the same scenario.
. All of these
O None of these
Question No. 30
What are the measures of Throughput?
Transactions per Second
Error per second
Bytes per second
Both A and C
Question No. 1
One of your scripts has a transaction called Save Batch that commits many lines of financial
accounting transactions to the database. Your Client Manager tells you that the system should be
able to support 50 users hitting the transaction simultaneously into the system. Referring to the
above scenario, which Load Runner feature tests to see when the system can meet this
performance criterion?
Iteration Pacing
Rendezvous Points
Action blocks
Check points
The Wait function
Question No. 2
You would like to associate individual V-users to given transaction response times. In order to do
this, you must out the V-user number and its group to the output log using the correct C Utility
function. Referring to the scenario above, which one of the following Utility functions do you use
to achieve this objective?
lr_user_data_point
Ir_get_host_name
lr_get_attrib_string
Lr_whoami
None of the options
Question No.4
Which one of the following is not a protocol of Load Runner?
O Java- RMI
O CORBA- Java
Media Player(MMS)
O Real Player
O HDAP
Question No. 5
Identify the correct Loadrunner correlation functions.
web_save_reg_paramo
web_save_param()
web_reg_save_param()
Ir_save_param
Question No. 6
Which one of the following is not a Load Runner Function?
web_set_max_html_param_len
web_reg_save_param_array
web_get_int_property
web_set_timeout
web_reg_find
Question No. 7
You have two fields (one for social security and one for employee number). Your task is to set up
parameterization so that each social security number is only used once per test run and that it
correlates to the employee number
Referring to the scenario above, what settings do you use
O Social Security: Unique Each Occurrence
Employee Number: Unique Each Occurrence
Social Security: Specific Each Occurrence
Employee Number: "Same line as Social Security"
O Social Security: Sequential Each Iteration
Employee Number: Sequential
Question No. 8
A batch program in SQL Server 6.5 takes 3 days to complete, even though management would like
it to finish in 3 hours. What is a very likely cause of poor performance?
O Bad index management
Network delay
O Use of SQL Server 6.5 instead of 7.0
O Limitations of Microsoft technology
Question No. 9
What is the common function used to display messages in the Replay Log of Loadrunner?
O Ir_eval_string
Olr_output_string
O Ir_display_message
Ir_output_message
Question No. 10
Hits per Second
- Throughput
Transaction Response Time`
- Virtual User Status
The above is a list of which type of items??
O Performance counters
Server-side monitors
O Client-side monitors
Window Resource Counters
O SQL monitors data elements
Hits per seconds:- refer to the number of HTTP requests sent by the users to the web
servers in a seconds. Throughput:- define the number of transaction per seconds. Think
Time:- it's a waiting time between transaction, or users waiting time.
https://www.guru99.com/loadrunner-interview-questions.html
http://www.aliensbrain.com/tag/461/architecture/question?page=64
Which term refers to a set of actions or user steps performed within an application to
accomplish a business goal?
Business process
what information does netstat give
All
Q When developing a script why is it necessary to iterate the script multiple times
Q: Running a system at average concurrent user load for prolonged period of time to determine any
memory leak is called
Q: which attribute of an html form tells the browser how to encode the information?
Method
Why do we need load tests?
Q: which of the following is not true about performance testing
Q: A 3 tier application takes too long to satisfy the end user requirements. As a performance
consultant what will be your action
Sugges for pwerful
Q: standard deviation of response time means average response time
Q: The initial run of a performance test to see if your application can perform its operations under a
normal load is called capacity test
Q: adding a cpu to a single node is which type of scalability
Vertical scalability
The selection of performance test cases requires
asynchronous communication will help in
What inputs are required for planning performance testing
a reliable system will be one the following
Is unlikely to cause a failure
which performance test objective is met when determining if the system is stable enoughto go in
production?
Acceptance
which one of the following is not a parameter type or parameter setting in VuGens
parameterization functionality Advance row each iteration
in schedule builder what will happen if duration is set to five minutes the scenario will
continuously or five minutes
An internet trading system with 64 Kbps lines to end users has been web
enabled. The average web page size is 40 KB. Users are complaining
about response times exceeding 2 seconds. What would you recommend
as an immediate possibility to improve performance?
1. Tuning of DBMS
2. Tuning of web server
3. Ask users to work at nights
4. Use of a web booster such as Citrix or NetScaler
Question No. 6
A) Transaction time helps isolate performance problems.
B) Transactions affect different systems components and tiers
C) `
All the three statements are false
Only A is true
All the three statements are true
Only B and C are true
Only A and C are true
Which performance test objective is met when determining if the system is stable enough to go
into production?
O reliability
regression
acceptance
O capacity planning
O product evaluation
A load tester wants to test a particular application for 500 user. he has identified that their
required usernames and password must be parameterized. so how many username and
password has to be present in the data file for this particular scenario?
500 usernames and 500 password