Measurement Data
Stations using MQTT? See MQTT Integration — same payload format, same API key, just a different transport.
What is it?
The "Measurement data" section on a test case's detail page shows all measurements for that test case in a single view — as tiles (last value per channel, min/max) or as a chart with limit comparison. That holds regardless of how the values arrived: automatically via REST/MQTT while the test ran, as a CSV upload during execution, or uploaded afterward as a CSV once the test case is already completed. There is only this one source — no separate "live" area and no separate "attachment with chart preview" anymore.
While the test case is running, the view updates continuously (green "Live" dot). After completion (Passed, Failed, Skipped, Cancelled), the same section shows the full, read-only history — including any values uploaded afterward.
The "Chart" button lets you adjust the display (chart type, trendline, legend, axes …). With only one measurement channel the legend is hidden by default, since it wouldn't distinguish anything — it can be switched on anytime via the same button.
How measurements get in
REST API:
POST /api/v1/measurementswith the station's API key in thex-api-keyheader (alternativelyAuthorization: Bearer <key>):{ "sequenceItemId": "<uuid>", "measurements": [ { "timestamp": "2026-06-30T08:00:00Z", "channelName": "U_in", "value": 12.1, "unit": "V", "quality": 100, "metadata": {} } ] }sequenceItemIdis shown on the test case's detail page in the "Measurement data" section (copy button next to the ID).quality(0–100) andmetadata(any JSON object) are optional;metadatais kept after archiving and included in the CSV export.Field rules:
timestampas ISO 8601 (e.g.2026-06-30T08:00:00Z) or milliseconds since 1970 — no earlier than 1 Jan 2000 and at most 24 hours in the future.channelName(max. 120 characters) andunit(max. 40) may contain commas, quotes and umlauts, but no line breaks or tabs. WithoutsequenceItemId, values are attributed to the station only (e.g. warming up/calibrating before a test case is running) and appear only on that station's page.MQTT — see MQTT Integration.
CSV upload during execution: in the "Test case executed" dialog or directly in the measurement data section via "Upload" — flows into the live view immediately, same as REST/MQTT, and feeds the automatic limit evaluation. Required columns:
timestamp, channelName, value, unit(optionalqualityandmetadataas a JSON object), at most 500,000 rows or 50 MB per file. The file is processed in the background; progress is shown below the upload button. If the test case has been completed in the meantime, the upload is rejected — use item 4 instead.CSV upload after completion: the same "Upload" button in the measurement data section, now against an already-completed test case — the values are added directly to that test case's permanent record (see below) and appear in the chart immediately. Same limits as for a running test case (500,000 rows, 50 MB). If the file contains a value that already exists for the same channel and time, the new upload replaces the old one — so a faulty series can be corrected. Your own CSV export can be uploaded again unchanged.
Status starts automatically: A still-pending test case switches to "In progress" automatically when the first measurements arrive.
How long is measurement data kept?
Recent values live in the fast live database, but only for a rolling window of roughly 24 hours. Older values are automatically moved (hourly, in the background) into a permanent CSV record per test case — nothing is lost, and this is invisible in the view: the measurement data section always shows the complete, correct history, whether a value just arrived live or was archived weeks ago. This also holds for test cases that run longer than the rolling window (e.g. multi-day climate tests) — the export keeps running independent of the test case's status, not only once it completes.
When a test case completes, any remaining values are archived immediately; from then on there is exactly one permanent measurement-data record for that test case, kept for traceability (ISO 17025) as well. The archive keeps timestamp, channel, value, unit, quality, station and metadata — the same columns as the CSV export ("Download" in the measurement data section).
Values sent without a sequenceItemId (or that arrived after the test case
was completed, see below) belong to the station only and are currently
neither archived nor deleted automatically.
Setting station status via API
In addition to measurements, a station can also set its own status via the same API key:
PATCH /api/v1/stations/me/status with the same header and body
{ "status": "IN_USE" }. Valid values: AVAILABLE, IN_USE, MAINTENANCE,
OUT_OF_SERVICE. There is deliberately no id in the body — the API key
determines the station, so it can only change itself.
The test case status itself does not need to be set separately: it automatically switches to "In progress" when the first measurements arrive. The actual verdict (Passed/Failed) remains a deliberate manual step in the UI ("test case was performed").
Common issues
- Error response format.
{ "error": { "code": "...", "message": "..." } }— thecode(PERMISSION_DENIED,VALIDATION,NOT_FOUND,LIMIT_EXCEEDED) is stable and can be evaluated programmatically. 401 — API key missing / invalid.Get the current key from the station page.404 — Sequence item not found.ThesequenceItemIddoesn't belong to this station's organization.413 — Payload too large.A request may be at most 5 MB; split large volumes across multiple requests.- Duplicate values are skipped — not an error, protects against duplicate
sends (the response lists them under
duplicates). A failed request can therefore safely be retried in full. 400 — timestamp before 1 Jan 2000/more than 24 hours in the future. Check the station's clock. Most common cause: Unix time sent in seconds instead of milliseconds, ornullinstead of a timestamp.400 — channel name must not contain control characters. Remove the line break or tab from the channel name or unit.- Values arrive but don't show up on the test case. The test case was
already completed when they arrived. The response then contains a
note; the values only appear on the station page. For a completed test case, upload the values afterwards as a CSV (item 4). 500 — measurements could not be stored. Temporary error on our side; retry the request (duplicates are skipped). If it persists, contact support.- "This path is only for completed test cases." The upload button in the measurement data section decides automatically: if the test case is still running, use the live upload instead (no station assigned yet? assign one to the test case first).
- CSV row errors. The message names the row and reason (unreadable date,
non-numeric value, missing required column,
metadatanot a JSON object). Semicolon/decimal comma is detected automatically. A channel name that contains a comma must be quoted ("Temp, inside"). Even when a background import fails, the affected rows (up to 50) stay stored with the import and are shown below the upload button. - "This test case's measurement data is being consolidated right now." Archiving was running while you deleted the measurement data. Try again in a minute.
- Import "cancelled because the measurement data was deleted". Deleting a test case's measurement data also cancels uploads still waiting — otherwise the deleted values would come straight back. Upload the file again if needed.
- Live view. If the view shows nothing new during a running measurement, reload the page; new values appear with about 2 seconds of delay. Values delivered late with a timestamp more than 30 seconds old only appear after reloading.
- CSV export in Excel. Channel names or units starting with
=,+,-or@get a leading'in the export so Excel doesn't run them as a formula. - Checking afterwards what arrived: Every delivery (REST, MQTT, or CSV
upload during execution) is in the delivery log — retrievable via
GET /api/v1/ingestion/deliveries(see REST API) or by asking the support assistant. An upload after completion doesn't go through this log (it never writes to the live table) — it's traceable through the normal audit log instead.