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

Multiple TestPlan execution problems at the same time #6053

Open
fit2-zhao opened this issue Jul 21, 2023 · 3 comments
Open

Multiple TestPlan execution problems at the same time #6053

fit2-zhao opened this issue Jul 21, 2023 · 3 comments

Comments

@fit2-zhao
Copy link

fit2-zhao commented Jul 21, 2023

Use case

Executing multiple TestPlans in the same process at the same time, calling the method ""FileServer.getFileServer().closeFiles()"" at the end of one of the TestPlan executions will cause the CSV files of other unfinished TestPlans to be cleaned up.

Possible solution

Is it considered to distinguish and clean up according to the test plan?

Possible workarounds

No response

JMeter Version

5.6

Java Version

17

OS Version

No response

@vlsi
Copy link
Collaborator

vlsi commented Jul 21, 2023

Unfortunately, executing concurrent testplans within a single Java process is not supported yet. Pull requests are welcome.

FileServer is not the only issue, and things like JMeterProperties would likely collide as well.

@vlsi vlsi removed the to-triage label Jul 21, 2023
@fit2-zhao
Copy link
Author

fit2-zhao commented Jul 27, 2023

May I ask if you have considered converting FileServer to be used like JMeterContext.

fit2-zhao added a commit to fit2-zhao/jmeter that referenced this issue Jul 28, 2023
@vlsi
Copy link
Collaborator

vlsi commented Dec 30, 2023

@fit2-zhao , we probably need something like "per-execution scope", "per-thread group scope" stores: #6194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants