SlideShare a Scribd company logo
Performance Testing for Web Applications
Techniques, Metrics and Profiling
Ștefan Popa
Software Test Automation Specialist
Agenda
Techniques
 Stage the environment
 Build test assets
 Test procedure
Metrics analysis
 System analysis
 Database analysis
Profiling
 Application profiling
 Topology profiling
Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 2 of 18
Performance testing for web applications
1. Techniques

Stage the environment:
Deploy testbed
Eliminate deployment issues

Build tests assets:
Analyze client data to develop an approach strategy
Build scenarios

Test procedure:
Manual & automated tests
Automate data collecting and processing
Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 3 of 18
Stage the environment: Deploy testbed

Create a testbed similar to client’s production
Administrator /
Management
Users

Frontend

Database

Backend
Performance Testing for Web Applications: Techniques, Metrics and Profiling

Payment
Aggregator
Slide 4 of 18
Stage the environment: Eliminate deployment issues
 Client’s working infrastructure
 Application server tuning:
-

Network issues
Data compression
Connection pools
Memory allocation

 Test DB server tuning:
-

Best practices or DBA expertise
Resource allocation for the shared pool
Database parameters

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 5 of 18
Build test’s assets: Investigate logs and database

Analyze client data
 Investigate logs

 Investigate database

Build scenarios

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 6 of 18
Build test’s assets: Analyze client data to develop an approach strategy
Analyze client’s previous product logs or establish new possible scenarios based on
existing clients

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 7 of 18
Build test’s assets: Build the scenarios

Create the actions

Set the goals
(expected latencies)

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 8 of 18
Build test’s assets: Manual performance tests: Fiddler / httpwatch

Manual testing:
Finding issues/bugs with minimal effort

Have a reference for
automated tests
Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 9 of 18
Build test’s assets: Manual performance tests: results
Test RUN ID
Test Tool
# of users
# of cycles

1

Login

2

Press "Existing customer" button.

3

Enter the account's Billing Name. Click the "Find" button

4

Click the "Continue" button.

5

Click the button "Update Resources".

6

Select a value from the "Service Number" drop down list.

7

Insert an available "IMEI“. Click the "Retrieve" button.

8

Press add to cart

9

Click the "Service payments" button.

10

Fill in a value for "Amount to pay” Press "Add to cart"

11

Press "Check Out" button.

12

Press "Cash" button.

13

Press "Submit"

14

Press "Finish Sale"

Performance Testing for Web Applications: Techniques, Metrics and Profiling

1
Manual - Fiddler
1
10

2
Manual - Fiddler
1
10

3
Manual - Fiddler
1
10

1.42
0.33
0.29
1.88
0.16
0.68
0.45
2.58
0.49
1.66
1.75
0.33
3.50
0.23

0.68
0.23
0.17
1.53
0.21
0.78
0.5
2.56
0.17
1.37
1.06
0.2
2.81
0.12

0.59
0.31
0.03
1.12
0.03
0.43
0.21
1.85
0.17
1.21
0.78
0.17
2.17
0.06

Slide 10 of 18
Build test’s assets: Develop an automated solution for testing
Transposing the manual scenario into an automated script

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 11 of 18
Build test’s assets: Calibrate tests
Validate script by running with 1 user as in previous manual run.
Test RUN ID

3

4

Test Tool

Manual Fiddler

Automatic jMeter

# of users
# of cycles

1
3

1
10

0.57

0.53

0.03

0.06

0.07

0.08

0.7

0.76

Click "Update Service"

0.17

0.17

Select Service Number

1.4

1.36

0.51

0.51

0.1

0.1

Add to cart.

2.17

2.03

Click Check Out

0.75

0.91

Press "Check"

0.29

0.31

Submit Check number and press Submit

2.51

2.55

Press Close & Finish sale button.

0.35

0.15

Login

Data must be consistent
Press "Existing customer" button.
with manual tests Enter the first name/last name Click the "Find" button
Click the "Continue" button.

