Download a file over HTTP from a SIM

Download a file over HTTP on the SIM's data connection and measure throughput, with the time spent in each phase.

The reference action for tracking cellular download performance. Beyond throughput, the timing waterfall shows where the time goes: DNS lookup, connection, TLS handshake (setting up the secure connection), time to first byte, and transfer.

Parameters

ParameterRequiredDescription
UrlYesURL of the file to download.
Ignore SSL certificateNoSkip certificate verification. Default: off.
Enable cookiesNoKeep cookies across redirects. Default: off.
Download should failNoInvert the verdict, for content that must be blocked.

Plus the shared connection settings and DNS override (command.override_dns, command.dns).

Results and metrics

In the action report (result):

FieldDescription
throughput_in_kbpsDownload throughput.
size_in_bytesBytes downloaded.
status_codeHTTP status of the response.
md5sumHash of the downloaded file, to verify integrity.
dnslookup_duration, connect_duration, appconnect_duration, pretransfer_duration, starttransfer_duration, contenttransfer_duration, total_durationThe timing waterfall: DNS, TCP connect, TLS handshake, request, time to first byte, transfer, total.

In Analytics, each run feeds the HTTP download measurement with throughput_kbps, downloaded_bytes, every waterfall duration (namelookup_duration_seconds, connect_duration_seconds, starttransfer_duration_seconds...), and duration_seconds, tagged by status, URL, status code, APN, antenna, and access technology.

What's next?

HTTP Upload

Measure the uplink direction

Ookla Speedtest

Both directions plus latency, against Ookla servers

Last updated on