BLASTA

Mail web services load testing template

HTTP side of a mail system: Roundcube / SOGo, autodiscover and autoconfig, MTA-STS, rspamd and Mailpit.

Category MailStack Roundcube, SOGo, Mailcow, Mailu, rspamd, Mailpit, MailHog, JMAPJobs 27

About this Mail web services load test

Load tests the HTTP side of a mail system: the Roundcube and SOGo login pages, a webmail inbox without a session, Thunderbird autoconfig, Outlook autodiscover, the MTA-STS policy, the JMAP session resource, rspamd and Mailpit endpoints, and a login page ramp.

It holds 27 ready-made jobs: 12 single scenarios and an enterprise test plan of 15 stages to run in order, 13 of them with pass/fail targets (SLOs). Each job is a plain request pattern you can change before running.

Scenarios include webmail login page, inbox without a session, Roundcube static asset, SOGo login page and Thunderbird autoconfig.

How to load test Mail web services

  1. Open the template in BLASTA.
  2. Set url, domain, email and mtaSts to point at your own Mail web services system, ideally a staging copy.
  3. Pick a job and choose the rate and duration.
  4. Start the run and watch requests per second, latency percentiles and errors live; the result is saved to your history.

What you set before running

url
Webmail base URL, no trailing slash
domain
Your mail domain
email
A mailbox address for the autoconfig query
mtaSts
Full URL of your MTA-STS policy

Test scenarios (12)

inbox without a session

Read-only

Protected page with no session: should redirect to login quickly. Redirects are not followed.

Outlook autodiscover (POST)

Read-only

Outlook and mobile clients poll this on a timer, so it is a constant background load on Exchange-style systems.

MTA-STS policy

Read-only

Fetched by every sending mail server that supports MTA-STS, and cached for the policy's max_age.

JMAP session resource

Read-only

Entry point for JMAP clients (Stalwart, Fastmail, Cyrus). Redirects are not followed.

login page ramp

Read-only

Ramps requests to the login page to find where the webmail front end (PHP-FPM) saturates.

Enterprise test plan (15)

Run in order: smoke, baseline, load, stress, spike, soak, breakpoint and failover window, each with pass/fail targets.

Frequently asked questions

What does the Mail web services load test cover?

The Mail web services template has 27 jobs: 12 single scenarios and an enterprise test plan of 15 stages (smoke, baseline, load, stress, spike, soak, breakpoint and failover window). Scenarios include webmail login page, inbox without a session, Roundcube static asset and SOGo login page. 13 of them have pass/fail targets (SLOs), so a run can be judged against limits you set.

How do I load test Mail web services with BLASTA?

Open the template in BLASTA and set url, domain, email and mtaSts, then pick a job and start it. Results stream live: requests per second, latency percentiles and errors, and the run is kept in your history. To run from the command line, use blasta preset new mail-web with your address.

Is it safe to run the Mail web services load test against production?

All 27 jobs in this template are read-only: they request pages or data and do not change anything. Even so, a load test can slow a live system down, so start with a low rate and prefer a staging copy. Only test systems you own or have permission to test.

Related templates

Run a load test

Point BLASTA at something you own, choose how hard to hit it, and press Start test. Results stream in live.

1 What do you want to test? Use a template

Request headers

2 How hard should it hit?

Advanced limits
Pass / fail targets (SLO) optional
The result is marked SLO met or SLO missed. The same targets live in a job file, where blasta run exits 2 on a miss so CI or Kubernetes can gate a release.

Set up this job

Quick check

Please confirm you are not a robot to start your free test.

Clear history

Delete every finished test in your history. Tests still running are kept. This cannot be undone.

Add identity provider

Add user

The account is active at once. Share the password with them securely; they can change it from their menu.

Sign in to use templates

Templates and test history are part of the full app. Sign in, or create a free account, to use them.

Sign inCreate account

Change password