When developing web applications, it is a common practice to implement their interim work-in-progress versions in local environments. Usually, these environments are restricted from the global Web to prevent unwanted external access from outside the organization.
To test these applications, LoadNinja needs a tunnel – a private connection between the LoadNinja engine and the tested web app. You can set it up with a lightweight desktop utility available in your LoadNinja settings (see below).
Log in to LoadNinja, and go to > Settings > Tunnel.
Download the installation package to your computer. LoadNinja offers the utility versions for popular operating systems:
The utility is lightweight and can work on almost any computer (even on relatively “weak” one). You can find system requirements below.
Unpack files from the downloaded page to some folder on your hard drive. Run the LoadNinja Tunnel executable.
Depending on security settings active on your computer, the operating system can ask your approval to run the utility. Allow the run.
Once the utility starts, enter the email address and password of your LoadNinja account, and click Connect:
Once the tunnel has been set up, you will see
You can then minimize the utility and leave it running in the background.
Proxies and firewalls running in your network should allow the tunnel utility to connect to the Web.
Also, depending on the security settings of your operating system, you may need to permit the utility to access the Internet.
To command the utility to connect to the Web via another proxy, select Connect using proxy on the utility’s main screen, then specify the connection settings: the IP address or hostname, port, user name, and password.
For Windows and Linux: An SSE2-capable Intel Pentium 4 processor or higher.
160 MB of free disk space.
To check whether the tunnel is on or off:
Open the minimized LoadNinja Tunnel utility (if you have started it) and see it shows Connected.
– or –
Log in to LoadNinja, go to > Settings > Tunnel and check the Status label:
Start the tunnel utility, sign in with your LoadNinja account and wait until the tunnel is up and running:
If you have not set up and configured the utility, do this as it is described above.
Select Create Test > UI Test on the LoadNinja toolbar.
In the subsequent dialog, enter the URL of your local website and select the This website is not publicly available check box:
Click Start Recording.
LoadNinja will check if the tunnel is set up and running:
Record a UI test as usual. Work with the pages as a regular user would normally do this: click links, input texts, scroll the pages, and so on. See also 2. Record UI Test.
In LoadNinja, go to the scenario creation form.
Add a UI test you have recorded against your local web app.
Add up to 15 virtual users.
Specify the remaining settings as needed.
Launch the test as usual.
If you use the tunnel, you cannot specify server locations. In this case, LoadNinja uses the default location: US East (N. Virginia).
To perform load testing of local applications with more than 15 virtual users involved:
Go to the scenario creation form.
On the Load Configuration panel, select the Display load generator IPs before starting the test check box.
After that, launch the test as you normally would.
You will see the IP addresses of all the load generating instances before the test run starts. Modify your firewall rules and supply the tested web application with an external IP address to allow virtual users to interact with your app, or contact your network administrator for assistance.
To make testing of your local applications even more convenient, consider purchasing a dedicated IP for the load generator. You can then configure your proxy settings to allow traffic from this dedicated IP to your network, so you will not need to check the load generator IPs every time you launch a load test.
To learn more, send an email to email@example.com or call us at +1 617-684-1747.
To be able to record and run load tests, allow traffic from the IPs specified on the Settings > Dedicated IP tab.