Bug 33145 - user defined variables get mixed up
Summary: user defined variables get mixed up
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.0.1
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL: http://arwen.telic.net/axis/services
Keywords: NeedsReleaseNote, TestID
Depends on:
Blocks:
 
Reported: 2005-01-18 09:57 UTC by gabo manuel
Modified: 2006-04-30 11:07 UTC (History)
0 users



Attachments
Test plan showing UDV variable corruption (13.03 KB, text/plain)
2005-11-13 03:44 UTC, Sebb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gabo manuel 2005-01-18 09:57:44 UTC
Hello sir/ma'am,

i have been using jmeter to do both acceptance and load testing of our 
webservices. 

this is my second time to write this so ill just cut the long story short.

i have 12 threads each having its own user defined variables (UDV) config 
element. these 12 threads have the following in common as well: adminUsr, 
adminPwd, brandID, groupID, adminID.

the names are the same but their values are different.. these 12 threads point 
to different url's. but all these webservices are on the same system.

tested individually, all 12 threads work properly. but when runned 
simultaneously data sent gets all mixed up. value of adminUsr, adminPwd, 
brandID, etc. for thread1 gets passed for thread3. i cannot confirm a pattern 
for this yet. all i know is that for the past 2 weeks.. i thought the problem 
was our webservice.. then i started looking at the logs. thats where i saw the 
data getting mixed up.

please contact me for any updates. tnx.
Comment 1 Sebb 2005-01-18 21:05:59 UTC
Thanks for the report - we'll investigate. 
Would you be able to provide a test case if required?

Meanwhile:

The User Parameters Pre-Processor could be used instead - it uses a synchronized
method to set the variables. Just use the Name and User_1 columns.

BTW, version 2.0.2 fixes quite a few bugs.
Comment 2 gabo manuel 2005-01-19 03:59:36 UTC
sir,

i am still in the process of studying other elements of the tool. i havent used 
User parameters yet. but by the interface. i dont think its the set of things 
that would be of use to me.. 

the name i suppose is the label with which i use the '$' but where would i 
place the value?
Comment 3 Mike Stover 2005-06-30 19:49:32 UTC
Can you attach a test script that demonstrates the problem.  I'm having trouble
understanding how you are trying to use the User Defined Variables element.
Comment 4 Sebb 2005-11-13 03:44:38 UTC
Created attachment 16955 [details]
Test plan showing UDV variable corruption

UDVs aren't independent across thread groups; User Parameters are
Comment 5 Sebb 2006-04-30 18:07:16 UTC
Documented in component_reference