Reputation: 31
I am new to Jmeter. Please help me. I am trying to automate a scenario which will login to application with my username and password and then logout. My web application does not use session id for logins. It just uses username/password/unique cookie every time.
I recorded this script and put in test plan. On executing it, Jmeter creates hundreds of records in DB with same user name and timestamp.
How do I avoid this happening. Please help.
Upvotes: 1
Views: 342
Reputation: 58772
You need to send different user name and timestamp each time so use:
random string for user name for example ${__RandomString(10,abcdefg)}
${__time()} for timestamp
Upvotes: 0
Reputation: 318
You probable have set multiple thread users.
Under Thread Group change
Upvotes: 0