woolfel     2004/09/18 20:52:08

  Modified:    src/core/org/apache/jmeter/visualizers Sample.java
  Log:
  I added the number of bytes, so the table results listener can display

  the bytes in the response. mike figured out what Ed Randall wanted.

  

  peter
  
  Revision  Changes    Path
  1.2       +13 -1     
jakarta-jmeter/src/core/org/apache/jmeter/visualizers/Sample.java
  
  Index: Sample.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/visualizers/Sample.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Sample.java       28 May 2004 21:09:13 -0000      1.1
  +++ Sample.java       19 Sep 2004 03:52:08 -0000      1.2
  @@ -40,6 +40,7 @@
       public String label = null;
       public long count;
       public long endTime;
  +    public int bytes = 0;
   
       /**
        *  Constructor for the Sample object
  @@ -83,6 +84,17 @@
   
       public Sample()
       {}
  +    
  +   public int getBytes()
  +   {
  +      return bytes;
  +   }
  +   
  +   public void setBytes(int size)
  +   {
  +       bytes = size;
  +   }
  +   
      /**
       * @return Returns the average.
       */
  
  
  

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

Reply via email to