Validate actual results

Change "Rate Plan"
Set "Effective Date" (Immediate)

Differences between manual
and automated tests

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 12 of 18
Test runs, analyze results
First stage – Detect low load performance issues
Run ID
Test Tool
# of users

Raise limit to
client’s expected load

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Open OnlineStore main page.
Sort by provider: LG
Select a preconfigured phone model with promo
Add to cart the phone.
Enter a valid ZIP code and click the Submit button.
Click the Continue button.
Click on the "Postpaid plan type" hyperlink.
Select a rate plan.
Acknowledge age restrictions
Click the "Add to cart" button.
Skip add to cart an accessory.
Click the Check Out button.
Select New Account
Enter new user information. Press Continue Checkout
Enter Account Owner Info
Select Personal address or Postal Service address
Verify Cart
Select Subscriber info and select “new number"
Select Personal address or Postal Service address
Select Shipping Details & select Shipping method
Review cart and confirm Checkout
Agree License and Contract
Enter & submit credit card details.
Order Complete. Press Continue Shopping
Main page loads. Press logout

Performance Testing for Web Applications: Techniques, Metrics and Profiling

5

6

7

Automatic
(jmeter)

Automatic
(jmeter)

Automatic
(jmeter)

1
0.62

10
0.16

20
0.94

50
0.14

50
0.08

50
0.07

100
0.08

0.07

0.04

0.46

0.13

0.06

0.05

0.05

0.42

0.35

1.38

6.8

3.1

0.08

0.09

0.03

0.02

0.25

0.08

0.05

0.01

0.02

1.41

1.52

2.97

13.96

0.05

0.87

0.94

0.82

0.88

2.58

6.21

1.24

0.6

0.63

0.06

0.03

0.49

0.04

1.16

0.03

0.03

0.02

0.01

0.37

0.02

0.01

0.02

0.03

0.05

0.03

0.25

0.05

0.02

0.03

0.04

0.3

0.37

1.14

7.14

2.67

0.06

0.07

0.06

0.06

0.4

0.1

0.02

0.04

0.04

0.05

0.03

0.53

0.05

0.03

0.07

0.08

0.42

0.81

1.69

4.06

0.71

0.32

0.37

0.49

0.98

2.15

3.76

0.59

0.35

0.37

0.38

0.44

1.32

4.7

0.24

0.24

0.25

1.32

4.6

9.44

47.06 28.18 7.46 11.04

0.05

0.03

0.32

0.12

0.02

0.03

0.03

0.17

0.24

0.8

5.54

0.19

1.47

1.62

1.99

3.17

5.75

10.34

1.91

0.07

0.08

0.5

1.09

2.24

5.31

0.99

0.66

0.87

1.43

2.63

5.79

6.42

3.89

0.04

0.05

3.23

3.54

4.87

4.76

0.41

0.33

0.33

2.21

5.64

9.53

27.89

6.67

3.01

2.88

0.11

0.09

0.8

0.14

0.06

0.05

0.06

0.09

0.1

0.52

0.12

0.05

0.06

0.06

Slide 13 of 18

8

9

10

11

Automatic Automatic Automatic Automati
(jmeter)
(jmeter)
(jmeter) c (jmeter)
Performance testing for web applications
Metrics analysis

Automatic data gathering
Automatic data processing
Metrics analysis

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 14 of 18
Metrics analysis: Automate collecting and processing test data

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 15 of 18
Metrics analysis: Analyze database issues

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 16 of 18
Metrics analysis: Analyze application server issues

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 17 of 18
Metrics analysis: Analyze network issues

Analyze system’s working
parameters to help build
system requirements.

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 18 of 18
Performance testing for web applications
Profiling

System-wide load distribution analysis
Database profiling
Application profiling

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 19 of 18
Profiling: System-wide load distribution analysis
Performance profiling of staging
environment’s overview

