workshop performance vl ctesting
TRANSCRIPT
Workshop Performance
Modelling and Jmeter
Users vs request
• ¿cuánto aguanta nuestra plataforma?
SCENARIOS: Identify the scenarios that are most commonly executed or most resource-intensive
WORKLOAD MODEL: User Session Duration in average. It is important to define the load levels that will translate into concurrent usage, overslapping users, or user sessions per second.
USER SCENARIO: Navigational Path, including intermediate steps or activities, taken by the user to complete a task. We will call it User Session from now on.
THINK TIMES: User thinktimes Pause between pages during a User Session depending on the User Type*
User Types: Identify the User … new, revisiting or both.
Performance Acceptance Criteria: Response time, System load, Throughput ...
METRICS: Only well-selected metrics that are analyzed correctly and contextually provide information of value.
DESIGN TEST: Using your scenarios, key metrics, and workload analysis …
RUN TEST: the load simulation must reflect the test design
ANALYZE RESULTS: Find bottlenecks, memory leaks, cpu hogs, bad sofware design …
The Maths behind
“mi tiempo medio de respuesta está bien."
• Percentiles• Moda• Media• Mediana• Desviación Estándar
• https://msdn.microsoft.com/en-us/library/bb924370.aspx
Matemáticas y Sentido Común
http://www.raosoft.com/samplesize.html
JMeter
Modelización y Jmeter
Modelando el uso de la aplicación
Identificar el objetivo de la prueba• Volumen de tráfico?• Escala?• Picos de carga?• Robusto?
Jmeter Test Plan
User Defined Variables
Functional Test Mode
User defined Variables at Test Plan level to be used from Jenkins
User Behaviour in JMeterOnly Once Controllers
Cache Management
Cookie Management
Header Manager
Think Times
Resources• http://www.raosoft.com/samplesize.html
• http://analyze.websiteoptimization.com/wso
• http://mobitest.akamai.com/m/index.cgi
• http://stevesouders.com/mobileperf/mobileperfbkm.php
• https://msdn.microsoft.com/en-us/library/bb924370.aspx
• http://www.quotium.com/performance/load-testing-calculating-pacing-time/