aspose file tools*
The moose likes Testing and the fly likes Jmeter problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Jmeter problem" Watch "Jmeter problem" New topic
Author

Jmeter problem

Chaz Camron
Greenhorn

Joined: Feb 18, 2011
Posts: 1
Hi,

I'm new to Jmeter. I recorded a basic test script ( user logs in to the system and logout) When i run it for more than one user thread. I'm getting a message ' user already logged in' . If i run the script for one thread this doesn't happen. My question is, when we are doing a load test for many users ex (200) do you have to have a csv data file that include 200 user names and 200 passwords to do a load test for 200 users?

The application im recording only allow one user to login at a time. If a user is logged in you cant login with same user credentials from another machine.
enric jaen
Greenhorn

Joined: Oct 15, 2010
Posts: 25
Yes you have to create a csv data set (Add > Config Element > CSV Data Set Config)
sugan san
Ranch Hand

Joined: May 23, 2013
Posts: 47
Yes, you have to use csv data config element. And also you have customize user sessions.

please visit the following URL for the steps to follow ;
http://www.technix.in/
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11509
    
  95

sugan san wrote:... And also you have customize user sessions.

Maybe. Many multi-user systems can be load tested without explicitly customizing user sessions. There is no point in making your test more complex than it needs to be.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
sugan san
Ranch Hand

Joined: May 23, 2013
Posts: 47
Its not user sessions, its dynamic session ids which should be maintained for individual users.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11509
    
  95

Sure, if there are dynamic session IDs that need to be maintained. The original poster did not mention any such problem.
 
wood burning stoves
 
subject: Jmeter problem