Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
開始する前にシェル スクリプトを実行する必要がある jmeter テストがあります。シェル スクリプトは、jmx ファイルのディレクトリにあります。OS Process Sampler を使用してスクリプトを呼び出していますが、作業ディレクトリが apache jmeter の bin/ フォルダーに設定されているため、エラーが発生します。
jmx テストプランがある現在のディレクトリのプロパティはありますか?
ubuntu 12.04のApache jmeter 2.8
それへの道:
値が${__P(shellDir、default folder)}のshellDirというユーザー定義変数を追加します
パスで${shellDir}/として使用します
-JshellDir =を使用して、起動時にこのプロパティを定義します
見る: