|
1. Which of the following information are considered relevant when gathering system
usage for a performance test? There are two answers.
a. System architecture
b. Business processes
c. Application modules about to be unit-tested
d. Financial data such as general ledger and P&L statements
2. There are three main criteria to determine which business processes to select for per-
formance testing. What are these criteria?
3. Each business process takes a certain amount of time to complete. Under ideal condi-
tions, you determine this amount of time as ________________________
4. You want to determine how many users are active on a Web site during a twenty-four
hour period. What type of diagram can you use to map the business processes and the
volume of each across a fixed time line?
5. How many transactions will need to run per minute if a load test has to run for two
hours with 5000 users, assuming an average transaction length of five minutes?
6. This value represents the number of users performing business processes on the appli-
cation during the busiest time frame of an atypical day (e.g. holiday). What do you call
this value?
7. Write a quantifiable performance test objective given the following informati
Maximum number of concurrent users at peak time: 6000
Business Process: Update Totals
Preferred response time range: 5 to 7 seconds
Core LoadRunner and Virtual User Generator (VuGen)
1. What is a Load Test?
2. What is an Integration Test?
3. What are the LoadRunner Components and what role does each play in creating a
performance test?
4. General Vuser Functions:
Transactions are defined and measured in a Vuser script using which two functions?
5. What is ThinkTime?
6. Create a Vuser script where the value of lr_think_time is parameterized. The value of
thinktime should be displayed as an output message in the execution log.
7. What is correlation?
Correlation Activity:
This exercise requires internet access.
Application: Mercury Tours
URL: http://newtours.mercuryinteractive.com
Vuser Recording Settings:
■ Recording should be HTML-based
■ Correlation during recording should be turned off
■ Advanced recording should be turned off
General Vuser Settings:
■ Save correlation information during replay
■ Show only differences that appear in action
■ Download images on Snapshots viewer
■ HTML comparison: for scanning differences
■ Record the application startup
Record User Actions:
1. Sign in to the Mercury Tours Web site as jojo with the password bean.
2. Enter the flight information to the FLIGHT FINDER page.
Accept the defaults for all input fields except the following listed below (round-trip
flight, 1 passenger, economy class, etc)
Departing From: San Francisco
Arriving In: New York
3. Click the CONTINUE button.
4. Accept the first departing flight in the list.
By default, the first available flight is selected for each direction when the SELECT
FLIGHT page appears.
5. Select the last (4th) return flight in the list.
6. Click the CONTINUE button on the SELECT FLIGHT page.
7. Purchase the selected flight.
Enter the passenger and credit card information in the BOOK A FLIGHT page. Use the
data supplied below:
First Name: Joseph
Last Name: Smith
Number: 783921045786
8. Click the SECURE PURCHASE button on the BOOK A FLIGHT page.
9. Verify that the Flight Confirmation page appeared.
10. In the browser, click Sign-Off and wait for the Sign-On page to appear. Stop record-
ing.
Vuser Requirements:
■ Save the Vuser script twice.
■ In one of the scripts, parameterize the fields “fromPort” and “toPort” as type, file,
sequential using the following data:
Depart Arrive
San Francisco New York
Seattle Frankfurt
Sydney London
Zurich Acapulco
■ The script should play back correctly.
Questions:
■ What were the errors found in the Vuser script?
■ How did you correct the errors? |
|