Defining, planning and conducting a volume test

  • Updated

Introduction

You've been asked to own the volume testing for an integration project, but perhaps nobody has explained exactly what that means. Don't worry. You don't suddenly need to become a performance engineer, and you don't personally need to generate thousands of transactions, monitor every server, or operate every piece of automation involved in the test.

Your job is to coordinate the proof that the complete solution can handle the amount of work the operation expects to put through it. That means understanding what the expected workload looks like, agreeing how it will be reproduced during testing, making sure the right systems and people are involved, defining what success looks like before testing begins, and collecting enough evidence to confidently say whether the solution passed.

At its simplest, a volume test is trying to answer one question:

Can the complete solution process the amount of work the operation expects to send through it, at the speed required, for long enough to give us confidence it will work in production?

The important phrase there is complete solution. If a WMS sends work through the SOFTBOT Platform to an automation system, proving that one component can process thousands of messages isn't necessarily enough. You need to establish that the complete business process can support the required workload from beginning to end.

If you've been handed ownership of volume testing and you're wondering where to start, start with the operation rather than the technology.

What is a volume test?

A volume test puts a realistic amount of work through the solution and observes how the complete system behaves.

Imagine, for example, that you're integrating a WMS with an AMR solution and the operation expects to process 600 moves per hour. Successfully sending a single move proves that the basic integration works, while sending ten moves demonstrates that it works repeatedly. Neither test proves that the complete solution can reliably support 600 moves every hour when the facility is operating.

That's what the volume test is trying to establish. You're looking for more than raw speed. You want to know that transactions continue flowing successfully, response times remain acceptable, work isn't continuously accumulating in queues, messages aren't being lost or duplicated, errors and retries remain manageable, infrastructure remains healthy, and all the connected systems continue to behave correctly as the workload increases.

A useful analogy is a highway. Proving that one car can drive down the road tells you that the road works. Volume testing is about finding out what happens during rush hour.

What does owning the volume test actually mean?

One of the first misconceptions to clear up is that owning the volume test means doing everything yourself. It doesn't.

Think of yourself as the person coordinating the test and making sure the project can answer five fundamental questions:

  1. What is the expected production workload?
  2. What exactly are we going to test?
  3. How are we going to create a realistic workload?
  4. What are we going to measure?
  5. What determines whether the test passes or fails?

Different teams will provide different pieces of the answer. Operations may define the expected production volumes. The WMS team may generate transactions. SVT may monitor the SOFTBOT Platform and its integrations. An automation supplier may operate or simulate its system, while the customer's IT team monitors the supporting infrastructure.

As the volume-test owner, you bring those pieces together into one agreed plan. If the five questions above haven't been answered before testing starts, the test isn't ready.

Step 1: Understand what the operation actually needs

Before opening a test tool or worrying about messages per second, talk to the people who understand the operation.

You need to establish how much work the solution is expected to process during production. Depending upon the project, that could mean orders per hour, order lines, picks, moves, pallets, cartons, replenishments, or another business transaction.

Be careful not to confuse business volume with integration volume. One warehouse move might create several integration transactions as it progresses through its lifecycle, perhaps including an initial request, an acknowledgment, one or more status updates, and a completion message. An operation expecting 1,000 moves per hour could therefore generate several thousand integration messages during that same period.

Start in language Operations understands, such as moves or picks per hour, and then work with the technical teams to translate that demand into the workload each system and integration will actually see.

Step 2: Understand the peak, not just the average

Average throughput rarely tells the whole story.

Suppose an operation processes 4,800 moves during an eight-hour shift. That's an average of 600 moves per hour, but perhaps most of those moves occur during several busy periods when demand reaches 1,000 moves per hour. Designing the test around the 600-move average wouldn't represent the period when the solution is under the greatest realistic pressure.

You therefore need to understand both how high the workload gets and how long it stays there. Five minutes at 1,000 moves per hour is very different from sustaining that rate for four hours.

A useful test plan will normally consider at least three workload levels: the typical production workload, the busiest realistic production workload, and a controlled workload above the expected peak to provide some understanding of available headroom. The goal isn't simply to keep increasing the load until something breaks. It's to understand whether the expected operating range sits comfortably within the capability of the complete solution.

Step 3: Define the business process you're actually testing

Try not to define the test as "send 10,000 API calls." That may be useful for testing an individual API, but it doesn't necessarily prove that the integration solution can support the business process.

Instead, describe the scenario in operational terms. For example:

Create 1,000 moves per hour in the WMS, route those moves through the SOFTBOT Platform to the AMR fleet manager, process the associated status and completion messages, and verify that all valid moves are accounted for successfully.

That statement gives everyone a common understanding of what the test is supposed to prove.

If the operation contains several materially different workflows, consider whether they need separate scenarios or whether the production workload should contain a realistic mix. Pick, putaway, replenishment, pallet moves, cancellations, status changes, and exception scenarios may exercise the integration differently, so don't automatically assume that proving one workflow proves them all.