Use of APM tools

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 20 of 18
Profiling: Database profiling

Workload summary & CPU load

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 21 of 18
Profiling: Database profiling
SQL query analysis

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 22 of 18
Profiling: Database profiling
Execution plan analysis

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 23 of 18
Profiling: Application profiling
Breaking down the problems
Finding atomic method’s elapsed time to reduce application server load

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 24 of 18
Performance tests: Publish the results after multiple iterations
Run ID
# of users

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Open OnlineStore main page.
Sort by provider: LG
Select a preconfigured phone model with promo
Add to cart the phone.
Enter a valid ZIP code (57722) and click the Submit button.
Click the Continue button.
Click on the "Postpaid plan type" hyperlink.
Select a rate plan.
Acknowledge age restrictions
Click the "Add to cart" button.
Skip add to cart an accessory.
Click the Check Out button.
Select New Account
Enter new user information. Press Continue Checkout
Enter Account Owner Info
Select Personal address or Postal Service address
Verify Cart
Select Subscriber info and select "Give me an Viaero number"
Select Personal address or Postal Service address
Select Shipping Details & select Shipping method
Review cart and confirm Checkout
Agree License and Contract
Enter & submit credit card details.
Order Complete. Press Continue Shopping
Site Loads. Press logout

30
1
0.98

31
10
0.3

66
10
0.09

68
50
0.07

72
50
0.07

73
50
0.06

0.52

0.28

0.05

0.05

0.04

0.05

1.38

1.18

0.09

0.08

0.08

0.08

0.15

0.11

0.01

0.01

0.01

0.01

1.19

1.37

1.28

0.87

0.85

0.91

0.88

1.04

0.82

0.6

0.58

0.61

0.66

0.27

0.03

0.03

0.02

0.04

0.07

0.07

0.02

0.02

0.02

0.02

0.66

0.28

0.03

0.03

0.03

0.02

1.27

0.97

0.06

0.06

0.06

0.07

0.19

0.24

0.04

0.04

0.04

0.04

0.2

0.14

0.07

0.07

0.07

0.07

0.49

0.56

0.28

0.32

0.29

0.3

0.84

0.86

0.34

0.35

0.34

0.35

0.47

0.9

0.2

0.24

0.19

0.35

9.16

9.33

6.65

7.46

5.41

3.38

0.24

0.18

0.03

0.03

0.03

0.04

0.49

0.5

1.34

1.47

1.37

0.49

2.79

2.24

0.07

0.07

0.07

0.07

0.95

1.05

0.62

0.66

0.61

0.74

1.77

1.92

0.04

0.04

0.04

0.04

0.72

0.71

0.29

0.33

0.3

0.42

4.73

5.26

3.01

3.01

2.73

2.15

0.37

0.24

0.06

0.05

0.05

0.05

0.13

0.26

0.07

0.06

0.06

0.04

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 25 of 18
Ștefan Popa - Software Test Automation Specialist

Performance Testing for Web Applications: Techniques, Metrics and Profiling

Slide 26 of 18

More Related Content

PPTX
Performance testing for web applications – techniques, metrics and profiling
PPTX
Ecommerce testing
PPT
Web test
PPT
Web performance testing
PDF
Introduction to Performance testing
PPTX
Introduction to performance testing
PDF
How to start performance testing project
PPTX
Interpreting Performance Test Results
Performance testing for web applications – techniques, metrics and profiling
Ecommerce testing
Web test
Web performance testing
Introduction to Performance testing
Introduction to performance testing
How to start performance testing project
Interpreting Performance Test Results

Viewers also liked (19)

