As you probably know by now, WiseLoop JavaScript Network Speed Tester is an AngularJS module designed to offer an broadband bandwidth check against your internet server.
Along with the directive that presents the network speed results in within a nice customized user interface, the module offers a service that is able to provide raw network speed data measurements also.
The service can be used to build other directives or it can be used to make a standalone application that presents the broadband test results in own UI or use them in any other scenarios.
Bottom line is that the service will offer raw measurement data on demand without any UI, leaving the developer the freedom of choice to decide what to do with the data.
In this tutorials, we will build three simple JavaScript AngularJS applications that will measure ping time, download speed and upload speed. To keep the things as simple as possible, the data will be displayed inside a classical alert box without any other UI or DOM elements. In the end, we will build also another demo application that will have some basic UI that will use the whole test suite.
The following file structure is assumed to exists on the server as this is the default structure that the package comes with.
The file we are editing is /sample/index.html
Below there are three apps:
WiseLoop JavaScript Network Speed Tester is an AngularJS module designed to offer a network bandwidth check against your internet server. Many server types are supported such as Apache HTTP, IIS, Node.js, nginx, Tomcat, Oracle HTTP, jetty and based on the download speed, it can also offer an estimation of internet cost that the user should pay for.