Speed Test client library for Java/Android with HTTP & FTP support
How come the Energy star certification mark and the DualBIOS logo disappear during BIOS POST? I can see you have run 3 speed tests which our faults team are looking at. Worse (we did subsequently discover that we don't have a test socket??). Last night at 23.00 came back up with 1 meg download 1 meg upload lol,. TDS Telecommunications Speed Test.
- speed test download
- speed test upload
- download / upload progress monitoring
- configurable hostname / port / uri (username & password for FTP)
- configurable socket timeout and chunk size
- configure upload file storage
Check a non-exhaustive list of compatible speed test server.
Include in your project
- with Gradle, from jcenter or mavenCentral :
Usage
- setup a speed test listener to monitor progress, completion and error catch :
Download
- HTTP download 1Mo from
http://ipv4.ikoula.testdebit.info
- FTP download 1Mo from
speedtest.tele2.net
- FTP download 1Mo from
ftp.otenet.gr
with credentials (username/password), default is anonymous/no password
Upload
- HTTP upload 1Mo to
http://ipv4.ikoula.testdebit.info
- FTP upload a 1Mo file to
speedtest.tele2.net
Fixed duration download
Download during a fixed duration. Download will be stopped when the max duration is reached.
- HTTP download for 10s max, a 100 Mo file from
http://ipv4.ikoula.testdebit.info
Socket Test Software
- FTP download for 10s max, a 100 Mo file from
speedtest.tele2.net
Fixed duration Upload
Upload during a fixed duration. Upload will be stopped when the max duration is reached
- HTTP upload for 10s max, a 10Mo file to
http://ipv4.ikoula.testdebit.info
- FTP upload for 10s max, a 10Mo file to
speedtest.tele2.net
Define report interval
You can define your own report interval (interval between each onDownloadProgress
& onUploadProgress
) in milliseconds.
- HTTP download with download reports each 1.5 seconds
- FTP download with download reports each 1.5 seconds
- HTTP upload with upload reports each 1.5 seconds
- FTP upload with upload reports each 1.5 seconds
Use proxy server
default proxy server port is 8080
Chain download/upload requests
You can chain multiple download/upload requests during a fixed duration. This way, there will be as much download/upload request until the end of the period
- download repeat
Socket Test Tool
The following will download regularly for 20 seconds a file of 1Mo with download report each 2 seconds. Download reports will appear in onReport
callback of IRepeatListener
instead of onDownloadProgress
:
- upload repeat
The following will upload regularly for 20 seconds a file of 1Mo with download report each 2 seconds. Upload reports will appear in onReport
callback of IRepeatListener
instead of onUploadProgress
:
Get live download & upload
- retrieve current download report :
Speed Test Socket Download1 Kit
- retrieve current upload report :
Set setup time
Microsoft visual c# step by step 8th edition download. Setup time is the amount of time in milliseconds from which speed test will be calculated :
The following will set the setup time to 5 seconds which mean, the speed rate will begin to be computed 5 seconds after the speed test start :
Download mp3 degung sunda gratis. Each of the rights over the files would be property of their respective owners.
- download
- upload
Set upload file storage type
By default, data to be uploaded is stored in RAM, for large data it is recommended to used file storage :
It will create a temporary file containing random data. File will be deleted automatically at the end of the upload.
Set size of each packet sent to upload server
Set socket timeout value
You can set download/upload socket timeout in milliseconds :
Set transfer rate precision
These settings are used to alter transfer rate float rounding / scale :
- set RoundingMode :
Default RoundingMode
used for transfer rate calculation is HALF_EVEN
. It can be override with :
- set Scale :
Default scale used for transfer rate calculation is 4
FTP mode
Set passive/active mode with :
default is FtpMode.PASSIVE
Android Integration
- add Internet permission to manifest :
- use an
AsyncTask
to run your speed test :
Execute it with : new SpeedTestTask().execute();
Features examples
All following examples use speed test server http://ipv4.ikoula.testdebit.info
for HTTP and speedtest.tele2.net
for FTP
- HTTP download (1Mo)
- HTTP upload (1Mo)
- FTP download (1Mo)
- FTP upload (1Mo)
- HTTP download (1Mo) through proxy server 216.56.48.118:9000
- download during a fixed duration (size: 100Mo, duration: 15s, report interval: 1s)
- upload during a fixed duration (size: 100Mo, duration: 15s, report interval: 1s)
- download repeatedly a file during a fixed duration (size:10Mo, duration 11s, report interval: 1s)
- upload repeatedly a file during a fixed duration (size:1Mo, duration 11s, report interval: 1s)
- successive 2 x (download + upload) repeatedly a file during a fixed duration (1 download size:1Mo, duration 3s, report interval: 1s following by 1 upload size:1Mo, duration 3s, report interval: 1s)
Speed Test issues
It's important to choose an adequate speed test server depending on latency/jitter. This library is not responsible for the speed test server choice.
Note that this library :
- doesn't adjust the chunk size depending on the connection speed either
- doesn't provide pre-estimation of the connection speed based on small chunk sent to/from server
- doesn't detect anomaly either (for instance taking away X% slowest chunk and X% fastest chunk downloaded)
This library does provide an average of transfer rate for all individual chunks read/written for download/upload.
The 2 following links describe the process of speedtest.net :
Compatibility
JRE 1.7 compliant
With Anton Lesser, Simon Russell Beale, Tom Georgeson, John Mackay. A mini-series of adaptations of Shakespeare's history plays: Richard II, Henry IV Parts 1. TV Show The Hollow Crown season 1,2,3 complete seasons with full episodes available for free download, no torrents and pop Ads, only direct download links. Oct 17, 2012 - I finally found links to download The Hollow Crown in High Quality via torrent The Hollow Crown: Henry IV Part I Henry IV Part. TD Sign UP is open. So you better hurry up;) ENJOYYY!!!! (^_~) To Avoid Fakes, ALWAYS Check That The Torrent Was Added By:. The Hollow Crown 2012 (tt2262456) The Hollow Crown brings together four filmed adaptations of. Download The Hollow Crown TV Show Torrents. The hollow crown download torrent.
Build & test
- build without test :
Speedtest Socket Download Error
- build with test :
- run specific test
External libraries
License
Test Socket Manufacturer
The MIT License (MIT) Copyright (c) 2016-2018 Bertrand Martel