Execute Bat with run time commands

66 views
Skip to first unread message

Sandeep Mahajan

unread,
Aug 30, 2022, 11:23:30 AM8/30/22
to jmeter-...@googlegroups.com
Hello Everyone, 

I have a business use case where I have to run a BATCH file from jmeter; after the BATCH file is executed, I have to pass additional commands. 
I am able to execute the BATCH file using Bean Shell and OS Process sampler but not able to pass additional command post BAT file execution. 

The use case is:
1. From jMeter, run the batch file.
2. Once the batch file is executed(after 10 seconds), I have to execute additional commands

As per the screenshot below, sw 4418 and u -nt are additional commands I executed post batch file execution. Same I have to do with jMeter.

image.png

Can you please suggest/help me as I am new to JMeter. 

Thank you

 


Reply all
Reply to author
Forward
0 new messages