jsalvata    2004/01/08 14:22:50

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        Tag: testbeans_experimental_branch
                        HTTPSamplerBeanBeanInfo.java
  Log:
  Play with the new attributes a little bit.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.5   +18 -2     
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/Attic/HTTPSamplerBeanBeanInfo.java
  
  Index: HTTPSamplerBeanBeanInfo.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/Attic/HTTPSamplerBeanBeanInfo.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- HTTPSamplerBeanBeanInfo.java      5 Jan 2004 16:59:28 -0000       1.1.2.4
  +++ HTTPSamplerBeanBeanInfo.java      8 Jan 2004 22:22:50 -0000       1.1.2.5
  @@ -68,7 +68,7 @@
                super(HTTPSamplerBean.class);
                
                
property("arguments").setPropertyEditorClass(HTTPArgumentsEditor.class);
  -             
  +
                createPropertyGroup("webServer",
                        new String[] { "domain", "port" });
                createPropertyGroup("httpRequest",
  @@ -78,7 +78,23 @@
                createPropertyGroup("options",
                        new String[] { "followRedirects", "useKeepAlive", 
"imageParser" }); 
   
  +             getBeanDescriptor().setValue("options.layout", "flow");
  +             getBeanDescriptor().setValue("webServer.layout", "flow");
  +             getBeanDescriptor().setValue("multipartRequest.layout", "flow");
  +
                property("protocol").setValue("tags", new String[] {"http", "https"});
                property("method").setValue("tags", new String[] {"GET", "POST"});
  +             property("port").setValue("tags", new String[] { "80", "443" });
  +
  +             // The following are added for demo purposes only. TODO: remove
  +             property("followRedirects").setValue("noEdit", Boolean.TRUE);
  +             property("useKeepAlive").setValue("noUndefined", Boolean.TRUE);
  +             property("useKeepAlive").setValue("default", Boolean.FALSE);
  +             property("method").setValue("noEdit", Boolean.TRUE);
  +             property("method").setValue("noUndefined", Boolean.TRUE);
  +             property("method").setValue("default", "GET");
  +             property("fileField").setValue("noEdit", Boolean.TRUE);
  +             property("fileField").setValue("noUndefined", Boolean.TRUE);
  +             property("fileField").setValue("default", "");
        }
   }
  
  
  

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

Reply via email to