WiseLoop JavaScript Bandwidth Tester is a highly customizable jQuery plugin and so, it can be invoked using may argument options:
settings
Installation Directory
- BinPath: specifies the path where the plugin binaries are located; this has to be set if you intend to call the plugin from a different directory.
Type: string, Default: '.'
Tests To Be Performed
- TestPing: specifies if the pinging time test should be performed
Type: bool, Default: true - TestDownload: specifies if the download test should be performed
Type: bool, Default: true - TestUpload: specifies if the upload test should be performed
Type: bool, Default: true
Server Configuration
- ServerPost: specifies a different server data receiver file; this has to be set if the server type does not support '.post' mime file extension (see tutorial section Adapting to a specific server type)
Type: string, Default: 'server.post' - Payload: the payload filename that will be downloaded when performing the download test
Type: string, Default: 'payload.bin' - UploadSize: the data size that will be sent to server when performing the upload test
Type: int, Default: 1048576 (1MB)
Graphical User Interface
- Theme: the UI theme; when setting up a theme just point to a css file located under the css subdirectory of the bins directory; .css extension must be omitted
Type: string, Default: 'default' - AnimationDuration: animation duration expressed in milliseconds
Type: int, Default: '400' - ShowComparison: specifies if a comparison chart will be shown; the comparison chart is a set of common network type speeds
Type: bool, Default: true - ShowCost: specifies if the reference internet costs will be shown (TestDownload should be also true);
Type: bool, Default: true
Speed and other Measure Units
- SpeedMU: speed measure unit; must be one of those: 'bps', 'Bps', 'Kbps', 'KBps', 'Mbps', 'MBps', 'Gbps', 'GBps'
Type: string, Default: 'Kb' - PingMU: ping time measure unit; you can set this to anything (ex. 's', 'sec', 'seconds' etc.)
Type: string, Default: 'seconds' - Currency: currency used to express the reference internet cost (ex. '$', 'Euro' etc.)
Type: string, Default: '$' - BillingPeriod: the time interval which the internet provider sends two invoices (ex. 'month', 'semester', 'year' etc.)
Type: string, Default: 'month'
Localization
- TitleYou: you label caption text
Type: string, Default: 'You' - TitleTime: time label caption text
Type: string, Default: 'Time' - TitlePing: ping results title caption text
Type: string, Default: 'Ping' - TitleDownload: download results title caption text
Type: string, Default: 'Download Speed' - TitleUpload: upload results title caption text
Type: string, Default: 'Upload Speed' - TitleCost: internet cost title caption text
Type: string, Default: 'Internet Costs' - TextUnitCost: internet cost caption text for the unit price section
Type: string, Default: 'Unit Price' - TextCost: internet cost caption text for the total amount section
Type: string, Default: 'Total Amount'
Constants
- CostPerDownloadByte: the reference internet cost will be calculated using this constant by multiplying it with the measured download speed expressed in bytes/second; this value represents the amount that the user should pay per a single byte download bandwidth
Type: float, Default: 0.000019073486328125