Beruflich Dokumente
Kultur Dokumente
Alfred Wong
2
About me…
• 5+ years of experience in performance testing /
engineering area
• EE SDET PTE PTM PTA
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
3
About you…
• Test Engineer / QA Analyst
• Performance Analyst
• Performance Test Engineer
• Performance Test Lead / Manager
• QA or Test Lead / Manager
• QA or Test Director
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
4
Agenda
• Scope
• Typical Performance Testing
• End to End Performance Process
• Value-add for EEPP
• Putting the pieces together
• Challenges
• Q&A + Comments
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
5
Scope
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
6
Scope
• N-tier ecommerce architecture & all modules /
components / services associated
Services E-mail
Content
Payment Processing
Media Storage
• Yet, principles are applicable to most software projects
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
7
Production
Project Development
B&D General Performance Go-Live / Monitoring &
Specification & Unit Testing Test Test & Tune Launch Maintenance
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
8
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
9
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
11
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
12
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
13
Business Requirements
• Typical:
– Summarize background & current situation
– Outline business objectives, primary customers & scenarios /
business use cases
– Describe high level requirements & specifies all basic features
– Define scope / limits & success criteria / metrics / measurement
– Cost Benefit Data / ROI analysis
– Schedule & budget
• EEPP:
– Performance requirements (what's considered 'good enough'?)
– Traffic forecast information / ROI: how does project impact traffic
volume / pattern?
– Schedule & budget
• Performance test schedule
• Hardware budget for lab & production
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
14
Functional Specification
Production
Project Development General Performance Go-Live / Monitoring &
B&D
Specification & Unit Testing Test Test & Tune Launch Maintenance
• Typical:
– outline the capabilities & behavior of product
– describe user interaction
– list properties of inputs & outputs
– define the logic of user experience
– illustrate product appearance (screenshots)
• EEPP
– outline monitoring & measurement needs
– define overall performance metrics & targets
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
15
Architecture Spec
• Typical
– general system architecture & strategies
– sub-system architecture
• definition
• constraints
• responsibilities
• resources
• processing
• interface
• inter-dependencies etc
• EEPP
– Performance test strategies
– Performance monitoring
– where & how?
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
16
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
17
Operation Specification
• EEPP
– hardware platform
– system level performance metrics & targets
– performance monitoring systems integration
– threshold for alerts
– performance issue mitigation steps
– escalation paths
– capacity management integration
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
19
Development
Production
Project Development General Performance Go-Live / Monitoring &
B&D
Specification & Unit Testing Test Test & Tune Launch Maintenance
• EEPP:
– Performance comparison of different
algorithms
– Prototype performance validation
– Unit performance testing
– Performance / code profiling
– Integrate unit performance tests & build
process
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
20
• Typical:
– Given code / system to test
– Focus on:
• 'testing'
• load Generation
• system behavior analysis
• EEPP:
– Traffic profile / pattern analysis
– Validate performance monitoring mechanism
– Correlate unit performance testing results
– Provide performance tuning recommendations
– Performance bugs investigation (session 608)
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
21
After Launch
Production
Project Development General Performance Go-Live / Monitoring &
B&D
Specification & Unit Testing Test Test & Tune Launch Maintenance
• EEPP:
– Production performance monitoring
– Correlate performance test results
– Validate performance change
– Performance issues investigation
– Capacity planning & management
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
22
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
24
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
25
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0
26
Q&A + Comments
as a performance engineer!
508 End-to-end Performance Process | © 2008 by Alfred Wong; made available under the EPL v1.0