Running Multiple JMeter Tests in Parallel – FileSe rver Conflict Issue
Sruthika Bachu <[email protected]> Thu, 17 Jul 2025 14:46:46 +0530
| Newsgroups | gmane.comp.jakarta.jmeter.user |
|---|---|
| Message-ID | <CAFcNsCHawy3Mbm9VgEXAt2FZxoqdGdO+K+214v4F6oOTnCWmdw@mail.gmail.com> |
--000000000000aeca65063a1c78bc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, I=E2=80=99m trying to run multiple JMeter test plans in parallel using Java threads, where each thread creates a new StandardJMeterEngine object and executes a different test. However, I=E2=80=99m facing an issue with FileServer. It appears to be a singleton and shared across all executions. As a result, when one test completes early, it calls FileServer.getFileServer().closeFiles(), which causes file-related errors in the other ongoing tests (e.g., missing CSV files). I=E2=80=99d like to know: Is running multiple JMeter tests in parallel like this (multiple StandardJMeterEngine objects in the same JVM using threads) a supported use case? If not, is the correct approach to launch each test in a separate JVM (e.g., via ProcessBuilder)? Is there a way to isolate or override FileServer usage per test so that one doesn't affect the others? Any suggestions or guidance would be really helpful. Thanks, Sruthika --000000000000aeca65063a1c78bc--