jsalvata    2004/01/15 02:43:34

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        HTTPSampler.java
  Log:
  Correct handling of parent sample results.
  
  Revision  Changes    Path
  1.80      +1 -4      
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.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- HTTPSampler.java  15 Jan 2004 02:47:46 -0000      1.79
  +++ HTTPSampler.java  15 Jan 2004 10:43:34 -0000      1.80
  @@ -1111,7 +1111,7 @@
               // Request sent. Now get the response:
               byte[] responseData= readResponse(conn);
   
  -             res.sampleEnd();
  +            res.sampleEnd();
               // Done with the sampling proper.
   
               // Now collect the results into the HTTPSampleResult:
  @@ -1258,8 +1258,6 @@
   
           // Now populate the any totalRes fields that need to
           // come from lastRes:
  -             totalRes.sampleEnd();
  -
           totalRes.setSampleLabel(
               totalRes.getSampleLabel() + "->" + lastRes.getSampleLabel());
           // The following three can be discussed: should they be from the
  @@ -1338,7 +1336,6 @@
                               false,
                               frameDepth + 1);
                       res.addSubResult(binRes);
  -                    res.sampleEnd();
                       res.setSuccessful(
                           res.isSuccessful() && binRes.isSuccessful());
                   }
  
  
  

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

Reply via email to