DEV Community

loading...
Cover image for PerfAction - Run JMeter Performance Tests

PerfAction - Run JMeter Performance Tests

NaveenKumar Namachivayam ⚡
Performance Engineer. I break stuffs 🔨. I know nothing.
・1 min read

My Workflow

PerfAction helps to automate performance testing using Apache JMeter and its plugins.

Submission Category:

Wacky Wildcards

Yaml File or Link to Code

GitHub logo QAInsights / PerfAction

GitHub Action to run performance tests using Apache JMeter and its plugins.

About PerfAction

saythanks

This GitHub Action helps to automate performance testing using Apache JMeter and its plugins.

PerfAction for JMeter

How to use this GitHub Action?

Prerequisites

Following are the prerequisites for this GitHub Action:

  • test-plan-path
    • Mandatory
    • JMeter test plan and its dependencies such as test data, plugins etc
  • args
    • Optional
    • Additional arguments you can pass it to your test plan execution

Usage

Example #1 with no arguments

- name: JMeter Test
  uses: QAInsights/PerfAction@v1.0
  with:
    test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx
    args: ""

Example #2 with arguments

- name: JMeter Test
  uses: QAInsights/PerfAction@v1.0
  with:
    test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx
    args: "-H my.proxy.server -P 8000"

Download JMeter Test Results

By default, this GitHub Action will log the performance statistics under result.jtl. After the execution, it will be uploaded to the GitHub artifacts.

To download the JMeter results, go to your Actions and then click on the executed workflow, then click on jmeter-results link which will download the zip file.

Download-JMeter-Results




Additional Resources / Info

None

Discussion (0)

Forem Open with the Forem app