From commits-return-2095-apmail-jmeter-commits-archive=jmeter.apache.org@jmeter.apache.org Sun Mar 17 21:48:48 2013
Return-Path:
X-Original-To: apmail-jmeter-commits-archive@minotaur.apache.org
Delivered-To: apmail-jmeter-commits-archive@minotaur.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 36D61E40E
for ; Sun, 17 Mar 2013 21:48:48 +0000 (UTC)
Received: (qmail 32138 invoked by uid 500); 17 Mar 2013 21:48:48 -0000
Delivered-To: apmail-jmeter-commits-archive@jmeter.apache.org
Received: (qmail 32118 invoked by uid 500); 17 Mar 2013 21:48:48 -0000
Mailing-List: contact commits-help@jmeter.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@jmeter.apache.org
Delivered-To: mailing list commits@jmeter.apache.org
Received: (qmail 32109 invoked by uid 99); 17 Mar 2013 21:48:48 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Mar 2013 21:48:48 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Mar 2013 21:48:45 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id 3EE902388847;
Sun, 17 Mar 2013 21:48:25 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r1457570 - in /jmeter/trunk: ./ extras/ xdocs/extending/
xdocs/localising/ xdocs/stylesheets/
Date: Sun, 17 Mar 2013 21:48:24 -0000
To: commits@jmeter.apache.org
From: sebb@apache.org
X-Mailer: svnmailer-1.0.8-patched
Message-Id: <20130317214825.3EE902388847@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Author: sebb
Date: Sun Mar 17 21:48:24 2013
New Revision: 1457570
URL: http://svn.apache.org/r1457570
Log:
Tab police
Modified:
jmeter/trunk/build.xml
jmeter/trunk/extras/addons.xml
jmeter/trunk/extras/build.xml
jmeter/trunk/fb-excludes.xml
jmeter/trunk/xdocs/extending/JMeter Extension Scenario.xml
jmeter/trunk/xdocs/extending/index.xml
jmeter/trunk/xdocs/localising/index.xml
jmeter/trunk/xdocs/stylesheets/printable_project.xml
jmeter/trunk/xdocs/stylesheets/project.xml
Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Sun Mar 17 21:48:24 2013
@@ -42,10 +42,10 @@
To build all and package up the files for distribution
ant distribution -Djmeter.version=vvvv [-Dsvn.revision=nnnnn]
-
+
Add -Ddisable-svnCheck=true to disable svn check, if you build from src archive or offline
- Add -Ddisable-check-versions=true to disable matching current svn revision and JMeterVersion.java,
- if you want build your own custom JMeter package.
+ Add -Ddisable-check-versions=true to disable matching current svn revision and JMeterVersion.java,
+ if you want build your own custom JMeter package.
To create a nightly build (separate bin/src/lib jars):
ant nightly [-Dsvn.revision=nnnnn]
@@ -151,7 +151,7 @@
-
+
@@ -342,7 +342,7 @@
-
+
@@ -380,8 +380,8 @@
-
-
+
+
@@ -448,7 +448,7 @@
-
+
@@ -492,7 +492,7 @@
-
+
-
+
+
@@ -1417,7 +1417,7 @@ run JMeter unless all the JMeter jars ar
+ substring='VERSION = "${jmeter.version}";'/>
@@ -2341,7 +2341,7 @@ run JMeter unless all the JMeter jars ar
-
+
@@ -2483,9 +2483,9 @@ run JMeter unless all the JMeter jars ar
-
-
-
+
+
+
@@ -2755,14 +2755,14 @@ run JMeter unless all the JMeter jars ar
-
+
-
+
Modified: jmeter/trunk/extras/addons.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/extras/addons.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/extras/addons.xml (original)
+++ jmeter/trunk/extras/addons.xml Sun Mar 17 21:48:24 2013
@@ -53,7 +53,7 @@
-
+
Modified: jmeter/trunk/extras/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/extras/build.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/extras/build.xml (original)
+++ jmeter/trunk/extras/build.xml Sun Mar 17 21:48:24 2013
@@ -6,9 +6,9 @@
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -16,103 +16,103 @@
limitations under the License.
-->
-
-
- Sample build file for use with ant-jmeter.jar
- See http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php
-
- To run a test and create the output report:
- ant -Dtest=script
-
- To run a test only:
- ant -Dtest=script run
-
- To run report on existing test output
- ant -Dtest=script report
-
- The "script" parameter is the name of the script without the .jmx suffix.
-
- Additional options:
- -Dshow-data=y - include response data in Failure Details
- -Dtestpath=xyz - path to test file(s) (default user.dir).
- N.B. Ant interprets relative paths against the build file
- -Djmeter.home=.. - path to JMeter home directory (defaults to parent of this build file)
+
+
+ Sample build file for use with ant-jmeter.jar
+ See http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php
+
+ To run a test and create the output report:
+ ant -Dtest=script
+
+ To run a test only:
+ ant -Dtest=script run
+
+ To run report on existing test output
+ ant -Dtest=script report
+
+ The "script" parameter is the name of the script without the .jmx suffix.
+
+ Additional options:
+ -Dshow-data=y - include response data in Failure Details
+ -Dtestpath=xyz - path to test file(s) (default user.dir).
+ N.B. Ant interprets relative paths against the build file
+ -Djmeter.home=.. - path to JMeter home directory (defaults to parent of this build file)
-Dreport.title="My Report" - title for html report (default is 'Load Test Results')
- Deprecated:
- -Dformat=2.0 - use version 2.0 JTL files rather than 2.1
+ Deprecated:
+ -Dformat=2.0 - use version 2.0 JTL files rather than 2.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
- funcMode = ${funcMode}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ funcMode = ${funcMode}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -122,19 +122,19 @@
Report generated at ${report.datestamp}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -148,20 +148,20 @@
-
-
-
-
-
-
-
-
-
-
- Cannot find all xalan and/or serialiser jars
- The XSLT formatting may not work correctly.
- Check you have xalan and serializer jars in ${lib.dir}
-
+
+
+
+
+
+
+
+
+
+
+ Cannot find all xalan and/or serialiser jars
+ The XSLT formatting may not work correctly.
+ Check you have xalan and serializer jars in ${lib.dir}
+
Modified: jmeter/trunk/fb-excludes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/fb-excludes.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/fb-excludes.xml (original)
+++ jmeter/trunk/fb-excludes.xml Sun Mar 17 21:48:24 2013
@@ -15,21 +15,21 @@
limitations under the License.
-->
-
-
-
-
-
-
+
+
+
+
+
+
-
+
@@ -54,9 +54,9 @@
-
-
-
+
+
+
Modified: jmeter/trunk/xdocs/extending/JMeter Extension Scenario.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/extending/JMeter%20Extension%20Scenario.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/xdocs/extending/JMeter Extension Scenario.xml (original)
+++ jmeter/trunk/xdocs/extending/JMeter Extension Scenario.xml Sun Mar 17 21:48:24 2013
@@ -19,7 +19,7 @@
- Extending JMeter
+ Extending JMeter
@@ -81,11 +81,11 @@ needed to effectively interact with JMet
step, define the appropriate accessor methods. The implementation of these
accessors should usually delegate to AbstractConfigElement. For
example: public void setHostname(String hostname)
- { setProperty(HOST_NAME, hostname); }
+ { setProperty(HOST_NAME, hostname); }
- public String getHostname()
- { return (String)getProperty(HOST_NAME); }
-
Some accessor implementations may be more complex. See the
+ public String getHostname()
+ { return (String)getProperty(HOST_NAME); }
+ Some accessor implementations may be more complex. See the
UrlConfig object for a more involved example.
String getClassLabel() - This is the label that will
display in the drop-down menu for adding your configuration element.
@@ -93,9 +93,9 @@ needed to effectively interact with JMet
cloneable.
addConfigElement(ConfigElement) - A typical implementation
of this method looks like public void addConfigElement(ConfigElement config) {
- if (config instanceof MyConfig)
- updatePropertyIfAbsent((MyConfig)config);
- }
where updatePropertyIfAbsent is handled by the super class.
+ if (config instanceof MyConfig)
+ updatePropertyIfAbsent((MyConfig)config);
+ }where updatePropertyIfAbsent is handled by the super class.
getGuiClass - return the name of the this class's corresponding GUI class.
@@ -176,12 +176,12 @@ extension.
will soon be called) to debug, you will probably see way more than you need to
know. You can filter the JMeter stuff by making the following modifications to
log4j.conf in the JMeter's bin directory. The bold
- text is added/modified # Set the appenders for the categories
- log4j.rootCategory=info,Root_Appender
- log4j.category.com.myfirm.jmeter=debug,
- log4j.category.org.apache.jmeter.control=debug
- log4j.category.org.apache.jmeter.gui.tree.NonGuiTree=INFO,File_Appender
-
Note that the root (default) debugging has been set to info.
+ text is added/modified # Set the appenders for the categories
+ log4j.rootCategory=info,Root_Appender
+ log4j.category.com.myfirm.jmeter=debug,
+ log4j.category.org.apache.jmeter.control=debug
+ log4j.category.org.apache.jmeter.gui.tree.NonGuiTree=INFO,File_Appender
+
Note that the root (default) debugging has been set to info.
This eliminates most log4j output from JMeter. The new line specifies the name
of the package containing JMeter extensions. (com.yourfirm.jmeter) in
this example. Note that it is not necessary to specify a particular class
Modified: jmeter/trunk/xdocs/extending/index.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/extending/index.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/xdocs/extending/index.xml (original)
+++ jmeter/trunk/xdocs/extending/index.xml Sun Mar 17 21:48:24 2013
@@ -19,7 +19,7 @@
- Extending JMeter
+ Extending JMeter
@@ -38,23 +38,23 @@ to make this task easier.
@@ -68,7 +68,7 @@ to make this task easier.
- public long delay();
+ public long delay();
@@ -90,11 +90,11 @@ same number every time it's called. A r
- public void sampleOccurred(SampleEvent e);
+ public void sampleOccurred(SampleEvent e);
- public void sampleStarted(SampleEvent e);
+ public void sampleStarted(SampleEvent e);
- public void sampleStopped(SampleEvent e);
+ public void sampleStopped(SampleEvent e);
@@ -130,11 +130,11 @@ to begin again).
- public void addConfigElement(ConfigElement config);
+ public void addConfigElement(ConfigElement config);
- public boolean expectsModification();
+ public boolean expectsModification();
- public Object clone();
+ public Object clone();
@@ -228,15 +228,15 @@ for this possibility to avoid exceptions
- Entry nextEntry();
+ Entry nextEntry();
- Collection getListeners();
+ Collection getListeners();
- void addSamplerController(SamplerController controller);
+ void addSamplerController(SamplerController controller);
- void addConfigElement(ConfigElement config);
+ void addConfigElement(ConfigElement config);
- Object clone();
+ Object clone();
@@ -350,7 +350,7 @@ reference.
- public SampleResult sample(Entry e)
+ public SampleResult sample(Entry e)
@@ -380,17 +380,17 @@ JMeterComponentModel interface:
- Class getGuiClass();
+ Class getGuiClass();
- public String getName();
+ public String getName();
- public void setName(String name);
+ public void setName(String name);
- public Collection getAddList();
+ public Collection getAddList();
- public String getClassLabel();
+ public String getClassLabel();
- public void uncompile();
+ public void uncompile();
@@ -440,9 +440,9 @@ that implements the ModelSupported
- void setModel(Object model);
+ void setModel(Object model);
- public void updateGui();
+ public void updateGui();
@@ -484,7 +484,7 @@ detected, and the Gui will not make them
- public Class getTagHandlerClass()
+ public Class getTagHandlerClass()
@@ -504,11 +504,11 @@ the Map from AbstractConfigElement.
- public abstract void setAtts(Attributes atts) throws Exception
+ public abstract void setAtts(Attributes atts) throws Exception
- public String getPrimaryTagName()
+ public String getPrimaryTagName()
- public void save(Saveable objectToSave,Writer out) throws IOException
+ public void save(Saveable objectToSave,Writer out) throws IOException
@@ -574,211 +574,211 @@ public class AbstractConfigElementHandle
{
- private AbstractConfigElement config;
+ private AbstractConfigElement config;
- private String currentProperty;
+ private String currentProperty;
- public AbstractConfigElementHandler()
+ public AbstractConfigElementHandler()
- {
+ {
- }
+ }
- /**
+ /**
- * Returns the AbstractConfigElement object parsed from the XML. This method
+ * Returns the AbstractConfigElement object parsed from the XML. This method
- * is required to fulfill the SaveHandler interface. It is used by the XML
+ * is required to fulfill the SaveHandler interface. It is used by the XML
- * routines to gather all the saved objects.
+ * routines to gather all the saved objects.
- */
+ */
- public Object getModel()
+ public Object getModel()
- {
+ {
- return config;
+ return config;
- }
+ }
- /**
+ /**
- * This is called when a tag is first encountered for this handler class to handle.
+ * This is called when a tag is first encountered for this handler class to handle.
- * The attributes of the tag are passed, and the SaveHandler object is expected
+ * The attributes of the tag are passed, and the SaveHandler object is expected
- * to instantiate a new object.
+ * to instantiate a new object.
- */
+ */
- public void setAtts(Attributes atts) throws Exception
+ public void setAtts(Attributes atts) throws Exception
- {
+ {
- String className = atts.getValue("type");
+ String className = atts.getValue("type");
- config = (AbstractConfigElement)Class.forName(className).newInstance();
+ config = (AbstractConfigElement)Class.forName(className).newInstance();
- }
+ }
- /**
+ /**
- * Called by reflection when a <property> tag is encountered. Again, the
+ * Called by reflection when a <property> tag is encountered. Again, the
- * attributes are passed.
+ * attributes are passed.
- */
+ */
- public void property(Attributes atts)
+ public void property(Attributes atts)
- {
+ {
- currentProperty = atts.getValue("name");
+ currentProperty = atts.getValue("name");
- }
+ }
- /**
+ /**
- * Called by reflection when text between the begin and end <property>
+ * Called by reflection when text between the begin and end <property>
- * tag is encountered.
+ * tag is encountered.
- */
+ */
- public void property(String data)
+ public void property(String data)
- {
+ {
- if(data != null && data.trim().length() > 0)
+ if(data != null && data.trim().length() > 0)
- {
+ {
- config.putProperty(currentProperty,data);
+ config.putProperty(currentProperty,data);
- currentProperty = null;
+ currentProperty = null;
- }
+ }
- }
+ }
- /**
+ /**
- * Called by reflection when the <property> tag is ended.
+ * Called by reflection when the <property> tag is ended.
- */
+ */
- public void propertyTagEnd()
+ public void propertyTagEnd()
- {
+ {
- // Here's a tricky bit. See below for explanation.
+ // Here's a tricky bit. See below for explanation.
- List children = xmlParent.takeChildObjects(this);
+ List children = xmlParent.takeChildObjects(this);
- if(children.size() == 1)
+ if(children.size() == 1)
- {
+ {
- config.putProperty(currentProperty,((TagHandler)children.get(0)).getModel());
+ config.putProperty(currentProperty,((TagHandler)children.get(0)).getModel());
- }
+ }
- }
+ }
- /**
+ /**
- * Gets the tag name that will trigger the use of this object's TagHandler.
+ * Gets the tag name that will trigger the use of this object's TagHandler.
- */
+ */
- public String getPrimaryTagName()
+ public String getPrimaryTagName()
- {
+ {
- return "ConfigElement";
+ return "ConfigElement";
- }
+ }
/**
- * Tells the object to save itself to the given output stream.
+ * Tells the object to save itself to the given output stream.
- */
+ */
- public void save(Saveable obj,Writer out) throws IOException
+ public void save(Saveable obj,Writer out) throws IOException
- {
+ {
- AbstractConfigElement saved = (AbstractConfigElement)obj;
+ AbstractConfigElement saved = (AbstractConfigElement)obj;
- out.write("<ConfigElement type=\"");
+ out.write("<ConfigElement type=\"");
- out.write(saved.getClass().getName());
+ out.write(saved.getClass().getName());
- out.write("\">\n");
+ out.write("\">\n");
- Iterator iter = saved.getPropertyNames().iterator();
+ Iterator iter = saved.getPropertyNames().iterator();
- while (iter.hasNext())
+ while (iter.hasNext())
- {
+ {
- String key = (String)iter.next();
+ String key = (String)iter.next();
- Object value = saved.getProperty(key);
+ Object value = saved.getProperty(key);
- writeProperty(out,key,value);
+ writeProperty(out,key,value);
- }
+ }
- out.write(</ConfigElement>");
+ out.write(</ConfigElement>");
- }
+ }
- /**
+ /**
- * Routine to write each property to xml.
+ * Routine to write each property to xml.
- */
+ */
- private void writeProperty(Writer out,String key,Object value) throws IOException
+ private void writeProperty(Writer out,String key,Object value) throws IOException
- {
+ {
- out.write("<property name=\"");
+ out.write("<property name=\"");
- out.write(key);
+ out.write(key);
- out.write("\">\n");
+ out.write("\">\n");
- JMeterHandler.writeObject(value,out);
+ JMeterHandler.writeObject(value,out);
- out.write("\n</property>\n");
+ out.write("\n</property>\n");
- }
+ }
Modified: jmeter/trunk/xdocs/localising/index.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/localising/index.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/xdocs/localising/index.xml (original)
+++ jmeter/trunk/xdocs/localising/index.xml Sun Mar 17 21:48:24 2013
@@ -22,9 +22,9 @@
- Jordi Salvat i Alabart
+ Jordi Salvat i Alabart
- JMeter Localisation (Translator's Guide)
+ JMeter Localisation (Translator's Guide)
Modified: jmeter/trunk/xdocs/stylesheets/printable_project.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/printable_project.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/printable_project.xml (original)
+++ jmeter/trunk/xdocs/stylesheets/printable_project.xml Sun Mar 17 21:48:24 2013
@@ -16,11 +16,11 @@
limitations under the License.
-->
+ href="http://jmeter.apache.org/">
- Apache JMeter
- Apache JMeter
-
+ Apache JMeter
+ Apache JMeter
+
-
+
Modified: jmeter/trunk/xdocs/stylesheets/project.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/project.xml?rev=1457570&r1=1457569&r2=1457570&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/project.xml (original)
+++ jmeter/trunk/xdocs/stylesheets/project.xml Sun Mar 17 21:48:24 2013
@@ -16,52 +16,52 @@
limitations under the License.
-->
+ href="http://jmeter.apache.org/">
- Apache JMeter
-
- Apache JMeter
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+