Summary: | "HTTP Request Defaults" accepts space ending "Port Number" and causes "Connection refused: connect" | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Yang ZHONG <ZhongY> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 2.3 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Yang ZHONG
2007-11-28 16:04:57 UTC
"HTTP Request" Sampler parameter "Value" also accepts (ending) space and directly puts it into HTTP request w/o URL-encoding. Maybe "HTTP Request" Sampler can either trim space or URL-encoding at least. Thanks. I don't consider these to be bugs as JMeter behaves correctly when correct data is provided. In the case of spaces in parameter values, they are encoded if encoding is selected. No change is needed there. However, I agree it would be useful to ignore trailing spaces for the port field. At present the port is ignored if it is not a valid number. This is a bit confusing - but not a bug - so I'm changing this report to an enhancement. This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2048 |