Here is your problem:
Remove that quotation mark and everything should start working as expected
In general, you are making things overcomplicated.
cmd /c
? Why just don't call powershell
directly? So configure your OS Process Sampler as:
powershell
D:\\Software\\apache=jmeter-3.0\\apache-jmeter-3.0\\bin\\TIP.ps1
See How to Run External Commands and Programs Locally and Remotely from JMeter article for more information on invoking 3rd-party processes from your JMeter test.
I know this is an old thread but since the response was not correct for me I found the solution to be this:
Using the OS Process Sampler you need to add as command powershell.exe and as variables exactly the following:
This worked perfectly fine for me.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.