Hello Team,
I am working on load testing of one application using Jmeter 5.1.1. Unfortunately, client can not provide multiple test user IDs, so we have only 3 test user IDs. I want to load test with 50 concurrent users load. Application allows concurrent sessions from single user on browser and I can login with single user id on multiple machine and browser at same time. But when I am trying to use single user id for multiple threads, in jmeter response I see that "session already active" message for 2nd and onwards threads. Only first thread able to login. I ha e used HTTP cache and cookie manager to clear cache. I tried to set different config from HTTP Cookie manager, but seeing same error. Could someone help me how I need to handle this? Thanks in advanced! Harshal |
On Mon, Feb 22, 2021 at 5:31 AM Harshal Kulkarni
<[hidden email]> wrote: > > Hello Team, > > I am working on load testing of one application using Jmeter 5.1.1. > Unfortunately, client can not provide multiple test user IDs, so we have > only 3 test user IDs. I want to load test with 50 concurrent users load. > Application allows concurrent sessions from single user on browser and I > can login with single user id on multiple machine and browser at same time. Can you login with single user id on the same machine and same browser (different session) at same time? > But when I am trying to use single user id for multiple threads, in jmeter > response I see that "session already active" message for 2nd and onwards > threads. Only first thread able to login. Are you using distributed jmeter testing now? > I ha e used HTTP cache and cookie manager to clear cache. > I tried to set different config from HTTP Cookie manager, but seeing same > error. > Could someone help me how I need to handle this? > > Thanks in advanced! > > > Harshal --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Yes, I can able to login on same machine and same browser simultaneously.
On Mon, 22 Feb, 2021, 6:57 pm Tong Sun, <[hidden email]> wrote: > On Mon, Feb 22, 2021 at 5:31 AM Harshal Kulkarni > <[hidden email]> wrote: > > > > Hello Team, > > > > I am working on load testing of one application using Jmeter 5.1.1. > > Unfortunately, client can not provide multiple test user IDs, so we have > > only 3 test user IDs. I want to load test with 50 concurrent users load. > > Application allows concurrent sessions from single user on browser and I > > can login with single user id on multiple machine and browser at same > time. > > Can you login with single user id on the same machine and same browser > (different session) at same time? > > > But when I am trying to use single user id for multiple threads, in > jmeter > > response I see that "session already active" message for 2nd and onwards > > threads. Only first thread able to login. > > Are you using distributed jmeter testing now? > > > I ha e used HTTP cache and cookie manager to clear cache. > > I tried to set different config from HTTP Cookie manager, but seeing same > > error. > > Could someone help me how I need to handle this? > > > > Thanks in advanced! > > > > > > Harshal > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
Can anyone suggest me here? I am still struggling with this issue.
Thanks, Harshal On Tue, 23 Feb, 2021, 6:41 am Harshal Kulkarni, <[hidden email]> wrote: > Yes, I can able to login on same machine and same browser simultaneously. > > On Mon, 22 Feb, 2021, 6:57 pm Tong Sun, <[hidden email]> wrote: > >> On Mon, Feb 22, 2021 at 5:31 AM Harshal Kulkarni >> <[hidden email]> wrote: >> > >> > Hello Team, >> > >> > I am working on load testing of one application using Jmeter 5.1.1. >> > Unfortunately, client can not provide multiple test user IDs, so we have >> > only 3 test user IDs. I want to load test with 50 concurrent users load. >> > Application allows concurrent sessions from single user on browser and I >> > can login with single user id on multiple machine and browser at same >> time. >> >> Can you login with single user id on the same machine and same browser >> (different session) at same time? >> >> > But when I am trying to use single user id for multiple threads, in >> jmeter >> > response I see that "session already active" message for 2nd and onwards >> > threads. Only first thread able to login. >> >> Are you using distributed jmeter testing now? >> >> > I ha e used HTTP cache and cookie manager to clear cache. >> > I tried to set different config from HTTP Cookie manager, but seeing >> same >> > error. >> > Could someone help me how I need to handle this? >> > >> > Thanks in advanced! >> > >> > >> > Harshal >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> >> |
In reply to this post by Harshal Kulkarni
So you can login with single user id on the same machine (different
session) at same time using browser, but not jmeter, right? Have you found any differences between the two approaches? Basically, based on my experience, there is something wrong with your Jmeter script as it should not happen. If you cannot narrow the problem down with simple code, people might not be able to help you. On Mon, Feb 22, 2021 at 8:12 PM Harshal Kulkarni <[hidden email]> wrote: > > Yes, I can able to login on same machine and same browser simultaneously. > > On Mon, 22 Feb, 2021, 6:57 pm Tong Sun, <[hidden email]> wrote: >> >> On Mon, Feb 22, 2021 at 5:31 AM Harshal Kulkarni >> <[hidden email]> wrote: >> > >> > Hello Team, >> > >> > I am working on load testing of one application using Jmeter 5.1.1. >> > Unfortunately, client can not provide multiple test user IDs, so we have >> > only 3 test user IDs. I want to load test with 50 concurrent users load. >> > Application allows concurrent sessions from single user on browser and I >> > can login with single user id on multiple machine and browser at same time. >> >> Can you login with single user id on the same machine and same browser >> (different session) at same time? >> >> > But when I am trying to use single user id for multiple threads, in jmeter >> > response I see that "session already active" message for 2nd and onwards >> > threads. Only first thread able to login. >> >> Are you using distributed jmeter testing now? >> >> > I ha e used HTTP cache and cookie manager to clear cache. >> > I tried to set different config from HTTP Cookie manager, but seeing same >> > error. >> > Could someone help me how I need to handle this? >> > >> > Thanks in advanced! >> > >> > >> > Harshal >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
In reply to this post by Harshal Kulkarni
Hi,
Did you check and compare all HTTP headers in browser and JMeter? Maybe there are any which should be added manually in JMeter (and in Browser are added and managed by JavaScript) Mariusz On 2021/02/25 14:28:26, Harshal Kulkarni <[hidden email]> wrote: > Can anyone suggest me here? I am still struggling with this issue. > > > Thanks, > Harshal > > On Tue, 23 Feb, 2021, 6:41 am Harshal Kulkarni, <[hidden email]> > wrote: > > > Yes, I can able to login on same machine and same browser simultaneously. > > > > On Mon, 22 Feb, 2021, 6:57 pm Tong Sun, <[hidden email]> wrote: > > > >> On Mon, Feb 22, 2021 at 5:31 AM Harshal Kulkarni > >> <[hidden email]> wrote: > >> > > >> > Hello Team, > >> > > >> > I am working on load testing of one application using Jmeter 5.1.1. > >> > Unfortunately, client can not provide multiple test user IDs, so we have > >> > only 3 test user IDs. I want to load test with 50 concurrent users load. > >> > Application allows concurrent sessions from single user on browser and I > >> > can login with single user id on multiple machine and browser at same > >> time. > >> > >> Can you login with single user id on the same machine and same browser > >> (different session) at same time? > >> > >> > But when I am trying to use single user id for multiple threads, in > >> jmeter > >> > response I see that "session already active" message for 2nd and onwards > >> > threads. Only first thread able to login. > >> > >> Are you using distributed jmeter testing now? > >> > >> > I ha e used HTTP cache and cookie manager to clear cache. > >> > I tried to set different config from HTTP Cookie manager, but seeing > >> same > >> > error. > >> > Could someone help me how I need to handle this? > >> > > >> > Thanks in advanced! > >> > > >> > > >> > Harshal > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [hidden email] > >> For additional commands, e-mail: [hidden email] > >> > >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Free forum by Nabble | Edit this page |