-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 1015 Bytes
/
jmeter.yml
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
name: JMeter Tests
on: [push, pull_request]
jobs:
jmeter-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 22
uses: actions/setup-java@v3
with:
java-version: 22
distribution: 'zulu' # Alternative distribution options are available.
- name: Install JMeter
run: sudo apt-get update && sudo apt-get install -y jmeter
- name: Configure JMeter
run: |
echo "xstream.whitelist=com.thoughtworks.xstream.security.NoTypePermission,org.apache.jmeter.save.ScriptWrapper" | sudo tee -a /usr/share/jmeter/bin/jmeter.properties
- name: Run JMeter tests
run: |
jmeter -n -t non-functional-test/terheleses_teszt.jmx -l non-functional-test/Eredmenyek/results.jtl
- name: Upload JMeter results
uses: actions/upload-artifact@v4
with:
name: jmeter-results
path: non-functional-test/Eredmenyek/results.jtl