sebb 2003/11/19 18:37:56
Modified: src/protocol/http/org/apache/jmeter/protocol/http/sampler
HTTPSampler.java
Log:
Revert to calling HTTPSamplerFull, which in turn calls the appropriate parser
Revision Changes Path
1.58 +3 -7
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
Index: HTTPSampler.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- HTTPSampler.java 20 Nov 2003 00:17:46 -0000 1.57
+++ HTTPSampler.java 20 Nov 2003 02:37:56 -0000 1.58
@@ -141,8 +141,7 @@
protected static String encoding = "iso-8859-1";
private static final PostWriter postWriter = new PostWriter();
transient protected HttpURLConnection conn;
- /** 10-20-2003 changed HTTPSampler to use NewHTTPSamplerFulll Peter Lin **/
- private NewHTTPSamplerFull imageSampler;
+ private HTTPSamplerFull imageSampler;
static {
System.setProperty(
@@ -1148,10 +1147,7 @@
{
if (imageSampler == null)
{
- // change to NewHTTPSamplerFull, which uses
- // htmlparser to get the images and bin
- // files.
- imageSampler = new NewHTTPSamplerFull();
+ imageSampler = new HTTPSamplerFull();
}
res = imageSampler.parseForImages(res, this);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]