What Is a Load Test? Software, Medical & Structural

A load test is any procedure that measures how a system performs under stress or demand. The term shows up in several very different fields, from software engineering to cardiology to structural engineering, and the specific meaning depends on context. In each case, the core idea is the same: apply a controlled amount of pressure and observe how the system responds.

Load Testing in Software Engineering

In software, a load test simulates many users accessing an application at the same time to see how it holds up. The goal is to find the point where performance degrades, pages slow down, or the system starts returning errors. Development teams run load tests before launching a new product, after major updates, or whenever they expect a traffic spike (like a holiday sale).

Four metrics define whether a system passes or fails:

  • Response time (latency): The total time between a user’s request and the system’s reply, measured in milliseconds. This includes both processing time and network transit time.
  • Throughput: The number of requests the system handles per second. Higher throughput means the system can serve more users simultaneously.
  • Error rate: The percentage of requests that fail or never receive a response. You calculate it by dividing failed requests by total requests and multiplying by 100.
  • Concurrent users: The number of simulated users active at the same time. Tests typically ramp this number up in stages to find the breaking point.

A healthy application might handle 10,000 concurrent users with sub-200-millisecond response times and an error rate near zero. The same application might start throwing errors at 15,000 users, revealing a bottleneck in the database or server configuration. That threshold is exactly what load testing is designed to find.

Cardiac Stress Tests

In medicine, a load test most often refers to a cardiac stress test, sometimes called an exercise stress test. It evaluates how well your heart pumps blood when your body is working hard. You exercise on a treadmill or stationary bike while a medical team monitors your heart rhythm, blood pressure, and symptoms like chest pain, shortness of breath, or dizziness.

The most common protocol is the Bruce protocol, which increases difficulty every three minutes. Stage 1 starts at 1.7 mph on a 10% incline. Stage 2 bumps to 2.5 mph at 12%, and Stage 3 reaches 3.4 mph at 14%. Each stage demands roughly two more metabolic equivalents (METs) of energy than the last, and your results are compared against expected values for your age and sex.

Throughout the test, electrodes on your chest record your heart’s electrical activity. A key marker is the ST segment on the readout. A horizontal or downward shift of 1 millimeter or more in this segment is considered abnormal and may indicate reduced blood flow to the heart muscle. This finding often leads to further testing, such as imaging or catheterization.

Cardiac stress tests are used to diagnose coronary artery disease, irregular heartbeats, and congestive heart failure. They also help determine whether your heart is strong enough for an upcoming surgery, or whether a current treatment plan is working. For people who can’t exercise due to joint problems, lung disease, or other limitations, medications can be given through an IV to mimic the effects of exercise by widening the coronary arteries. This lets doctors see how blood flows through healthy versus narrowed vessels on imaging.

Glucose Tolerance Test

A glucose load test, formally called an oral glucose tolerance test, measures how efficiently your body processes sugar. It’s one of the standard ways to diagnose type 2 diabetes, prediabetes, and gestational diabetes during pregnancy.

The procedure is straightforward. You fast for eight hours, then a blood sample is drawn to establish your baseline blood sugar. Next, you drink a syrupy solution containing 75 grams of glucose. Blood is drawn again at one hour and two hours. For the three-hour version used in some pregnancy screenings, the drink contains 100 grams of glucose, and blood is drawn at one, two, and three hours.

At the two-hour mark, the results break down into clear categories according to the CDC:

  • Normal: 140 mg/dL or below
  • Prediabetes: 140 to 199 mg/dL
  • Diabetes: 200 mg/dL or above

For gestational diabetes screening, the thresholds are tighter. A fasting level of 92 mg/dL or higher, a one-hour reading of 180 mg/dL or higher, or a two-hour reading of 153 mg/dL or higher can lead to a diagnosis.

Cardiopulmonary Exercise Testing

A cardiopulmonary exercise test (CPET) combines a cardiac stress test with detailed breath analysis. While you exercise on a bike or treadmill, you breathe into a mouthpiece that measures exactly how much oxygen you consume and how much carbon dioxide you produce, breath by breath. A single test records thousands of data points.

The two most important values are peak oxygen consumption and the anaerobic threshold. Peak oxygen consumption reflects the maximum amount of oxygen your body can use during exercise, which is a direct measure of cardiovascular fitness. The anaerobic threshold is the tipping point where your muscles demand more oxygen than your heart and lungs can deliver, forcing your body to switch to less efficient energy production. Carbon dioxide output rises disproportionately at this point, and the test captures exactly when that shift happens.

CPET is commonly used before major surgeries, particularly abdominal operations. Low scores on peak oxygen consumption, anaerobic threshold, or breathing efficiency are associated with higher rates of complications, longer hospital stays, and greater risk of needing intensive care after surgery. The results help surgical teams decide whether a patient is fit enough to proceed or whether a period of exercise rehabilitation (called prehabilitation) should come first.

Structural Load Testing

In civil engineering, a load test determines whether a bridge, building, or other structure can safely support the weight it’s designed to carry. Engineers either place physical weights on the structure or use hydraulic systems to apply force, then measure how much the structure bends, shifts, or deforms. The results are compared against design calculations to verify that the structure has an adequate safety margin.

Bridge load testing is heavily regulated. The Federal Highway Administration maintains detailed guidelines for rating bridges based on the types of vehicles they must support, from standard passenger cars to emergency vehicles and specialized hauling trucks. A bridge’s load rating determines whether it stays fully open, gets posted with weight limits, or requires reinforcement. These ratings are periodically updated as traffic patterns change and structures age.

The principle mirrors every other type of load test: apply a known amount of stress, measure the response, and compare it to acceptable thresholds. Whether the system is a web server, a human heart, or a concrete span, the question is always the same. How much can it handle before something breaks?