Skip to content

Commit

Permalink
Jmeter action javítása
Browse files Browse the repository at this point in the history
  • Loading branch information
HurtonBBJ committed May 20, 2024
1 parent a119fdb commit 1e12b28
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/jmeter.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
name: JMeter Tests

on:
push:
branches:
- main
pull_request:
branches:
- main
on: [push, pull_request]

jobs:
jmeter-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'

- name: Install JMeter
run: sudo apt-get update && sudo apt-get install -y jmeter
Expand All @@ -23,8 +22,21 @@ jobs:
run: |
jmeter -n -t non-functional-test/terheleses_teszt.jmx -l non-functional-test/Eredmenyek/results.jtl
- name: Check JMeter results
run: |
cat non-functional-test/Eredmenyek/results.jtl
- name: Generate JMeter HTML report
run: jmeter -g results/results.jtl -o results/report

- name: Upload JMeter results
uses: actions/upload-artifact@v4
with:
name: jmeter-results
path: non-functional-test/Eredmenyek/results.jtl

- name: Upload JMeter HTML report
uses: actions/upload-artifact@v4
with:
name: jmeter-html-report
path: results/report

0 comments on commit 1e12b28

Please sign in to comment.