The objective is to create a representative picture of production, not simply a large number of identical messages.

Step 4: Understand the end-to-end transaction path

You don't need to produce an elaborate architecture diagram, but you do need to understand which systems participate in the transaction.

A relatively simple example might be:

WMS → SOFTBOT Platform → AMR Fleet Manager → SOFTBOT Platform → WMS

The real workflow may involve more. A PLC may generate an event, the automation may send several status changes, a SOFTBOT Orchestration may perform a lookup, or completion of one process may trigger another transaction within the host system.

Understanding that path helps you decide what needs to be observed during the test. More importantly, if throughput drops or a backlog begins to develop, you'll have a starting point for determining where the constraint exists rather than simply concluding that "the test was slow."

Step 5: Decide how you'll generate the workload

One of the most practical decisions in volume testing is determining where all the test transactions are going to come from.

Using the real upstream system is often the most representative option. If the actual WMS, WES, ERP, or other host system can generate the required workload, you're exercising the real interface and producing representative messages. However, creating thousands of transactions from the real host may require specific test data, configuration, or tooling and may not always be practical.

A simulator is another perfectly valid option. A simulator can reproduce the expected interface and generate representative transactions at controlled rates, which can be particularly helpful when you need to test loads that would be difficult to create manually. Just be clear about what has and hasn't been proven. If you're simulating the WMS, for example, you've tested the behavior of the downstream integration under workload, but you haven't proven that the real WMS can generate that workload at the same rate.

In other cases, the actual automation needs to participate because physical behavior is part of what you're trying to prove. That makes the test more representative, but physical equipment has natural throughput constraints. You can't simply ask an AMR to drive ten times faster so that a four-hour workload can be tested in twenty minutes.

Choose the method that proves the requirement you're actually interested in, and document any part of the solution that is being simulated.

Step 6: Agree what PASS looks like before testing

This is one of the most important responsibilities of the test owner.

Don't run a test and then ask everyone afterwards whether the results "look OK." Agree the acceptance criteria before the testing begins so everyone is working toward the same definition of success.

For example, a peak-volume scenario might require the solution to support 1,000 moves per hour for two hours, account for 100% of valid moves, experience no unexplained transaction failures, maintain response times within an agreed operational requirement, and complete the workload without a continuously growing backlog. Infrastructure and connected applications should also remain within whatever operating limits have been agreed by their respective owners.

Those numbers are only illustrative; every project will have different requirements. The principle is what matters.

At the end of the test, you should be able to compare the observed results with the agreed acceptance criteria and reach a defensible PASS or FAIL, rather than relying on "it seemed pretty good."

Step 7: Make sure you can measure what happens

If you're going to put 10,000 transactions into a test, you need a reliable way of determining what happened to those 10,000 transactions.

At minimum, you should know how many transactions entered the scenario, how many completed successfully, how many failed, whether any were retried, how many remained outstanding at the end, how long processing took, and whether queues or backlogs developed as the load increased.

The SOFTBOT Platform provides execution visibility into the integrations and workflows running through it, but remember that you're testing an end-to-end solution. You may also need evidence from the host application, automation technology, supporting infrastructure, database, or other participating systems.

Agree beforehand which team is responsible for collecting each measurement. You don't want to finish a successful two-hour test only to discover that nobody recorded the number of transactions that actually entered the system.

Step 8: Build up to the target volume

Your first volume test shouldn't be your biggest volume test.

Before attempting the expected production peak, run the scenario at a smaller scale and confirm that it behaves correctly. You might begin with 10 transactions, then 100, before moving into the normal production workload, peak workload, and eventually an above-peak scenario.

The exact progression isn't important. What matters is increasing the workload in a controlled way.

If there is a basic functional problem, you'd rather discover it after 10 transactions than after generating 10,000. Increasing volume gradually also gives you baseline measurements that can reveal where behavior begins to change. Perhaps response times remain almost constant through the normal operating range and only begin increasing as you approach the peak. That's valuable information.

Step 9: Test more than one kind of volume

A useful volume-testing program normally includes several scenarios because they answer different questions.

A normal workload test establishes whether the solution comfortably handles typical production demand. A peak workload test determines whether the solution can support the busiest realistic production period without unacceptable backlog, failures, or response-time degradation. An above-peak test provides some understanding of available headroom and how the solution behaves when expected demand is exceeded.

You should also consider duration. A solution may handle a high transaction rate for five minutes but behave differently after maintaining the same workload for several hours. Resource consumption, connection usage, queued work, or another constraint can gradually accumulate.

Volume testing shouldn't ask only "Can the solution reach the required throughput?" It should also ask "Can the solution sustain that throughput for as long as the operation requires?"

Step 10: Make sure the right people are available

An end-to-end volume test involves more than one technology, so diagnosing unexpected behavior usually involves more than one team.

Before testing, establish who needs to participate or be available. Depending upon the solution, that might include:

  • Operations
  • The WMS, WES, or ERP team
  • SVT
  • Automation suppliers
  • The system integrator
  • IT infrastructure
  • Database or network specialists, where appropriate

