Private Locations

'Private Location' should be used when you need to test applications behind a firewall. Please refer to this article for a better understanding of the On premise vs Cloud architecture.

Please Note: 

On Premise Load generators are not included in all plans.  Please contact BlazeMeter for details on adding this feature to your account.

With this service, you don't need to make incoming requests. All you need to do is install our Load generator on your on-premise servers. This agent will give your servers a "heartbeat" - by sending outgoing requests to BlazeMeter to check if any tests have been started. If they have, BlazeMeter will respond with instructions for these servers.

Your Load generators will then traffic to your application, while sending data back to BlazeMeter so you have full access to our real-time reporting.

Here are some terms that you'll need to know:

  • Harbor - This is your On-Premise environment.
  • Ship - Any server you install our agent on is a Ship within the Harbor. These are your load servers.

How to Create an On-Premise Environment (Harbor)?

Click here for a step-by-step guide

How to Install Your On-Premise Load Servers (Ships)?

Click here for a step-by-step guide.

How to Use the Harbor and Ships?

Log into your BlazeMeter account and click on the drop down menu in the top right corner of the screen, then select the relevant Workspace, and click on 'Settings'.Then click on 'Workspaces' => 'Private Locations'.You should see a list of all your ''Harbors' - these are your Private Locations. Click on on of one of them and you will see its details and a list of its 'Ships' which are the on-premise servers that have our agent installed on them.
For each 'ship', you can take one of three actions: Edit, Disable and Delete.

  • Edit - Use this to change the Ship's name or IP address.
  • Disable - Use this to disable the ability to run tests on a specific 'ship'. For example: you may want to do this if you have an unstable server that you'd rather not use.
  • Delete - Use this to remove a specific 'Ship' from your Harbor.

Every 'Ship' has a status indicator:
 - It looks good and is ready to be used.
 - A test is currently using this ship as a load engine.
 - The agent is not sending a heartbeat and there's probably something wrong with the server.

How to Run On-Premise Tests?

Once your Harbor and Ship/s are installed, running your 'On-Premise' test couldn't be easier!

Here's how:
1. Create a new test or go to an existing test saved in your BlazeMeter Workspace.
2. In the test configuration page you will find your private location under 'Private Locations'.
3. Once the test is running, you'll be able to see the Ship/s that are currently running the test and information about this session in your Harbor section.

Configure Your Ships To Use a Corporate Proxy

If you want to configure your ships to connect to BlazeMeter via a Proxy Server on your internal corporate network, here's what you should do:

  • The following should be added to /etc/environment (or any other mechanism for setting system wide environment variables  e.g - with HTTP/s prefix):
  • Go to each of your Ships (On-Premise servers) and use the text editor to edit this file: /etc/blazemeter/config.json
  • Set the PROXY_SERVER and HTTPS_PROXY_SERVER  to your proxy's URL, along with the port (e.g - No need for HTTP/s prefix):
      "SHIP_ID": "553e3b2e5ad5306410c0dbce", 
      "A_ENVIRONMENT": "", 
      "AUTH_TOKEN": "<YourAuthToken>", 
      "HARBOR_ID": "553e2e68e9e576202bd3a0a9",
    "PROXY_SERVER": "<Proxy'S URL and port here>", 
    "HTTPS_PROXY_SERVER": "<Proxy's URL and port here>" }
  • Restart the supervisor service to run the BlazeMeter Agent as daemon
    • If Ubuntu:
    • service supervisor stop
      service supervisor start
    • If CentOS or RHEL:
    • service supervisord stop
      service supervisord start


Want to learn more about running on-premise load tests? Watch our on-demand recording, How to Make JMeter Highly Scalable and More Collaborative With BlazeMeter

Have more questions? Submit a request


Article is closed for comments.