You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2012/12/17 08:31:30 UTC
svn commit: r1422773 - in /jmeter/trunk:
docs/images/screenshots/random_variable.png
xdocs/images/screenshots/random_variable.png
xdocs/usermanual/component_reference.xml
Author: pmouawad
Date: Mon Dec 17 07:31:29 2012
New Revision: 1422773
URL: http://svn.apache.org/viewvc?rev=1422773&view=rev
Log:
Bug 54264 - random variable problem when you set a seed
Clarify documentation
Bugzilla Id: 54264
Modified:
jmeter/trunk/docs/images/screenshots/random_variable.png
jmeter/trunk/xdocs/images/screenshots/random_variable.png
jmeter/trunk/xdocs/usermanual/component_reference.xml
Modified: jmeter/trunk/docs/images/screenshots/random_variable.png
URL: http://svn.apache.org/viewvc/jmeter/trunk/docs/images/screenshots/random_variable.png?rev=1422773&r1=1422772&r2=1422773&view=diff
==============================================================================
Binary files - no diff available.
Modified: jmeter/trunk/xdocs/images/screenshots/random_variable.png
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/images/screenshots/random_variable.png?rev=1422773&r1=1422772&r2=1422773&view=diff
==============================================================================
Binary files - no diff available.
Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1422773&r1=1422772&r2=1422773&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jmeter/trunk/xdocs/usermanual/component_reference.xml Mon Dec 17 07:31:29 2012
@@ -3806,7 +3806,7 @@ You can reference variables defined in e
</properties>
</component>
-<component name="Random Variable" index="§-num;.4.15" width="411" height="306" screenshot="random_variable.png">
+<component name="Random Variable" index="§-num;.4.15" width="495" height="286" screenshot="random_variable.png">
<description>
<p>
The Random Variable Config Element is used to generate random numeric strings and store them in variable for use later.
@@ -3831,7 +3831,10 @@ however the minimum and maximum values c
If not specified, the default is to generate the number using Long.toString()</property>
<property name="Minimum Value" required="Yes">The minimum value (long) of the generated random number.</property>
<property name="Maximum Value" required="Yes">The maximum value (long) of the generated random number.</property>
- <property name="Random Seed" required="No">The seed for the random number generator. Default is the current time in milliseconds.</property>
+ <property name="Random Seed" required="No">The seed for the random number generator. Default is the current time in milliseconds.
+ If you use the same seed value with Per Thread set to true, you will get the same value for earch Thread as per
+ <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html" >Random</a> class.
+ </property>
<property name="Per Thread(User)?" required="Yes">If False, the generator is shared between all threads in the thread group.
If True, then each thread has its own random generator.</property>
</properties>