Author: sebb
Date: Thu Oct 6 18:59:33 2011
New Revision: 1179769
URL: http://svn.apache.org/viewvc?rev=1179769&view=rev
Log:
Increase search limit to allow it to work with AL comment header
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java?rev=1179769&r1=1179768&r2=1179769&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
(original)
+++
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
Thu Oct 6 18:59:33 2011
@@ -194,7 +194,7 @@ public class HTTPSampleResult extends Sa
byte[] bytes=getResponseData();
// get the start of the file
// TODO - charset?
- String prefix = new String(bytes,0,Math.min(bytes.length,
1000)).toLowerCase(java.util.Locale.ENGLISH);
+ String prefix = new String(bytes,0,Math.min(bytes.length,
2000)).toLowerCase(java.util.Locale.ENGLISH);
// Extract the content-type if present
final String METATAG = "<meta http-equiv=\"content-type\"
content=\""; // $NON-NLS-1$
int tagstart=prefix.indexOf(METATAG);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]