DEV Community

Cover image for PerfAction - Run JMeter Performance Tests
NaveenKumar Namachivayam ⚑
NaveenKumar Namachivayam ⚑

Posted on

4 2

PerfAction - Run JMeter Performance Tests

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.

πŸš€ PerfAction

saythanks

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

PerfAction also featured in LoadTestWorld 2021 conference.

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
  • test-results
    • Optional
    • If you want your result to have a different extension than jtl such as .csv default value result.jtl.

πŸ‘‡ Usage

Example #1 with no arguments

- name: JMeter Test
  uses: QAInsights/PerfAction@v5.6.2
  with:
    test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx
    args: ""
- name: Upload Results
  uses: actions/upload-artifact@v3
  with:
    name: jmeter-results
    path: result.jtl
    if-no-files-found: error
Enter fullscreen mode Exit fullscreen mode

Example #2 with arguments

- name: JMeter Test
  uses: QAInsights/PerfAction@v5.6.2
  with
    test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx
    args: 
…
Enter fullscreen mode Exit fullscreen mode

Additional Resources / Info

None

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay