Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jmeter problem

 
Chaz Camron
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you have to create a csv data set (Add > Config Element > CSV Data Set Config)
 
sugan san
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 11878
195
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sugan san
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its not user sessions, its dynamic session ids which should be maintained for individual users.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11878
195
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, if there are dynamic session IDs that need to be maintained. The original poster did not mention any such problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic