Dedicated IP addresses

This topic describes how to obtain and view dedicated IP addresses for cloud-based load generators, or for LRC (LoadRunner Cloud) runtime components when using on-premises load generators or other LRC agents that are behind a firewall.

Use cases

Dedicated IP addresses are required for the following use cases:

Note: Dedicated IPs may incur an additional cost. For details, contact your account manager or sales representative.

Back to top

Dedicated IPs for CLGs - AUT behind a firewall

If your AUT is behind a firewall, you can add the dedicated IP addresses of the CLGs (cloud load generators) to your firewall, in order to allow LoadRunner Cloud to access the AUT. Micro Focus can provide the dedicated IPs that you need to add to the firewall as described below.

Expand the graphic to see how dedicated IP addresses enable could-based load generators to communicate with an AUT behind a firewall.

You can allow IP addresses for LoadRunner Cloud cloud-based load generators on your firewall, through one of the following methods:

Obtain dedicated IPs from Micro Focus

Micro Focus can dedicate IP addresses for you in the supported cloud locations. To determine the required number of IP addresses to be dedicated, you submit a request that includes the information described in step 1 below.

The number of IP addresses required for each region depends on your testing requirements. It is primarily dependent on the maximum number of Vusers configured to run on a single cloud load generator per protocol.

To help the Operations team determine the number of IPs that need to be dedicated, it is highly recommended to include the following information your request:

  1. Define the parameters of your test:

    Parameter Description
    Vusers type Type of Vusers (API, UI).
    Vuser number The maximum number of Vusers for the test.
    Distribution The regions to which you want to distribute Vusers.

    Example Request:

    Expiry Date (optional) Location Vusers Vuser Type
    April 17 Virginia 500 UI
    April 17 Virginia 1000 API
    April 17 The Netherlands 6000 API
    April 17 Singapore 2000 API
    • You can request an expiry date for the dedicated IPs, or request that they be dedicated for the duration of your contract.

    • In your support ticket, be sure to state that whether these IP addresses are required to enable communication between LRC on-premises load generators or agents with LRC runtime control components.

    • You can also submit a request for the specific number of IP addresses that you want Micro Focus to allocate for your tenant in specific regions. We recommend that you only do this if you are sure of the amount of IPs you need in each region. We strongly recommended that in any case, you provide the information about your test requirements so that we can verify that the appropriate amount of IP addresses are allocated in the requested regions. For details, see Vuser distribution locations.

    • If you plan to generate client side breakdown data, request an additional IP address. This IP address should be in the same region in which the majority of Vusers for the test are run.

  2. Open a support ticket (select New Ticket > Tenant Management > Assign and/or release Dedicated IP addresses):

    1. Send your request for dedicated cloud-based load generator IP addresses at least one week before the planned test run.

    2. In the request, include the test parameters you defined above.

    After the cloud-based load generator IP addresses are assigned to your account, support updates the ticket with these addresses.

  3. Use the dedicated cloud-based load generators in your load tests.

    After dedicated IP addresses have been assigned to your tenant, by default LoadRunner Cloud only uses the cloud-based load generators on the dedicated IPs. If you want to use non-dedicated cloud-based load generators for a specific test, you must disable Dedicated IPs for that test. To do this, navigate to the load test's General settings tab and select Do not use dedicated IPs for load generators on the cloud. For details, see Load generators settings.

    Note:  

    • The option in the General setting is only available if dedicated IPs have been assigned to your tenant.
    • When you disable the Do not use dedicated IPs option, it is only disabled for that current test.

Obtain IP ranges per region from the cloud provider

Another way to allow IPs of CLGs on your firewall, is to obtain ranges of IPs for the respective regions from the cloud provider, such as AWS, Azure, or GCP. Through the cloud provider, you get a range of IP addresses for the regions you are using in your load test distribution. You can then allow entire ranges of IP addresses on your firewall. This allows incoming data from any IP address in that range to pass through your firewall. With this method, you are not using the IP addresses which were dedicated by Micro Focus for your account, but rather public IP addresses provided by the cloud provider.

Caution: This method is less secure than obtaining specific dedicated IP addresses from Micro Focus, as you are opening your firewall to a much larger number of public IP addresses, many of which are not used in your load test.

Obtain elastic IPs from Micro Focus

An additional option is to use obtain elastic IPs for cloud load generators, that are dynamically provisioned by LoadRunner Cloud for load tests. Using this method, you apply a delayed start to your test, allowing you to obtain and allow elastic IPs for cloud-based load generators in your firewall.

