Skip to content

Commit fc4ccec

Browse files
author
Samir Akarioh
committed
add Gatling-Entreprise plugin
This PR permit for Harness user to launch load test using Gatling entreprise
1 parent d968084 commit fc4ccec

File tree

2 files changed

+111
-0
lines changed

2 files changed

+111
-0
lines changed

plugins/gatling/content.yaml

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
title: Gatling
2+
author: gatling
3+
tags:
4+
- gatling
5+
- load testing
6+
- performance testing
7+
logo: gatling.png
8+
repo: https://github.com/gatling/enterprise-action
9+
image: https://hub.docker.com/r/gatlingcorp/enterprise-runner
10+
license: Apache License 2.0
11+
readme: https://github.com/gatling/enterprise-action/blob/main/README.md
12+
description: >-
13+
Plugin to run load test using Gatling Enterprise tests from Harness.
14+
example: |
15+
kind: pipeline
16+
type: docker
17+
name: default
18+
19+
steps:
20+
- name: Run load tests
21+
image: gatlingcorp/enterprise-runner
22+
settings:
23+
SIMULATION_ID: '00000000-0000-0000-0000-000000000000'
24+
GATLING_ENTERPRISE_API_TOKEN: 'my-api-token'
25+
archs:
26+
- amd64
27+
28+
properties:
29+
GATLING_ENTERPRISE_API_TOKEN:
30+
type: string
31+
defaultValue: ""
32+
description: The API token used to authenticate with Gatling Enterprise
33+
secret: true
34+
required: true
35+
36+
SIMULATION_ID:
37+
type: string
38+
defaultValue: ""
39+
description: The ID of the simulation as configured on Gatling Enterprise
40+
secret: false
41+
required: true
42+
43+
EXTRA_SYSTEM_PROPERTIES:
44+
type: string
45+
defaultValue: "{}"
46+
description: Additional Java system properties, will be merged with the simulation’s configured system properties. Must be formatted as a JSON object containing the desired key/value pairs. Values can be strings, numbers or booleans
47+
secret: false
48+
required: false
49+
50+
EXTRA_ENVIRONMENT_VARIABLES:
51+
type: string
52+
defaultValue: "{}"
53+
description: Additional environment variables, will be merged with the simulation’s configured environment variables. Must be formatted as a JSON object containing the desired key/value pairs. Values can be strings, numbers or booleans
54+
secret: false
55+
required: false
56+
57+
OVERRIDE_LOAD_GENERATORS:
58+
type: string
59+
defaultValue: "{}"
60+
description: Overrides the simulation’s load generators configuration. Must be formatted as a JSON object. Keys are the load generator IDs, which can be retrieved from the public API (using the /pools route). Weights are optional
61+
secret: false
62+
required: false
63+
64+
FAIL_ACTION_ON_RUN_FAILURE:
65+
type: boolean
66+
defaultValue: true
67+
description: If true, the Action will fail if the simulation run ends in an error (including failed assertions). if set to false and the simulation ends in an error, some of the outputs may be missing (e.g. there will be no assertion results if the simulation crashed before the end)
68+
secret: false
69+
required: false
70+
71+
WAIT_FOR_RUN_END:
72+
type: boolean
73+
defaultValue: true
74+
description: If true, the runner will wait for the end of te simulation run on Gatling Enterprise before terminating. if set to false, some of the outputs may be missing (there will be no status nor assertion results)
75+
secret: false
76+
required: false
77+
78+
OUTPUT_DOT_ENV_FILE_PATH:
79+
type: string
80+
defaultValue: "gatlingEnterprise.env"
81+
description: path to a dotenv file where output values will be written
82+
secret: false
83+
required: false
84+
85+
RUN_SUMMARY_ENABLED:
86+
type: boolean
87+
defaultValue: true
88+
description: Assuming wait_for_run_end is also true, will regularly log a summary of the ongoing run to the console until it finishes
89+
secret: false
90+
required: false
91+
92+
RUN_SUMMARY_INITIAL_REFRESH_INTERVAL:
93+
type: number
94+
defaultValue: 5
95+
description: Initial interval before displaying a new summary of the ongoing run in the console, in seconds. Should be a multiple of 5 (otherwise it will be rounded up). Only used a limited number of times (set by run_summary_initial_refresh_count) before switching to the interval set by run_summary_refresh_interval
96+
secret: false
97+
required: false
98+
99+
RUN_SUMMARY_INITIAL_REFRESH_COUNT:
100+
type: number
101+
defaultValue: 12
102+
description: Number of times to use run_summary_initial_refresh_interval as the interval before displaying a new summary of the ongoing run in the console. After that, run_summary_refresh_interval will be used. This allows to avoid spamming the log output once the test run is well underway
103+
secret: false
104+
required: false
105+
106+
RUN_SUMMARY_REFRESH_INTERVAL:
107+
type: number
108+
defaultValue: 60
109+
description: Interval before displaying a new summary of the ongoing run in the console, in seconds. Should be a multiple of 5 (otherwise it will be rounded up)
110+
secret: false
111+
required: false

public/logos/gatling.png

5.02 KB
Loading

0 commit comments

Comments
 (0)