0
如何使用jmeter运行Powershell文件(扩展名为.ps1)?
我想在JMeter的执行的.ps1文件。我已经在图像中传递了参数,但在输出面临错误。 The filename, directory name, or volume label syntax is incorrect.
尽管文件名,目录名称是正确的。
如何使用jmeter运行Powershell文件(扩展名为.ps1)?
我想在JMeter的执行的.ps1文件。我已经在图像中传递了参数,但在输出面临错误。 The filename, directory name, or volume label syntax is incorrect.
尽管文件名,目录名称是正确的。
这里是你的问题:
删除引号和预期
一般来说一切都应该开始工作,你正在做的事情过于复杂。
cmd /c
?为什么不直接拨打powershell
?所以配置OS过程采样器:
powershell
D:\Software\apache=jmeter-3.0\apache-jmeter-3.0\bin\TIP.ps1
有关通过JMeter测试调用第三方进程的更多信息,请参阅How to Run External Commands and Programs Locally and Remotely from JMeter文章。