To use the elastic IPs:

  1. Create a load test with a delayed start. In the Load Tests > Scripts section of your test definition, Define the Start time of all your scripts to give you enough time to add the IP addresses to your firewall.
  2. Get the elastic LG IPs:

    1. Open the Dashboard or Report pane.
    2. Select the vertical ellipsis and choose Export/Download > LG IPs.
  3. Manually allow these IPs in your firewall.
  4. Let the load test begin.

Back to top

Dedicated IPs for LRC RTC - OPLGs behind a firewall

This section describes how to use dedicated IPs for LoadRunner Cloud runtime control components, for on-premises load generators and LRC agents behind a firewall.

On-premises load generators or other LoadRunner Cloud agents behind a firewall, or a proxy that requires SSL validation, must be able to communicate with the LRC application (https://loadrunner-cloud.saas.microfocus.com) and the LRC runtime control components in the cloud. LRC uses self-signed certificates and two-way TLS for communicating with the LRC runtime control components, which is made over https through port 443.

Expand the graphic to see a typical setup of OPLGs behind a firewall.

Enable access to the LoadRunner Cloud application

LoadRunner Cloud on-premises load generators and other LoadRunner Cloud agents communicate with the LRC application https://loadrunner-cloud.saas.microfocus.com (or https://stormrunner-load.saas.microfocus.com) on a regular basis. You can check the connection to the LRC application from the machine on which the on-premises load generator or agent is installed, using one of the following methods:

  • Run curl https://loadrunner-cloud.saas.microfocus.com

  • In a browser, navigate to https://loadrunner-cloud.saas.microfocus.com

If the communication check is unsuccessful, you may need to add the LRC application URL, https://loadrunner-cloud.saas.microfocus.com, to the allowed URLs.

Enable access to the LoadRunner Cloud runtime control components

LoadRunner Cloud dynamically provisions an IP address for each concurrent test that you want to run. By default, the IP addresses for LRC runtime control components are allocated from the cloud provider's public IP range.

LoadRunner Cloud hosts an LRC runtime component host with the domain name oplg-test.loadrunner-cloud.com which is always available, enabling you to perform a communication test from an on-premises load generator or agent host. To perform such a test, from the on-premises load generator configuration tool, click Save & Test. For details on the on-premises load generator configuration tool, see On-premises load generator configuration tool.

If the communication test is unsuccessful, you may need to open outbound communications to the LRC control components using dedicated IP addresses provided by Micro Focus for LoadRunner Cloud runtime control components.

If the Save & Test operation succeeds, an actual test run may fail due to firewall constraints. In this case, you may need to use dedicated IP addresses and allow these IPs on your firewall.

To request dedicated IP addresses, open a support ticket, specifying the number of requested IP addresses and the number of concurrent tests you want to run. Each test requires a dedicated IP for each run time component. If you intend to run three concurrent tests, you should request three dedicated IPs for the runtime control components.

Once dedicated IPs are allocated for runtime control components, you have the option of using a dedicated sub-domain of LRC runtime control components, specifically for your tenant. This enables you to open your firewall or proxy to any control component address included in the dedicated sub-domain, eliminating the need to configure and maintain specific IP addresses.

The sub-domain format is *.t-<your tenantId>.loadrunner-cloud.com. Below is an example of a typical control component address:

ip-52-86-68-134.t-123454321.loadrunner-cloud.com.

To enable this option for your tenant, open a support ticket.

Note: You can only use this option with on-premises load generators version 3.7 or later.

Back to top

View the dedicated IP addresses

You can view a list of IPs that were dedicated for your cloud-based load generator or LoadRunner Cloud control components.

To view the list of dedicated IPs:

  1. In the right corner of the LoadRunner Cloud window, expand the user dropdown and select Dedicated IPs. If your IPs are due to expire soon, there will be an indication in the menu adjacent to Dedicated IPs.
  2. Click the Cloud LGs or Control Components tab and expand the regions to see the dedicated IP addresses.

  3. To save a list of the dedicated IPs, click Export to CSV.

Back to top

Troubleshooting

  • When your test is configured to use dedicated IPs for cloud-based load generators, if there are not enough dedicated IPs to support the test configuration, the test fails. You receive an error that indicates the number of dedicated IPs needed to run the test in each configured region, and the number of available dedicated IPs available in each of those regions.

  • You can use a maximum of 300 dedicated IP addresses for a single cloud-based load test.

Back to top

See also: