惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Scott Helme
Scott Helme
N
Netflix TechBlog - Medium
AI
AI
Security Latest
Security Latest
GbyAI
GbyAI
P
Proofpoint News Feed
Y
Y Combinator Blog
A
Arctic Wolf
G
Google Developers Blog
U
Unit 42
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Vulnerabilities – Threatpost
Know Your Adversary
Know Your Adversary
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
L
Lohrmann on Cybersecurity
C
CERT Recently Published Vulnerability Notes
C
Check Point Blog
B
Blog RSS Feed
The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 【当耐特】
博客园 - Franky
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
Cisco Blogs
云风的 BLOG
云风的 BLOG
NISL@THU
NISL@THU
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Microsoft Security Blog
Microsoft Security Blog
T
The Blog of Author Tim Ferriss
阮一峰的网络日志
阮一峰的网络日志
Latest news
Latest news
L
LINUX DO - 最新话题
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
美团技术团队
WordPress大学
WordPress大学
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
The Hacker News
The Hacker News
Simon Willison's Weblog
Simon Willison's Weblog
V
V2EX
Project Zero
Project Zero
博客园_首页

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
What Is Performance Testing? A Complete Guide for QA Teams
Clyde Garret · 2026-06-13 · via DEV Community

In 2018, a major ticketing platform crashed during a high-profile concert sale. Millions of users rushed to buy tickets at the same time, overwhelming the system. Customers were locked out, transactions failed, and the company faced a lot of backlash.

The thing is, performance failures rarely happen during normal traffic. They happen during product launches, holiday sales, viral marketing campaigns, or unexpected traffic spikes, which is precisely when systems need to perform at their best.

Nowadays, speed is the baseline expectation from users. Yet many QA teams still treat performance testing as a late-stage or one-time activity. In this article, I will explain what the fundamental issue is with the way teams approach performance testing, and how to implement it in a fail-safe way.

What Is Performance Testing?

Performance testing is the process of evaluating how an application responds under different levels of workload, user activity, and system stress. The goal is to assess not only the speed, but the application's responsiveness, stability, reliability, and scalability under realistic conditions.

The testing ensures that an application meets its Service Level Agreements (SLAs) regarding response times and uptime. Unlike functional testing, which verifies whether features work correctly, performance testing examines whether those features continue working effectively when demand increases.

The purpose of performance testing is to:

  • Identify bottlenecks: Uncover slow database queries, memory leaks, inefficient APIs, and infrastructure constraints.
  • Validate scalability: Measure how effectively the application handles growth in data volumes.
  • Ensure stability: Verify that the system remains responsive during sudden demand spikes.
  • Support capacity planning: Provide data that helps teams optimize server sizing and cloud resources.

Types of Performance Testing

Performance testing is an umbrella term that includes several specialized testing approaches.

Load Testing

Load testing measures how a system performs under expected levels of user activity. The objective is to verify that response times, error rates, and resource utilization remain within acceptable thresholds during normal operating conditions.

For example, an e-commerce platform expecting 10,000 concurrent users during a weekend sale would run load tests simulating that traffic level.

Load testing is the most common form of performance testing.

Stress Testing

Stress testing pushes a system beyond its expected limits to determine when and how it fails.

Suppose an application is designed to support 20,000 concurrent users. A stress test may gradually increase traffic to 30,000, 40,000, or even 50,000 users, to figure out the breaking point, and also evaluate recovery behavior after failure.

Spike Testing

Spike testing evaluates how systems handle unexpected traffic increases, such as the earlier ticketing platform example I mentioned. The goal is to identify weaknesses in autoscaling, caching strategies, database connections, and infrastructure provisioning.

The way to do it is to abruptly ramp up the user load to the peak point. Do not increase it gradually, as you want to simulate an instant surge. Track critical metrics like CPU usage, memory utilization, response times, and error rates to see if the system crashes or scales effectively.

Soak Testing

Soak testing, also called endurance testing, measures performance over extended periods: days instead of minutes or hours. This is done because systems generally pass short-term load tests but fail after prolonged operation.

For example, a financial application might sustain normal traffic for 72 hours to determine whether resource exhaustion gradually degrades performance.

Scalability Testing

Scalability testing examines how efficiently an application grows as resources or workload increase. To do this, I might double the number of servers and measure whether throughput also doubles.

Scalability testing becomes vital especially for rapidly growing organizations.

Load Testing vs Performance Testing

From my experience, I see many people think load testing and performance testing are one and the same. Load testing is only one component of a much broader performance testing strategy.

Performance testing is an umbrella term: it helps me evaluate how an application behaves under various operating conditions. As detailed in the previous section, performance testing is more of a strategy encompassing different types of testing, each with a different goal. The overarching goal is to understand where bottlenecks exist and how the application will perform as usage patterns change.

Load testing, on the other hand, answers a specific question: can the application handle the expected volume of users without performance degradation?

Run performance testing when you have made major updates to your core architecture, shifted to a new cloud provider, or need to map out general system vulnerabilities without knowing where things might fail.

