Performance Testing Strategies for J2EE Andrew Bearsley by qto59823

VIEWS: 0 PAGES: 12

									Performance Testing Strategies for J2EE

Andrew Bearsley
Agenda
Performance Testing Strategies for J2EE

• Performance Testing
   – Challenges
   – Approach
   – Demo


• Competitive Landscape




                                          Mercury Confidential & Proprietary   2
Mercury Confidential & Proprietary   3
J2EE Testing Challenges
Success is all about performance.


•   Identify performance issues early

•   Generate sufficient load to show bottlenecks

•   Isolate the cause
    – eg. Slow methods, SQL calls, memory leaks, thread locking


•   Prevent impact in production


                                                 Mercury Confidential & Proprietary   4
Performance Testing Approach
The recipe is simple.


    1. Identify key business processes
    2. Record scripts
    3. Generate load by ramping up slowly
    4. Identify bottlenecks using diagnostics
    5. Fix
    6. Repeat the test until success criteria are met


“LoadRunner’s diagnostics for J2EE provides the holy grail of performance testing”


                                                         Mercury Confidential & Proprietary   5
Mercury Diagnostics for J2EE
Break down response times.




                                                                  Database



                 Transaction A                               App
                                                             Server
                                             Web
                                             Server

                                   Web            App Svr.        Database
                                  Server           Time             Time
              Client               Time
                                                • EJB            • JDBC
                                                    • Method        • Connect
                                 • Servlet      • JNDI              • Execute
                                 • Method         lookup         • SQL Query


                                                                      Mercury Confidential & Proprietary   6
Mercury Deep Diagnostics for J2EE
Pinpoint memory leaks under load.




                                    Mercury Confidential & Proprietary   7
Mercury Deep Diagnostics for J2EE
Resolve deadlock issues under load.




                                      Mercury Confidential & Proprietary   8
Key Points
Performance Testing Strategies for J2EE

   • Start early

   • Generate sufficient load, ramp up load slowly

   • Use diagnostics to pinpoint bottlenecks
      – down to method or SQL call


   • Iterate!


                                          Mercury Confidential & Proprietary   9
Competitive Landscape
Application Quality Ecosystem Magic Quadrant




                                      Mercury Confidential & Proprietary   10
More Information…
Testing Strategies for J2EE

• Mercury World – Melbourne, 11-13 May

• Whitepapers
   – J2EE Diagnostics
   – Performance Testing
   – Functional Testing


• Email: andrew.bearsley@mercury.com



                                     Mercury Confidential & Proprietary   11
Mercury Confidential & Proprietary   12

								
To top