You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/12/08 10:39:25 UTC
[Bug 54264] New: random variable problem when you set a seed
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
Bug ID: 54264
Summary: random variable problem when you set a seed
Product: JMeter
Version: 2.7
Hardware: PC
OS: Windows Server 2003
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: roberto.benitez@linguaserve.com
Classification: Unclassified
If you set a seed in a random variable, the algorithm of randomness only works
once. And from that moment always uses the same number.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54264] random variable problem when you set a seed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |INVALID
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54264] random variable problem when you set a seed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 29771
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29771&action=edit
Test Plan showing what seems to be the issue and is not
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54264] random variable problem when you set a seed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
--- Comment #3 from Sebb <se...@apache.org> ---
Still need a test plan showing how the random variable is set up and used.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54264] random variable problem when you set a seed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
--- Comment #2 from Roberto <ro...@linguaserve.com> ---
I setup a test procedure which does HTTP request to a server.
The URI is http://IP/myapp?proyect=${RANDOM_proyect}
I config 10 threads and they do that request one time with the random variable.
If I set a seed on the random variable, every thread does the same request. If
I don't set a seed, every thread does a diferent request, because the random
variable (a diferent proyect value).
I will test it on 2.8 later. Thank you
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54264] random variable problem when you set a seed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|HTTP |Main
Hardware|PC |All
OS|Windows Server 2003 |All
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54264] random variable problem when you set a seed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
If you are using :
Per Thread(User) : True
And same seed value, then you get the same values, as:
http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Random.html
" If two instances of Random are created with the same seed, and the same
sequence of method calls is made for each, they will generate and return
identical sequences of numbers"
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54264] random variable problem when you set a seed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54264
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Sebb <se...@apache.org> ---
It's difficult to work out what you mean here.
Please provide the simplest possible test case that shows the problem.
Also, please test it with the current version (2.8) first.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.