Run a load test when you are preparing for a targeted traffic event, such as a Black Friday sale, and you need to verify that your infrastructure can handle the predicted user spike.

Key Metrics in Performance Testing

The most useful performance metrics, in my view, are the ones that reveal how real users experience the application under load and what is happening behind the scenes when performance starts to degrade.

Here are the metrics I think are most important to monitor:

  • Response Time Percentiles (P95/P99): Measure how quickly most requests complete and highlight worst-case user experiences. Focusing only on average response times can be misleading because averages often hide slow or failed requests. A P99 response time of 2 seconds means 99% of requests finished within 2 seconds.
  • Throughput (Requests or Transactions per Second): Indicates how much work the system can process successfully over a given period.
  • Error Rate: Tracks failed requests and application errors as traffic increases, helping identify stability issues before they become outages.
  • Resource Utilization: Monitors CPU, memory, disk, and network usage to uncover infrastructure bottlenecks and capacity constraints.
  • Latency Consistency: Measures how stable response times remain during a test. Large variations signal underlying performance problems even when average response times look acceptable.

How to Do Performance Testing: A Practical Walkthrough

Proper performance testing begins with a well-defined test plan. One mistake I've often seen in less mature teams (and something I’ve been guilty of in the past!) is focusing heavily on the testing tool, scripts, or performance metrics without first understanding the underlying business use cases.
Here's the approach I follow:

Step 1: Start with real user behavior
Before writing a single test, identify the workflows that matter most to the business. For an e-commerce application, that might be product search, add-to-cart, and checkout. For a SaaS platform, it could be login, dashboard access, and report generation.

The goal is to test how users actually interact with the system.

Step 2: Understand expected traffic patterns
Next, determine how much load the application is expected to handle. If the application is already in production, analyze traffic metrics and usage logs. If it's a new application, work with product and engineering teams to estimate expected user volumes.

For example, you might learn that:

  • Login accounts for 40% of requests
  • Search accounts for 30%
  • Checkout accounts for 10%
  • Other actions account for the remaining 20% These percentages help create realistic workloads.

Step 3: Define performance targets
Before running tests, establish clear success criteria, such as P95 response time below 500 ms, error rate below 1%, support for 5,000 concurrent users, and CPU utilization below 80%.

Step 4: Build realistic test scenarios
Rather than testing individual APIs independently, simulate complete user journeys whenever possible. For example, the journey from login, to searching for products, to completing a checkout is a complete user journey.

This approach provides a more accurate picture of how the application behaves under real-world conditions.

Step 5: Run tests gradually
Start with expected load, then increase complexity.

A typical progression is:

  • Baseline load test to validate normal traffic
  • Stress test to identify breaking points
  • Spike test to evaluate sudden traffic surges
  • Soak test to uncover memory leaks and resource exhaustion

A staged approach gives far more reliable results.

Step 6: Monitor the entire system
Performance testing is not just about response times. During execution, monitor application logs, databases, CPU usage, memory consumption, network traffic, and error rates.

When performance degrades, these metrics reveal the root cause faster than test reports.

Step 7: Analyze, optimize, and repeat
The first test run is not the final answer. Use results to identify bottlenecks, implement improvements, and rerun tests to measure the impact.

In my view, performance testing is less about finding a specific number of virtual users and more about understanding system behavior.

Performance Testing Tools

Here are some of the popular performance testing tools I’ve implemented during my career, and what my review is.

Apache JMeter: JMeter is one of the most battle-tested performance testing tools available. It supports load, stress, spike, and endurance testing across web applications, APIs, databases, and messaging systems. While its GUI makes test creation accessible to beginners, I’d typically execute tests in non-GUI mode for large-scale runs. JMeter is valuable for organizations that need a mature ecosystem of plugins and community resources.

BrowserStack Load Testing: It is designed for teams that want to run performance tests without managing their own infrastructure. As it combines browser-level and API load testing in a single cloud platform, I can evaluate both frontend user experience and backend performance during the same test run. I also like the ability to reuse existing functional tests as load scenarios and integrate them directly into CI/CD pipelines.

Gatling takes a test-as-code approach that aligns well with modern workflows. Its lightweight architecture allows it to simulate large numbers of concurrent users efficiently, and I like the built-in reporting very much. I’d pick Gatling as a strong choice for developer-led teams.

Grafana k6 is emerging as one of the most popular modern performance testing tools because it combines simplicity with strong CI/CD integration. Tests are written in JavaScript or TypeScript, making them approachable for developers and automation engineers alike. For organizations practicing DevOps and continuous delivery, I think k6 makes it very smooth and easy to integrate performance testing into development workflows.

Final Thoughts

Performance testing is sometimes viewed as a final checkpoint before release, which is an outdated way of working. Teams should treat performance testing as an ongoing practice that runs throughout the development lifecycle. More importantly, QA should recognize that performance testing is about understanding system behavior as much as it is about handling system traffic.

Another takeaway for me has been that performance testing is not a QA-only activity. Product managers and engineering leads play a role in defining what success looks like. If there is a lack of alignment on user expectations and business requirements, then there will be a gap in the performance testing strategy as well.