PPT
Performance Testing
PPTX
An Introduction to Performance Testing
PPTX
Introduction to performance testing
PPT
Performance and load testing
PPTX
PABRE System - Software Requirement Patterns
PPTX
Apache Hadoop India Summit 2011 talk "Profiling Application Performance" by U...
PPTX
Software Requirement Patterns (SRP)
PPTX
A Short History of Performance Engineering
PPTX
Oslo Schibsted Performance Gathering
PPT
Loadrunner presentation
PDF
Understanding Microservice Performance
PPTX
What is Loadrunner ?
PPTX
How to Get Automatic Analysis for Load Test Results
PPT
Analyzing Performance Test Data
PPT
Performance Testing With Loadrunner
PPTX
Performance Test Automation Framework Presentation
PPTX
An Introduction to Performance Testing
PPT
Hp Loadrunner
PDF
E commerce Testing
Performance Testing
An Introduction to Performance Testing
Introduction to performance testing
Performance and load testing
PABRE System - Software Requirement Patterns
Apache Hadoop India Summit 2011 talk "Profiling Application Performance" by U...
Software Requirement Patterns (SRP)
A Short History of Performance Engineering
Oslo Schibsted Performance Gathering
Loadrunner presentation
Understanding Microservice Performance
What is Loadrunner ?
How to Get Automatic Analysis for Load Test Results
Analyzing Performance Test Data
Performance Testing With Loadrunner
Performance Test Automation Framework Presentation
An Introduction to Performance Testing
Hp Loadrunner
E commerce Testing
Ad

Similar to Performance testing for web applications – techniques, metrics and profiling (20)

PDF
State of the Market - Data Quality in 2023
PPT
Are You Ready For More Visitors Cognizant Gomez Jan20
PPT
Magical Performance tuning with Gomez
PPTX
Performance Testing
PPT
dataR Corporate Overview
PDF
How to Improve Overall Performance & Security For Any eCommerce Website In 2023
PPTX
How BiggerPockets runs experiments faster with performance edge
PPTX
Workshop using open source software for mobile data collection workshop - a...
PPT
Cerdaac M
PDF
Opticon 2017 Decisions at Scale
PDF
From Data to Insights: How IT Operations Data Can Boost Quality
PPTX
BI-Validator Usecase - Stress Test Plan
PPT
07 Outsource To India Independent Testing
PPT
Google Analytics Website Optimizer Slideshare
PPT
Google analytics and website optimizer
PPT
Google Analytics And Website Optimizer
PPT
Google Analytics and Website Optimizer
PPTX
Rl Partner Webinar To Share
PDF
Failure is an Option: Scaling Resilient Feature Delivery
PPT
Future of QA
State of the Market - Data Quality in 2023
Are You Ready For More Visitors Cognizant Gomez Jan20
Magical Performance tuning with Gomez
Performance Testing
dataR Corporate Overview
How to Improve Overall Performance & Security For Any eCommerce Website In 2023
How BiggerPockets runs experiments faster with performance edge
Workshop using open source software for mobile data collection workshop - a...
Cerdaac M
Opticon 2017 Decisions at Scale
From Data to Insights: How IT Operations Data Can Boost Quality
BI-Validator Usecase - Stress Test Plan
07 Outsource To India Independent Testing
Google Analytics Website Optimizer Slideshare
Google analytics and website optimizer
Google Analytics And Website Optimizer
Google Analytics and Website Optimizer
Rl Partner Webinar To Share
Failure is an Option: Scaling Resilient Feature Delivery
Future of QA
Ad

More from TestCampRO (16)

