Use the diagnostic download resource to measure the communication performance for the service, which includes:
Download speed (bytes/sec) – average number of bytes received from the service over a time interval. For example:
GET
<ACCESS_URL>/api/diagnostic/download?contentBytes=200000
The download resource works by making a Web API call to the server, which responds with an HTTP 200 status code and the content size in bytes in the message body.
The message body content size is controlled by the contentBytes query parameter set in bytes. If the parameter is not set, the service responds with
65536 bytes (64 KB) of content by default.