2016-11-29 103 views

回答

0

這裏是你的問題:

JMeter Powershell

刪除引號和預期

一般來說一切都應該開始工作,你正在做的事情過於複雜。

  1. 爲什麼你需要這些cmd /c?爲什麼不直接撥打powershell
  2. 通常PowerShell是在Windows路徑,則不需要提供完整路徑

所以配置OS過程採樣器:

  • 命令:powershell
  • 參數:D:\Software\apache=jmeter-3.0\apache-jmeter-3.0\bin\TIP.ps1

JMeter good os process sampler configuration

有關通過JMeter測試調用第三方進程的更多信息,請參閱How to Run External Commands and Programs Locally and Remotely from JMeter文章。

相關問題