WAPT Forum: Number of Sessions under 1 user - WAPT Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Number of Sessions under 1 user

#1 User is offline   suja 

  • Member
  • PipPip
  • Group: Members
  • Posts: 12
  • Joined: 15-September 11

Posted 17 November 2011 - 06:15 AM

Hi,

I have run the test as per your time suggestions which is 8hours and 20 mins for 1000 users login,logout for my application. But it shows nearly 10 or 12 sessions under every user. These 10 sessions under every users represents the no of pages for login logout or is it possible to reduce it.

Please advise.

Thanks,
suja
0

#2 User is offline   Sergei Leonov 

  • Advanced Member
  • PipPipPip
  • Group: Administrators
  • Posts: 484
  • Joined: 12-February 08

Posted 17 November 2011 - 06:42 AM

Please, send your profile, scenario and log files to support.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
<a href="http://www.loadtestingtool.com" target="_blank">http://www.loadtestingtool.com</a>
0

#3 User is offline   suja 

  • Member
  • PipPip
  • Group: Members
  • Posts: 12
  • Joined: 15-September 11

Posted 23 November 2011 - 09:36 AM

Hi I have sent the files profile,scenario file and few logfiles in email to support please have a look and let us know.
0

#4 User is offline   g.venkat 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 08-February 12

Posted 08 February 2012 - 02:06 PM

I too have the same question!i.e. How can I run a ramp-up load for 200 users with 3 second delay and each user performs only one session.
0

#5 User is offline   Sergei Leonov 

  • Advanced Member
  • PipPipPip
  • Group: Administrators
  • Posts: 484
  • Joined: 12-February 08

Posted 10 February 2012 - 08:58 AM

View Postg.venkat, on 08 February 2012 - 02:06 PM, said:

I too have the same question!i.e. How can I run a ramp-up load for 200 users with 3 second delay and each user performs only one session.


You can add a delay at the end of profile, and each virtual user will wait others.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
<a href="http://www.loadtestingtool.com" target="_blank">http://www.loadtestingtool.com</a>
0

#6 User is offline   g.venkat 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 08-February 12

Posted 14 February 2012 - 02:22 PM

View PostSergei Leonov, on 10 February 2012 - 08:58 AM, said:

You can add a delay at the end of profile, and each virtual user will wait others.


In this case, I have two questions.
1. I am not getting the no of successful sessions. it is blank. Am I missing something here?
2. It wont exactly give me the time to complete these 200 users, since I add a wait time to the test run time (which I don't know and I am providing a sufficiently enough time to complete all the users)

for e.g. my scenario is: User logs in and he will do 10 interactive pages of different plan type enrollments and logs out. once he has done that he cannot enroll into the plans again(So user coming again and doing the next session will generate errors in system which will make the test put pressure on the CPU) unless he waived from the plans which is a different scenario and also is not a regular scenario. So to test the enrollment scenario, I want to put 1000 users with ramp-up 3 seconds and each user performs only one user session. and I want to know the exact time that it takes to complete these 1000 users.

One more question, Is Ramp-up is a Best scenario in this case?
0

#7 User is offline   Sergei Leonov 

  • Advanced Member
  • PipPipPip
  • Group: Administrators
  • Posts: 484
  • Joined: 12-February 08

Posted 15 February 2012 - 09:20 AM

View Postg.venkat, on 14 February 2012 - 02:22 PM, said:

In this case, I have two questions.
1. I am not getting the no of successful sessions. it is blank. Am I missing something here?


No, it's a correct behavior of WAPT.

View Postg.venkat, on 14 February 2012 - 02:22 PM, said:

2. It wont exactly give me the time to complete these 200 users, since I add a wait time to the test run time (which I don't know and I am providing a sufficiently enough time to complete all the users)

for e.g. my scenario is: User logs in and he will do 10 interactive pages of different plan type enrollments and logs out. once he has done that he cannot enroll into the plans again(So user coming again and doing the next session will generate errors in system which will make the test put pressure on the CPU) unless he waived from the plans which is a different scenario and also is not a regular scenario. So to test the enrollment scenario, I want to put 1000 users with ramp-up 3 seconds and each user performs only one user session. and I want to know the exact time that it takes to complete these 1000 users.

One more question, Is Ramp-up is a Best scenario in this case?


You need to properly parameterize your profile so that server treats each session as a new visitor.
Then set in WAPT Start and completion settings/Execute to 1000 and you will have 1000 users visited your site.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
<a href="http://www.loadtestingtool.com" target="_blank">http://www.loadtestingtool.com</a>
0

#8 User is offline   g.venkat 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 08-February 12

Posted 15 February 2012 - 01:09 PM

View PostSergei Leonov, on 15 February 2012 - 09:20 AM, said:

No, it's a correct behavior of WAPT.



You need to properly parameterize your profile so that server treats each session as a new visitor.
Then set in WAPT Start and completion settings/Execute to 1000 and you will have 1000 users visited your site.


Thank you for your explanation. But I am unable to understand when you say properly parameterize. May be a simple example will make me comfortable. Just take a simple example of adding 100 users in a ramp-up scenario. I did the following settings.
Profile Settings:
UserID: use a Sequence: "test" appended by 10000 with 1 increment
Screen shot attached.

Test Volume

Start and Complete Settings: Execute 100 user sessions before test end
Virtual Users: Ramp-up load from 0 to 100 users with step 1 every 2 seconds.

I executed this test but only 57 have been successful, the reason for this is that some users has more than one session and has performed for the same userid across virtual users for different sessions.

Attached File(s)


0

#9 User is offline   Sergei Leonov 

  • Advanced Member
  • PipPipPip
  • Group: Administrators
  • Posts: 484
  • Joined: 12-February 08

Posted 22 February 2012 - 06:02 AM

In your case the parameter Shift of $Seq function should be more than a number of sessions for one virtual user (use 100 or 1000 for example) and you will have an unique value.
Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
<a href="http://www.loadtestingtool.com" target="_blank">http://www.loadtestingtool.com</a>
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users