-
Notifications
You must be signed in to change notification settings - Fork 22
/
action.yaml
74 lines (70 loc) · 2.02 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
name: Apache JMeter
description: Runs an Apache JMeter test case
author: Ravindra Bhadti <[email protected]>
inputs:
testFilePath:
description: The path to the JMX test file
required: true
outputReportsFolder:
description: The folder where the JMeter reports will be published
required: false
default: reports/
plugins:
description: List of jmeter plugins to install
required: false
dependencyFolder:
description: Folder that contains custom jmeter plugins or dependencies
required: false
args:
required: false
description: |
Optional arguments that are passed to the JMeter tool
Options:
-p, --propfile <argument>
-q, --addprop <argument>
-i, --jmeterlogconf <argument>
-j, --jmeterlogfile <argument>
-s, --server
-E, --proxyScheme <argument>
-H, --proxyHost <argument>
-P, --proxyPort <argument>
-N, --nonProxyHosts<argument>
-u, --username <argument>
-a, --password <argument>
-J, --jmeterproperty <argument>=<value>
-G, --globalproperty <argument>=<value>
-D, --systemproperty <argument>=<value>
-S, --systemPropertyFile <argument>
-f, --forceDeleteResultFile
-L, --loglevel <argument>=<value>
-r, --runremote
-R, --remotestart <argument>
-d, --homedir <argument>
-X, --remoteexit
-g, --reportonly <argument>
# Run JMeter in headless mode.
## Produce reports in the specified folders.
## Can provide additional arguments via inputs.args
runs:
using: 'docker'
image: 'Dockerfile'
post-entrypoint: '/cleanup.sh'
env:
PLUGINS: ${{ inputs.plugins }}
DEPENDENCY_FOLDER: ${{ inputs.dependencyFolder }}
REPORT_FOLDER: ${{ inputs.outputReportsFolder }}
args:
- "-n"
- "-t"
- "${{ inputs.testFilePath }}"
- "-l"
- "jmeter_log.log"
- "-e"
- "-f"
- "-o"
- "${{ inputs.outputReportsFolder }}"
- "${{ inputs.args }}"
branding:
color: gray-dark
icon: arrow-up