jmeter
jmeter copied to clipboard
Multiple TestPlan execution problems at the same time
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
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.
May I ask if you have considered converting FileServer to be used like JMeterContext.
@fit2-zhao , we probably need something like "per-execution scope", "per-thread group scope" stores: https://github.com/apache/jmeter/issues/6194