How can i execute Batch file from my local system in Gatling

I have list of batch files that are present in my local system-
I want to execute all those batch files through scala file
How can I do this in Gatling?

In Jmeter- we have OS process sampler for doing this.

Gatling currently doesn’t currently support running native processes to generate load. I’m not convinced it makes much sense either, there’s a good chance that in production, your native binary or script doesn’t run multiple times concurrently from the same machine, so in this case, such a test would be unrealistic.

If you’re just looking for a way to trigger native processes as part of the setup or teardown, you can use plain old Java ProcessBuilder.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.