You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by js...@apache.org on 2003/01/14 01:58:31 UTC

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler HTTPSamplerFull.java

jsalvata    2003/01/13 16:58:30

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        HTTPSamplerFull.java
  Log:
  Downloading images won't stop at 2nd occurence of same image. Fixes bug#14049.
  
  Revision  Changes    Path
  1.7       +4 -6      jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerFull.java
  
  Index: HTTPSamplerFull.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerFull.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- HTTPSamplerFull.java	29 Aug 2002 18:17:42 -0000	1.6
  +++ HTTPSamplerFull.java	14 Jan 2003 00:58:30 -0000	1.7
  @@ -341,6 +341,9 @@
   					binRes.setResponseMessage(NON_HTTP_RESPONSE_MESSAGE);
   					binRes.setSuccessful(false);
   				}
  +                                log.debug("Adding result");
  +                                res.addSubResult(binRes);
  +                                res.setTime(res.getTime() + binRes.getTime());
   			}
   			else
   			{
  @@ -348,12 +351,7 @@
   				  {
   				 	 log.debug("Skipping duplicate - " + binUrl);
   				  }
  -				  break;
   			}
  -			log.debug("Adding result");
  -			// Note that this only happens for unique binaries
  -			res.addSubResult(binRes);
  -			res.setTime(res.getTime() + binRes.getTime());
   		}
   		log.debug("End   : HTTPSamplerFull parseNodes");
   	}
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>