Summary: | HTTP Sampler : Enable sending large files using JDK5 method HttpURLConnection#setFixedLengthStreamingMode | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Hao Lin <numberzero1029> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.3.4 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Hao Lin
2009-08-07 01:56:27 UTC
The method setFixedLengthStreamingMode() is only available with Java 1.5+ The current version of JMeter is targetted at Java 1.4+. However, Java 1.5 will become the minimum version at which point the proposed fix can be applied. In the mean-time, you could try using the HttpClient sampler instead. There are some problems with the suggested patch: 1) contentLength is currently held as a long, but setFixedLengthStreamingMode() requires an int. This would be easy enough to work round. 2) When output streaming is enabled, authentication and redirection cannot be handled automatically. This is not so easy to fix. Still in 2.5.1 *** This bug has been marked as a duplicate of bug 58852 *** This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2267 |