Skip to content

Docker Image to run Jmeter on Google Cloud Build

Notifications You must be signed in to change notification settings

steinbrueckri/gcbjmeter

Repository files navigation

JMeter Container builder

This builder can be used to execute Apache JMeter tests

Building this builder

Run command below to build this builder

gcloud builds submit . --config=cloudbuild.yaml

To execute a Apache JMeter tests

Create a cloud builder yaml file, see example below

steps:
  - name: 'steinbrueckri/jmeter:latest'
    args:
    - '-n'
    - '-t'
    - 'sample.jmx'

In the example above sample.jmx file refers to Apache JMeter test plan. To execute the tests simply run command below. Note be sure to specify the yaml file name created in previous step

gcloud builds submit . --config={yaml}