woolfel     2003/10/21 05:59:01

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        HTTPSampler.java
  Log:
  changed HTTPSampler to use NewHTTPSamplerFull, which uses
  htmlparser instead of tidy.
  
  Revision  Changes    Path
  1.55      +7 -3      
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.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- HTTPSampler.java  5 Oct 2003 12:24:08 -0000       1.54
  +++ HTTPSampler.java  21 Oct 2003 12:59:01 -0000      1.55
  @@ -141,7 +141,8 @@
       protected static String encoding = "iso-8859-1";
       private static final PostWriter postWriter = new PostWriter();
       transient protected HttpURLConnection conn;
  -    private HTTPSamplerFull imageSampler;
  +    /** 10-20-2003 changed HTTPSampler to use NewHTTPSamplerFulll Peter Lin **/
  +     private NewHTTPSamplerFull imageSampler;
   
       static {
           System.setProperty(
  @@ -1139,7 +1140,10 @@
               {
                   if (imageSampler == null)
                   {
  -                    imageSampler = new HTTPSamplerFull();
  +                     // change to NewHTTPSamplerFull, which uses
  +                     // htmlparser to get the images and bin
  +                     // files.
  +                    imageSampler = new NewHTTPSamplerFull();
                   }
                   res = imageSampler.parseForImages(res, this);
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to