PPT
Cristian Creanga It's all about... helping our clients
PPT
Test management challenges
PPTX
Writing quick and beautiful automation code
PPT
Testing world seen through the thick lens of a business analyst
PPTX
Testing. Quality. Customer
PPTX
It pays to be positive
PPT
Software testing expert evangelization
PPTX
Prepare your case: key steps to a successful presentation
PPTX
Test Automation and Continuous Integration
PPTX
Life Time Testing
PPT
Distributed load testing (Local vs Cloud)
PPT
First steps in becoming a better tester
PPTX
Automation framework
PPTX
How to build a proper software staging environment for testing
PDF
Agile requirements engineering
PPTX
V Greavu - Testing with Sharepoint
Cristian Creanga It's all about... helping our clients
Test management challenges
Writing quick and beautiful automation code
Testing world seen through the thick lens of a business analyst
Testing. Quality. Customer
It pays to be positive
Software testing expert evangelization
Prepare your case: key steps to a successful presentation
Test Automation and Continuous Integration
Life Time Testing
Distributed load testing (Local vs Cloud)
First steps in becoming a better tester
Automation framework
How to build a proper software staging environment for testing
Agile requirements engineering
V Greavu - Testing with Sharepoint

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
Teaching material agriculture food technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Approach and Philosophy of On baking technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
KodekX | Application Modernization Development
Chapter 3 Spatial Domain Image Processing.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Electronic commerce courselecture one. Pdf
A Presentation on Artificial Intelligence
NewMind AI Monthly Chronicles - July 2025
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
KodekX | Application Modernization Development

