Run Grid Proxy over HTTPS

Grid Proxy enables you to run Selenium functional tests in BlazeMeter without using a local server. You can run Grid Proxy over the HTTPS protocol using either of the following methods:

  • blazemeter.bzmGridProxyScheme: The default value is 'http'. To run over HTTPS, set this value to 'https'.
  • blazemeter.bzmGridProxyDomain: This method specifies the domain on which the proxy server is running. If blazemeter.bzmGridProxyScheme is set to 'https', you must provide the domain. If not provided, the proxy server will not start and will fail with a relevant error message.

Prerequisites

  • Selenium scripts include both the blazemeter.bzmGridProxyScheme and blazemeter.bzmGridProxyDomain methods.
  • SSL Certificates: Users must provide their own custom SSL certificate and key. BlazeMeter does not provide any default certificates.
  • Domain: Users must generate and provide a domain for Grid Proxy. BlazeMeter does not provide a default domain.

Example Configuration

Copy
bzm_options = {
    "blazemeter.reportName": REPORT_NAME,
    "blazemeter.apiKey": API_KEY,
    "blazemeter.apiSecret": API_SECRET,
    "blazemeter.buildId": BUILD_ID,
    "blazemeter.locationId": HARBOR_ID,
    "blazemeter.projectId": PROJECT_ID,
    "blazemeter.videoEnabled": "True",
    "blazemeter.sessionName": SESSION_NAME,
    "blazemeter.bzmGridProxyScheme": 'https',
    "blazemeter.bzmGridProxyDomain": "example.com",
}

You can run Grid Proxy over HTTPS in Docker and Kubernetes private locations. For more information, see Configure a Docker Installation to Use CA Bundle for Grid Proxy and Configure a ConfigMap for Grid Proxy.