Main features

More

Download Open in browser

RECORDER

Record it once. Replay it anywhere.

Capture a customer's traffic and reproduce the bug at your desk. Replay a production day into a test system at 10× speed. Keep the last 10 minutes before every alarm. Compare two runs and let your CI fail when the output changes.

The RECORDER while recording drones/#: the red REC indicator in the app bar, the recordings library, and the OVERVIEW of every recorded topic with messages, rate, interval, payload type, size and duplicates.

Recording

Record MQTT traffic.

Each message with payload, QoS, retain flag, MQTT 5 properties and receive time, plus the retained state at the start.

Topic filters

Record one topic, a wildcard filter, or several filters, each to include or exclude.

A connection of its own

Independent of the CONNECT button. Reconnects on its own and marks the gap.

REC indicator

In the app bar on every tab: elapsed time, messages and size. Add bookmarks while recording.

Limits

Stop after a duration, a number of messages or a size.

Save as recording

Turn the messages the TOPIC VIEWER holds into a recording.

Crash-safe files

.mqttrec files in a library folder; an interrupted recording is recovered. In the browser, recordings stay in its storage, up to 100 MB each.

Triggers and flight recorder

Start and stop by condition, or keep a flight recorder.

Conditions like plant/+/temp > 80, with up to 10 minutes of pre-roll.

Start and stop by condition

Start when a message matches, with up to 10 minutes of pre-roll from before the trigger, and stop by a condition with post-roll. Conditions use the same syntax as the TOPIC VIEWER filter.

Flight recorder

Keeps the last minutes in memory and saves them on SAVE or when a condition matches, like a plane's flight recorder.

# Start conditions
plant/+/temp > 80
plant/line1/state $.status == "error"

# Flight recorder from the command line
> mqttstudio record -p "Plant" -t "plant/#"
    --flight 15m --save-when "plant/+/alarm"

Playback

Replay recordings to a broker.

At 0.1× to 100×. Timing doesn't drift, also over hours.

  • A whole recording, chosen topics or a range, at 0.1× to 100×.
  • Pause, resume, seek, step one message at a time, loop.
  • Shorten pauses longer than a set time.
  • Estimated and peak rate before playing, progress and lag while playing.
  • Rewrite topics on the fly: prod/ → test/.
  • Retain as recorded, never or always; QoS as recorded or fixed.
  • Publish the retained snapshot first, or skip it.
  • ADD TO SIMULATION runs a recording as a device with many instances.

Analysis

Analyze and compare recordings.

Regression tests get real input data.

OVERVIEW

Per topic: messages, rate, interval, value range, payload type, size, duplicates and gaps.

TIMELINE

One lane per topic, zoom and pan, select a range, bookmarks, gaps and connection-loss markers.

MESSAGES

The TOPIC VIEWER's views, filter and detail view on the recorded messages, including Fleet and Sparkplug.

CHARTS

A number or any JSON path over time with min, max and average, an interval histogram, GPS tracks on the map.

COMPARE

Two recordings by counts, payloads and timing, with tolerances and ignored JSON paths. Shows the first difference per topic.

Compare in CI

mqttstudio recordings compare writes a JSON report and fails with an exit code when runs differ.

Command line

Edit and share

Edit, anonymize, import and export recordings.

Every edit makes a new recording; the original stays.

Anonymize

Rules per topic filter: hash, mask with *, replace, remove, or jitter numbers by ± percent, before you send a recording to a supplier.

Edit

Trim to a range, keep or rename topics, merge recordings, split at bookmarks, at the playhead or per topic.

Import and export

.mqttrec, JSON lines and CSV with chosen JSON fields as columns. Import also reads mosquitto_sub output.