Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running multiple JMeter scripts in GitHUB Actions #21

Closed
sebiboga opened this issue Dec 4, 2021 · 11 comments
Closed

running multiple JMeter scripts in GitHUB Actions #21

sebiboga opened this issue Dec 4, 2021 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@sebiboga
Copy link

sebiboga commented Dec 4, 2021

Using this action we can run one jmx file

  1. Can you please enhance it to be able to add multiple files?
  2. Can you please enhance it to be able to run all jmx files from a specific folder (from the repository)
@rbhadti94
Copy link
Owner

Hi @sebiboga , can you paste the jmeter command that would allow this. To my knowledge, the jmeter CLI tool only takes in a single JMX file.

@sebiboga
Copy link
Author

yeah. I already posted on dev.to how to run multiple jmx files with Github Actions.
The secret is to use a for in linux so you pass to jmeter -n -t all files one by one...

See my post in dev.to ... (not using docker...)

@sebiboga
Copy link
Author

@rbhadti94 rbhadti94 added the enhancement New feature or request label Dec 16, 2021
@rbhadti94 rbhadti94 self-assigned this Dec 16, 2021
@rbhadti94
Copy link
Owner

Thanks @sebiboga - Will have something in place soon. Think I found a way to do this.

rbhadti94 added a commit that referenced this issue Jan 5, 2022
* multiple entrypoint

* Fixing log4j vuln
@rbhadti94
Copy link
Owner

Should be completed and merged in now 👍

@sebiboga
Copy link
Author

@rbhadti94 can you please update the documentation on how we specify multiple files using the plugin?

  • current documentation explain how to run just one jmx file

@rbhadti94
Copy link
Owner

Hi @sebiboga, please can you verify now?

@sebiboga
Copy link
Author

sure, just don't know how to specify multiple files. where can I find an example?

@rbhadti94
Copy link
Owner

I've merged in the README.md to the main branch. It should have updated examples.

@sebiboga
Copy link
Author

@rbhadti94 got it. just read it. so when we specify the folder, all jmx files from that folder will be executed. I'll retest it and be back with results. thanks.

@sebiboga
Copy link
Author

@rbhadti94 indeed it works when defining a folder.
image

here is the section from yml file:
image

GREAT JOB!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants