Nem funkcionális tesztek #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |