sebb        2003/12/19 15:59:53

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        HTTPSampleResult.java
  Log:
  New Constructor; queryString field
  
  Revision  Changes    Path
  1.6       +27 -1     
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
  
  Index: HTTPSampleResult.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- HTTPSampleResult.java     19 Dec 2003 17:54:32 -0000      1.5
  +++ HTTPSampleResult.java     19 Dec 2003 23:59:53 -0000      1.6
  @@ -71,6 +71,11 @@
           super();
       }
       
  +     public HTTPSampleResult(long elapsed)
  +     {
  +             super(elapsed);
  +     }
  +    
       /**
        * Construct a 'parent' result for an already-existing result, essentially
        * cloning it:
  @@ -181,6 +186,27 @@
       public void setCookies(String string)
       {
           cookies = string;
  +    }
  +
  +    private String queryString = ""; // never null
  +    /**
  +     * Fetch the query string
  +     * 
  +     * @return the query string
  +     */
  +    public String getQueryString()
  +    {
  +        return queryString;
  +    }
  +
  +    /**
  +     * Save the query string
  +     * 
  +     * @param string the query string
  +     */
  +    public void setQueryString(String string)
  +    {
  +        queryString = string;
       }
   
   }
  
  
  

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

Reply via email to