Performance testing for web applications – techniques, metrics and profiling

  • 1. Performance Testing for Web Applications Techniques, Metrics and Profiling Ștefan Popa Software Test Automation Specialist
  • 2. Agenda Techniques  Stage the environment  Build test assets  Test procedure Metrics analysis  System analysis  Database analysis Profiling  Application profiling  Topology profiling Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 2 of 18
  • 3. Performance testing for web applications 1. Techniques Stage the environment: Deploy testbed Eliminate deployment issues Build tests assets: Analyze client data to develop an approach strategy Build scenarios Test procedure: Manual & automated tests Automate data collecting and processing Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 3 of 18
  • 4. Stage the environment: Deploy testbed Create a testbed similar to client’s production Administrator / Management Users Frontend Database Backend Performance Testing for Web Applications: Techniques, Metrics and Profiling Payment Aggregator Slide 4 of 18
  • 5. Stage the environment: Eliminate deployment issues  Client’s working infrastructure  Application server tuning: - Network issues Data compression Connection pools Memory allocation  Test DB server tuning: - Best practices or DBA expertise Resource allocation for the shared pool Database parameters Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 5 of 18
  • 6. Build test’s assets: Investigate logs and database Analyze client data  Investigate logs  Investigate database Build scenarios Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 6 of 18
  • 7. Build test’s assets: Analyze client data to develop an approach strategy Analyze client’s previous product logs or establish new possible scenarios based on existing clients Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 7 of 18
  • 8. Build test’s assets: Build the scenarios Create the actions Set the goals (expected latencies) Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 8 of 18
  • 9. Build test’s assets: Manual performance tests: Fiddler / httpwatch Manual testing: Finding issues/bugs with minimal effort Have a reference for automated tests Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 9 of 18
  • 10. Build test’s assets: Manual performance tests: results Test RUN ID Test Tool # of users # of cycles 1 Login 2 Press "Existing customer" button. 3 Enter the account's Billing Name. Click the "Find" button 4 Click the "Continue" button. 5 Click the button "Update Resources". 6 Select a value from the "Service Number" drop down list. 7 Insert an available "IMEI“. Click the "Retrieve" button. 8 Press add to cart 9 Click the "Service payments" button. 10 Fill in a value for "Amount to pay” Press "Add to cart" 11 Press "Check Out" button. 12 Press "Cash" button. 13 Press "Submit" 14 Press "Finish Sale" Performance Testing for Web Applications: Techniques, Metrics and Profiling 1 Manual - Fiddler 1 10 2 Manual - Fiddler 1 10 3 Manual - Fiddler 1 10 1.42 0.33 0.29 1.88 0.16 0.68 0.45 2.58 0.49 1.66 1.75 0.33 3.50 0.23 0.68 0.23 0.17 1.53 0.21 0.78 0.5 2.56 0.17 1.37 1.06 0.2 2.81 0.12 0.59 0.31 0.03 1.12 0.03 0.43 0.21 1.85 0.17 1.21 0.78 0.17 2.17 0.06 Slide 10 of 18
  • 11. Build test’s assets: Develop an automated solution for testing Transposing the manual scenario into an automated script Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 11 of 18
  • 12. Build test’s assets: Calibrate tests Validate script by running with 1 user as in previous manual run. Test RUN ID 3 4 Test Tool Manual Fiddler Automatic jMeter # of users # of cycles 1 3 1 10 0.57 0.53 0.03 0.06 0.07 0.08 0.7 0.76 Click "Update Service" 0.17 0.17 Select Service Number 1.4 1.36 0.51 0.51 0.1 0.1 Add to cart. 2.17 2.03 Click Check Out 0.75 0.91 Press "Check" 0.29 0.31 Submit Check number and press Submit 2.51 2.55 Press Close & Finish sale button. 0.35 0.15 Login Data must be consistent Press "Existing customer" button. with manual tests Enter the first name/last name Click the "Find" button Click the "Continue" button. Validate actual results Change "Rate Plan" Set "Effective Date" (Immediate) Differences between manual and automated tests Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 12 of 18
  • 13. Test runs, analyze results First stage – Detect low load performance issues Run ID Test Tool # of users Raise limit to client’s expected load 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Open OnlineStore main page. Sort by provider: LG Select a preconfigured phone model with promo Add to cart the phone. Enter a valid ZIP code and click the Submit button. Click the Continue button. Click on the "Postpaid plan type" hyperlink. Select a rate plan. Acknowledge age restrictions Click the "Add to cart" button. Skip add to cart an accessory. Click the Check Out button. Select New Account Enter new user information. Press Continue Checkout Enter Account Owner Info Select Personal address or Postal Service address Verify Cart Select Subscriber info and select “new number" Select Personal address or Postal Service address Select Shipping Details & select Shipping method Review cart and confirm Checkout Agree License and Contract Enter & submit credit card details. Order Complete. Press Continue Shopping Main page loads. Press logout Performance Testing for Web Applications: Techniques, Metrics and Profiling 5 6 7 Automatic (jmeter) Automatic (jmeter) Automatic (jmeter) 1 0.62 10 0.16 20 0.94 50 0.14 50 0.08 50 0.07 100 0.08 0.07 0.04 0.46 0.13 0.06 0.05 0.05 0.42 0.35 1.38 6.8 3.1 0.08 0.09 0.03 0.02 0.25 0.08 0.05 0.01 0.02 1.41 1.52 2.97 13.96 0.05 0.87 0.94 0.82 0.88 2.58 6.21 1.24 0.6 0.63 0.06 0.03 0.49 0.04 1.16 0.03 0.03 0.02 0.01 0.37 0.02 0.01 0.02 0.03 0.05 0.03 0.25 0.05 0.02 0.03 0.04 0.3 0.37 1.14 7.14 2.67 0.06 0.07 0.06 0.06 0.4 0.1 0.02 0.04 0.04 0.05 0.03 0.53 0.05 0.03 0.07 0.08 0.42 0.81 1.69 4.06 0.71 0.32 0.37 0.49 0.98 2.15 3.76 0.59 0.35 0.37 0.38 0.44 1.32 4.7 0.24 0.24 0.25 1.32 4.6 9.44 47.06 28.18 7.46 11.04 0.05 0.03 0.32 0.12 0.02 0.03 0.03 0.17 0.24 0.8 5.54 0.19 1.47 1.62 1.99 3.17 5.75 10.34 1.91 0.07 0.08 0.5 1.09 2.24 5.31 0.99 0.66 0.87 1.43 2.63 5.79 6.42 3.89 0.04 0.05 3.23 3.54 4.87 4.76 0.41 0.33 0.33 2.21 5.64 9.53 27.89 6.67 3.01 2.88 0.11 0.09 0.8 0.14 0.06 0.05 0.06 0.09 0.1 0.52 0.12 0.05 0.06 0.06 Slide 13 of 18 8 9 10 11 Automatic Automatic Automatic Automati (jmeter) (jmeter) (jmeter) c (jmeter)
  • 14. Performance testing for web applications Metrics analysis Automatic data gathering Automatic data processing Metrics analysis Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 14 of 18
  • 15. Metrics analysis: Automate collecting and processing test data Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 15 of 18
  • 16. Metrics analysis: Analyze database issues Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 16 of 18
  • 17. Metrics analysis: Analyze application server issues Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 17 of 18
  • 18. Metrics analysis: Analyze network issues Analyze system’s working parameters to help build system requirements. Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 18 of 18
  • 19. Performance testing for web applications Profiling System-wide load distribution analysis Database profiling Application profiling Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 19 of 18
  • 20. Profiling: System-wide load distribution analysis Performance profiling of staging environment’s overview Use of APM tools Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 20 of 18
  • 21. Profiling: Database profiling Workload summary & CPU load Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 21 of 18
  • 22. Profiling: Database profiling SQL query analysis Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 22 of 18
  • 23. Profiling: Database profiling Execution plan analysis Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 23 of 18
  • 24. Profiling: Application profiling Breaking down the problems Finding atomic method’s elapsed time to reduce application server load Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 24 of 18
  • 25. Performance tests: Publish the results after multiple iterations Run ID # of users 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Open OnlineStore main page. Sort by provider: LG Select a preconfigured phone model with promo Add to cart the phone. Enter a valid ZIP code (57722) and click the Submit button. Click the Continue button. Click on the "Postpaid plan type" hyperlink. Select a rate plan. Acknowledge age restrictions Click the "Add to cart" button. Skip add to cart an accessory. Click the Check Out button. Select New Account Enter new user information. Press Continue Checkout Enter Account Owner Info Select Personal address or Postal Service address Verify Cart Select Subscriber info and select "Give me an Viaero number" Select Personal address or Postal Service address Select Shipping Details & select Shipping method Review cart and confirm Checkout Agree License and Contract Enter & submit credit card details. Order Complete. Press Continue Shopping Site Loads. Press logout 30 1 0.98 31 10 0.3 66 10 0.09 68 50 0.07 72 50 0.07 73 50 0.06 0.52 0.28 0.05 0.05 0.04 0.05 1.38 1.18 0.09 0.08 0.08 0.08 0.15 0.11 0.01 0.01 0.01 0.01 1.19 1.37 1.28 0.87 0.85 0.91 0.88 1.04 0.82 0.6 0.58 0.61 0.66 0.27 0.03 0.03 0.02 0.04 0.07 0.07 0.02 0.02 0.02 0.02 0.66 0.28 0.03 0.03 0.03 0.02 1.27 0.97 0.06 0.06 0.06 0.07 0.19 0.24 0.04 0.04 0.04 0.04 0.2 0.14 0.07 0.07 0.07 0.07 0.49 0.56 0.28 0.32 0.29 0.3 0.84 0.86 0.34 0.35 0.34 0.35 0.47 0.9 0.2 0.24 0.19 0.35 9.16 9.33 6.65 7.46 5.41 3.38 0.24 0.18 0.03 0.03 0.03 0.04 0.49 0.5 1.34 1.47 1.37 0.49 2.79 2.24 0.07 0.07 0.07 0.07 0.95 1.05 0.62 0.66 0.61 0.74 1.77 1.92 0.04 0.04 0.04 0.04 0.72 0.71 0.29 0.33 0.3 0.42 4.73 5.26 3.01 3.01 2.73 2.15 0.37 0.24 0.06 0.05 0.05 0.05 0.13 0.26 0.07 0.06 0.06 0.04 Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 25 of 18
  • 26. Ștefan Popa - Software Test Automation Specialist Performance Testing for Web Applications: Techniques, Metrics and Profiling Slide 26 of 18