Not everyone needs to sit on a call watching counters for four hours. What matters is having the appropriate expertise available when needed.

If throughput suddenly drops, the project needs to determine whether the constraint is within the host, the SOFTBOT Platform, infrastructure, network, automation interface, or the automation technology itself. That investigation is much easier while the test is still running and the relevant teams have access to their respective systems and evidence.

Step 11: Document what actually happened

A useful volume test creates evidence that someone else can review later.

For each scenario, record:

  • What you intended to test
  • When the test started and finished
  • The workload you attempted to generate
  • The workload actually achieved
  • How many transactions were processed successfully
  • How many transactions failed or remained outstanding
  • Whether unusual response times or backlogs were observed
  • Any application, integration, or infrastructure errors
  • Any configuration changes made during the test
  • Whether the scenario passed or failed

If somebody changes a setting halfway through a scenario and performance suddenly improves, that's important information. The next person running the test needs to understand why the results changed.

The aim is repeatability. Given the same environment, configuration, test data, and workload, another test team should be able to run the scenario again and reasonably expect comparable results.

Step 12: Treat a failed test as useful information

A failed volume test isn't necessarily a bad outcome. Finding a capacity or performance problem before production is exactly why you're running the test.

Suppose the solution successfully supports 800 moves per hour but begins accumulating a backlog at 1,000. You now know something useful, and the next job is to identify the constraint.

Perhaps the host system isn't generating work quickly enough. A workflow may contain an inefficient operation. An external API could be limiting request rates. Infrastructure resources may have reached a constraint, or the automation system itself may simply be unable to consume work any faster.

Identify the cause, make the appropriate change, record what was changed, return the environment to a known state, and rerun the same scenario. A controlled failure followed by a documented fix and successful retest gives you far more confidence than a test that appears to pass but produces little evidence.

Step 13: Finish with an evidence-based conclusion

At the end of the volume-testing exercise, bring everything back to the acceptance criteria agreed at the beginning.

For each scenario, document what was supposed to be tested, what was actually tested, what happened, whether the scenario passed or failed, any issues discovered, changes made during remediation, any required retests, and any known limitations that remain.

The conclusion should be something another person can understand without having participated in the test.

For example:

"The solution sustained the required peak rate of 1,000 moves per hour for two hours. All valid transactions were accounted for, no sustained backlog developed, and no unexplained integration failures occurred. The agreed peak-volume acceptance criteria were met."

That's far more useful than simply recording that "volume testing was completed successfully."

A simple way to get started

If you've just been asked to own volume testing, you don't need to begin with a complicated performance-testing document. Start with a single page and answer the following questions:

  1. What are we proving? Describe the business process and the end-to-end solution being tested.
  2. What's normal? Establish the normal production workload with Operations.
  3. What's peak? Establish the busiest realistic workload and how long it needs to be sustained.
  4. What transactions are involved? Translate the business workload into the integration activity the systems will actually process.
  5. What's the end-to-end path? Identify every significant system involved.
  6. How will we generate the workload? Decide which components will be real and which, if any, will be simulated.
  7. What determines PASS or FAIL? Agree measurable acceptance criteria before testing.
  8. How will we measure the result? Identify the evidence required and who will collect it.
  9. Who needs to participate? Make sure the appropriate system owners are available.
  10. What scenarios will we run? Define the progression from a small baseline through normal, peak, above-peak, and sustained workloads as appropriate.
  11. How will we record the results? Use the same structure for every scenario so the results can be compared.
  12. Who accepts the result? Agree who reviews the evidence and determines whether the volume-testing requirement has been satisfied.

Once those questions have good answers, you have the foundations of a volume-test plan.

What owning the volume test really means

If this is the first volume test you've owned, don't get hung up on being the project's performance expert. That's not really what you've been asked to do.

You've been asked to prevent the project reaching the end and discovering that everyone thought somebody else had defined what "volume tested" actually meant.

A properly owned volume test has an agreed production workload, representative end-to-end scenarios, measurable acceptance criteria, a method for creating the required volume, the appropriate technical and operational participants, sufficient monitoring to understand what happened, and a documented conclusion supported by evidence.

If you can put those pieces together, you're doing the job.

Key takeaway

Owning a volume test is really about turning the vague statement "we need to volume test this" into a test that means something to the operation.

Start by understanding what the operation needs to process under normal and peak conditions. Translate that business demand into the workload the integration will actually experience, define representative end-to-end scenarios, agree how the workload will be generated, and establish measurable PASS/FAIL criteria before testing begins.

Then run the scenarios in a controlled way, observe the complete solution, investigate anything unexpected, document the evidence, and compare the results with the criteria you agreed at the beginning.

You don't need to personally be the expert in every system involved. You need to bring the right people and information together so the project can confidently answer the question that matters:

Can this solution reliably handle the amount of work our operation is going to ask it to do?

Was this article helpful?

0 out of 0 found this helpful