[英]307 Temporary redirect message in Jmeter,
根據307 臨時重定向狀態描述:
HTTP
307 Temporary Redirect
重定向狀態響應碼表示請求的資源已暫時移動到Location標頭給出的 URL。
JMeter 應該遵循重定向並向目標 URL 發出請求,如果沒有 - 使用Redirect automatically
和Follow redirects
框:
In any case you should be able to extract the target URL from the Location header using ie Regular Expression Extractor and put the resulting URL into "Path" section of the next HTTP Request sampler
Also JMeter should treat HTTP Status 307 as success (as well as any other HTTP status code below 400) so maybe you have an Assertion somewhere which artificially fails the Sampler based on the status code (ie checking if it's equal to 200
)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.