Cargando…

Master Apache JMeter - from load testing to DevOps : master performance testing with JMeter /

This book is your one-stop solution to mastering performance testing using JMeter. It takes you through the basics of working with JMeter, then goes on to explain the advanced aspects of JMeter and performance testing in general. The book ends by talking about the complete integration of JMeter into...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Rodrigues, Antonio Gomes (Autor), Demion (Milamber), Bruno (Autor), Mouawad, Philippe (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, [2019]
Temas:
Acceso en línea:Texto completo
Texto completo
Tabla de Contenidos:
  • Cover; FM; Copyright; Table of Contents; Preface; Chapter 1: Quick Start with JMeter; Our Process; Setup JMeter to Record Our Browsing Session; Configure Your Browser; Save Our Script; Validate Our Script with Only One User; Setup Our Load Test and Launch It; Run Our Load Test and Analyze It; Chapter 2: JMeter Overview; JMeter Overview; Types of Load Tests Supported; Supported Test Protocols; Reporting; Chapter 3: Designing a Test Case; Introduction; Warning; Type of Load Test; Performance/Load Test; Stress Test; Soak/Endurance Test; Failover/Resilience Test; Spike Test; Other; Load Model
  • Concurrency User (Closed Model)Throughput (Open Model); Arrivals Rate (Open Model); Structure of a Test Case; Ramp-Up; Plateau/Step; Ramp-Down; Example: Step Load Test; Identify Critical Business Scenarios to Script; Frequent; Vital; Risky; How Many Virtual Users Do I Need?; Parameters to Take into Account when Creating a Scenario; Vary User Input; Reuse the Same Values; Vary the Types of Users; Vary and Adjust Think Times; Adjust the Ramp-Up Time; Adjust the Test Duration; Error Handling; User Connection Type; Size of the Scenarios; Meeting Point/Rendezvous; Cookie Management
  • Cache ManagementConclusion; Chapter 4: Important Concepts in JMeter; Scoping; Elements' Execution Order; How Timer Scope Works; Rule 1: Timers Are Executed before Each Sampler in Their Scope; Rule 2: If There Is More Than One Timer in the Scope, All the Timers Will Be Processed before the Sampler; Controlling the Execution Order of Timers; How Assertion Scope Works; Rule 1: Assertions Are Executed after Each Sampler in Their Scope or to Parent Samplers; Rule 2: Failed Assertions Cause the Failure of the Entire Transaction Controller
  • Rule 3: Assertions Can Validate the Main Sample and/or the Sub-SamplesRule 4: Be Careful with Low-Performing Assertions; Our Advice; How Properties Differ from Variables; How Properties Are Created; How Variables Are Created; How {} Differs from {_P}; Chapter 5: Preparing the Test Environment (Injectors and Tested Systems); Introduction; Setting Up the Injectors; Never Host Injectors on the Same Server as the Tested System; Calibrating Your Test; Monitoring Injectors; IP Spoofing; Using the Latest Version; JMeter Memory Configuration; Avoiding Load Testing behind a Proxy
  • Preparation of the System under TestA Testing Environment; An Environment Consistent with the Target; Datasets; Take into Account Calls to Third-Party Services; Disabling Protection Systems; Using Isolated Environments; License Management; Monitoring; Conclusion; Chapter 6: Being Productive with JMeter; Introduction; Good Practices When Recording a Script; Use the HTTP(S) Test Script Recorder Element; BlazeMeter Chrome Extension; Pre-Populating HTTP Request Defaults before Recording the Script; Static Resources; Using Timeouts; Applying a Naming Convention to Transactions/Requests