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を使用してアプリケーションをテストする必要があります。セッションIDはURLの一部(URLの途中)です。例(sessionId = SID-123456):www.testServer.de/my/app/SID-123456/search.html
SID-123456
www.testServer.de/my/app/SID-123456/search.html
JMeterテストでセッションIDをURLに入れるにはどうすればよいですか?
Jmeter では、「PATH」の HTTP リクエスト フィールドは変数を受け入れます。
そのため、ログイン ページ (または任意の場所) からセッション ID を抽出し、それを変数に格納して、HTTP 要求パスを "/my/app/${sid}/search.html" に読み込む必要があります。
スレッドグループは次のようになります。
スレッドグループ -- ログインページ ---- SID を抽出する正規表現 -- 検索ページ