• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jmeter problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes you have to create a csv data set (Add > Config Element > CSV Data Set Config)
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic