Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
feather

GitHub Action

PerfAction for JMeter

v1.1

PerfAction for JMeter

feather

PerfAction for JMeter

Run performance tests using JMeter test plan

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PerfAction for JMeter

uses: QAInsights/[email protected]

Learn more about this action in QAInsights/PerfAction

Choose a version

About PerfAction

contributions welcome saythanks

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

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/[email protected]
  with:
    test-plan-path: ./TestPlans/T01_HomePageLoad.jmx
    args: ""

Example #2 with arguments

- name: JMeter Test
  uses: QAInsights/[email protected]
  with:
    test-plan-path: ./TestPlans/T01_HomePageLoad.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.