When developing web services and applications, it is a common practice to implement the interim work-in-progress versions of these services in local environments. Usually, such environments are somehow restricted from the global network to prevent unwanted external access from outside the organization.
To try out how LoadNinja runs tests on web resources in the local network, use the private endpoint, a lightweight desktop application. With this endpoint, LoadNinja virtual users can access services and applications in your company’s intranet.
For Windows and Linux: An SSE2-capable Intel Pentium 4 processor or higher.
160 MB of free disk space.
Log in to LoadNinja.
Go to > Settings > Endpoint.
Download the installation package for your operating system:
Locate the application on your device and run it.
In the subsequent authentication dialog, enter the email address and password of your LoadNinja account.
If everything is OK, the application will show
You can then minimize the application and leave it running in the background.
Depending on your operating system, you may have to permit the application to access the Internet.
To command the LoadNinja endpoint service to connect to the Internet via another proxy, select Connect using proxy on the application’s main screen, then specify the connection data — the address, port, username, and password.
Go to > Settings > Endpoint.
Check the Endpoint Status panel there — it should show the
Endpoint is ON message.
Click Create Test on the LoadNinja toolbar.
In the subsequent dialog, select Internal/Private.
Check if the endpoint is enabled, that is, Endpoint Status is set to
If this is not the case, make sure you have downloaded and configured the LoadNinja endpoint properly.
|Tip:||You can download the endpoint software using one of the buttons in this dialog.|
After that, start recording a script as usual.
In LoadNinja, go to the scenario creation form.
Add a script you have recorded against the local service.
Add up to 15 virtual users.
Specify the remaining settings as needed.
Launch the test as usual.
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 service with an external IP address to allow virtual users to interact with your service, 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. This will allow you to to whitelist dedicated IPs without having 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.