2016-09-21 281 views
0

嘗試利用JMeter 3.0.I正在對例如得到錯誤執行腳本。如果我申請50個用戶的負載,提升週期10,循環次數:1響應消息:非HTTP響應消息:無協議:響應代碼:非HTTP響應代碼:java.net.MalformedURLException

Thread Name: Thread Group 1-2 

Sample Start: 1970-01-01 05:30:00 IST 

Load time: 0 

Connect Time: 0 

Latency: 0 

Size in bytes: 729 

Headers size in bytes: 0 

Body size in bytes: 729 

Sample Count: 1 

Error Count: 1 

Data type ("text"|"bin"|""): text 

Response code: Non HTTP response code: java.net.MalformedURLException 

Response message: Non HTTP response message: no protocol: 


Response headers: 


HTTPSampleResult fields: 

ContentType: 

DataEncoding: null 

誰能幫助我,爲什麼這種類型的錯誤顯示?

+0

請你分享你的'URL'?您的網址可能無法正確格式化。分享你的HTTP採樣器。 – Jahan

+0

是的,當然。這是網址https://libauth.np.edu.sg/TSP。 – Arijit

+0

謝謝,請分享你的'HTTP Sampler'也。 – Jahan

回答

1

我嘗試了上述網址幾個請求在JMeter的3.2。好像在URL中沒有問題。請確保HTTP採樣器的配置如下所示。

HTTP取樣配置

您可以使用重定向自動選項也。

HTTP Sampler Configuration

輸出

HTTP Response

相關問題