-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from amardeep2006/feat/upgrades-linux-jmeter-a…
…ctions feat(upgrades): Jmeter,Linux,newplugins,html reports
- Loading branch information
Showing
5 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,19 +23,21 @@ Following are the prerequisites for this GitHub Action: | |
* `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@v3.1 | ||
uses: QAInsights/PerfAction@v3.2 | ||
with: | ||
test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx | ||
args: "" | ||
- name: Upload Results | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: jmeter-results | ||
path: result.jtl | ||
|
@@ -45,7 +47,7 @@ Following are the prerequisites for this GitHub Action: | |
|
||
``` | ||
- name: JMeter Test | ||
uses: QAInsights/PerfAction@v3.1 | ||
uses: QAInsights/PerfAction@v3.2 | ||
with: | ||
test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx | ||
args: "-H my.proxy.server -P 8000" | ||
|
@@ -56,6 +58,33 @@ Following are the prerequisites for this GitHub Action: | |
name: jmeter-results | ||
path: result.jtl | ||
``` | ||
### Example #3 with arguments to Generate HTML Reports | ||
|
||
make sure you create directory with the name where you want html report to be saved. | ||
|
||
``` | ||
- name: Create reports directory | ||
run: mkdir reports | ||
- name: JMeter Test | ||
uses: QAInsights/[email protected] | ||
with: | ||
test-plan-path: ./TestPlans/S01_SimpleExample/S01_SimpleExample.jmx | ||
args: "-e -o ./reports/html/" | ||
- name: Upload Results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: jmeter-results | ||
path: result.jtl | ||
- name: Upload HTML Reports | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: jmeter-html-reports | ||
path: reports | ||
``` | ||
|
||
## Download JMeter Test Results | ||
|
||
|
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
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