Use the diagnostic upload resource to measure the communication performance for the service, which includes.
Upload speed (bytes/sec) – average number of bytes sent to the service over a time interval. For example:
POST
.../api/diagnostic/upload
The upload resource works by making a Web API call to the server, which responds with an HTTP 204 status code and an empty message body.