Author: sebb
Date: Tue May 5 19:23:28 2009
New Revision: 771972
URL: http://svn.apache.org/viewvc?rev=771972&view=rev
Log:
CSV Dataset and random data
Modified:
jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml
jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
Modified: jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml?rev=771972&r1=771971&r2=771972&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/best-practices.xml Tue May 5
19:23:28 2009
@@ -138,6 +138,10 @@
<li>Only save the data that you need</li>
<li>Use as few Assertions as possible</li>
</ul>
+<p>
+If your test needs large amounts of data - particularly if it needs to be
randomised - create the test data in a file
+that can be read with CSV Dataset. This avoids wasting resources at run-time.
+</p>
</section>
<section name="§-num;.7 BeanShell server" anchor="beanshell_server">
Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=771972&r1=771971&r2=771972&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Tue May 5
19:23:28 2009
@@ -2455,6 +2455,14 @@
<p>
CSV Data Set Config is used to read lines from a file, and split them
into variables.
It is easier to use than the __CSVRead() and _StringFromFile()
functions.
+ It is well suited to handling large numbers of variables, and is also
useful for tesing with
+ "random" and unique values.
+ Generating unique random values at run-time is expensive in terms of
CPU and memory, so just create the data
+ in advance of the test. If necessary, the "random" data from the file
can be used in conjunction with
+ a run-time parameter to create different sets of values from each run -
e.g. using concatenation - which is
+ much cheaper than generating everything at run-time.
+ </p>
+ <p>
Versions of JMeter after 2.3.1 allow variables to be quoted; this
allows the value to contain a delimiter.
Previously it was necessary to choose a delimiter that was not used in
any values.
</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]