Jump to content


Need help with WAPT 6.0 user session emulations


  • Please log in to reply
17 replies to this topic

#1 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 22 April 2010 - 08:58 PM

My agency purchased a copy of the WAPT 6.0 Load Test Software in order to load test our new applications. Currently I am having an extremely difficult time figuring out how to correctly set up these user profiles. Here is the scenario I am having a problem with.

We have an ASP.NET application that uses forms authentication, and was developed as a Single Sign On application. Users that visit the Login screen can click on a check box to use automatic sign in which pulls their windows identity and authenticates them to our application. We also have a full audit system that tracks and logs a user's movement through the system. Here is my dilema. When setting up a user profile that simply logs in to the application and logs out there is a major inconsistency in how the recorder works and the actual test run.

Here is an example;

I have 3 accounts (LoadTestUser1, LoadtestUser2, and LoadTestUser3)
I create a profile that has all 3 accounts, with passwords, listed under Integrated Windows Authentication. I am running the WAPT software as LoadTestUser1 in order to utilize windows authentication for the actual recording, otherwise, it simply pulls my own windows identity and I need the recording to use one of the load test accounts. Now, the steps for this recording are;

1. Navigate to LogIn page
2. Start WAPT recording
3. Check the auto sign in box
4. Click the Login button.
5. Once logged in and on the default home page, click the LogOut button.
6. Once back at the LogIn screen, press Stop Recording.

After the initial recording is done, I go and check my auditing database to see if the actions were recorded, and they are. I get audit trails for the following;

1. LogOn
2. LogOff
3. Session End

However, when i run the actual test, for each user listed I only get one event audited;

1. LogOn

The user profiles never show that the LogOff event was fired during the test run even though during the recording phase it was proven to have occurred. Any insight here would really help. It seems like following login, no other actions occur for the listed users in the profile. How do I fix this?


#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 23 April 2010 - 08:14 AM

You can perform a verify test and look to a full log. I think some error occured between logon and logoff.
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
http://www.loadtestingtool.com

#3 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 23 April 2010 - 03:22 PM

It appears as if the recorder does not accurately pick up the button click events, how can I simulate these or create a parameter that will do so.

#4 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 26 April 2010 - 10:12 AM

You can add a necessary request manually. Or you can try WAPT Pro 2.0 from http://www.loadtesti.../WAPTPro2.0.zip
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
http://www.loadtestingtool.com

#5 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 26 April 2010 - 02:47 PM

I am looking for a detailed example that will show me how to manually add a request that includes a form with a submit button and an On_Click event. Any help would be greatly appreciated.

#6 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 27 April 2010 - 06:10 AM

If don't know how to add a POST request with a form data I recommend you to use WAPT Pro 2.0. It records all request. Then you can copy a necessary POST request in WAPT 6.0.
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
http://www.loadtestingtool.com

#7 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 27 April 2010 - 03:32 PM

I already downloaded it and tried it. But that program has it's own issue. See my post under the "How To Solve My Problem" area entitled "WAPT Pro 2.0 Beta Integrated Windows Authentication fails in recorder ". In the WAPT Pro 2 BETA, the windows authentication fails the minute you start recording. The second you stop recording, windows authentication starts working again. Basically, I can access my site on our local intranet through the recorder window as long as I am not recording, but if the recorder is on I get a 401 error. I am really getting frustrated here. I just need to know how to manually add a button click event to a user profile. Someone has to have this code somewhere! I feel like I am getting no support here for a product my agency has purchased already. I am not looking for short 1 sentance answers....I am looking for SUPPORT! Someone, please...help me since I can't seem to get support from this vendor.

#8 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 28 April 2010 - 02:04 AM

QUOTE (Eolastear @ Apr 27 2010, 10:32 PM) <{POST_SNAPBACK}>
I already downloaded it and tried it. But that program has it's own issue. See my post under the "How To Solve My Problem" area entitled "WAPT Pro 2.0 Beta Integrated Windows Authentication fails in recorder ". In the WAPT Pro 2 BETA, the windows authentication fails the minute you start recording. The second you stop recording, windows authentication starts working again. Basically, I can access my site on our local intranet through the recorder window as long as I am not recording, but if the recorder is on I get a 401 error.


It's a bug, we are fixing it.

Give me your scenario, profile and full log or send they to support@loadtestingtool.com. I'll explain how to add a POST request in your case.
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
http://www.loadtestingtool.com

#9 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 28 April 2010 - 06:23 PM

QUOTE (Sergei Leonov @ Apr 27 2010, 07:04 PM) <{POST_SNAPBACK}>
It's a bug, we are fixing it.

Give me your scenario, profile and full log or send they to support@loadtestingtool.com. I'll explain how to add a POST request in your case.


Sergei,

I have attached the requested files. Please let me know what I can do. Also, any idea when the reported authentication bug in WAPT Pro 2.0 Beta will be fixed? Thanks.

Attached Files



#10 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 29 April 2010 - 10:28 AM

I checked your log. It shows that you didn't log in. The system always redirected you to the log in page. Try to specify a user name and password in page_2 and page_3 in ctl00$ContentPlaceHolder$LogOnControl$UserName and ctl00$ContentPlaceHolder$LogOnControl$Password parameters.
In page_2 I created two variables and used their values for __VIEWSTATE and __EVENTVALIDATION parameters in page_3. Iíve attached the changed profile.

Attached Files


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
http://www.loadtestingtool.com

#11 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 30 April 2010 - 07:12 PM

Sergei,

Your presented solution had no effect. The previous scenario I sent involved automatic sign in which works by pulling the current windows identity for authentication. I have attached a revised scenario which uses manual log in. I am still having issue with the log out process being recorded properly. Please review and provide any feed back. Thanks.

Attached Files



#12 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 04 May 2010 - 10:38 AM

QUOTE (Eolastear @ May 1 2010, 02:12 AM) <{POST_SNAPBACK}>
Sergei,

Your presented solution had no effect. The previous scenario I sent involved automatic sign in which works by pulling the current windows identity for authentication. I have attached a revised scenario which uses manual log in. I am still having issue with the log out process being recorded properly. Please review and provide any feed back. Thanks.


I looked to the log and I have no idea why logon failed. Could you provide an access to your site?
Also we've fixed the issue with authorization in WAPT Pro 2.0. You can download it from http://www.loadtesti.../WAPTPro2.0.zip
WAPT Pro 2.0 has a new recorder. Now you can record and compare the recorded and performed requests and find the differences.

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
http://www.loadtestingtool.com

#13 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 04 May 2010 - 10:39 PM

QUOTE (Sergei Leonov @ May 4 2010, 03:38 AM) <{POST_SNAPBACK}>
I looked to the log and I have no idea why logon failed. Could you provide an access to your site?
Also we've fixed the issue with authorization in WAPT Pro 2.0. You can download it from http://www.loadtesti.../WAPTPro2.0.zip
WAPT Pro 2.0 has a new recorder. Now you can record and compare the recorded and performed requests and find the differences.


First off, the new version of the WAPT Pro 2.0 Beta is now working, the integrated authentication issue appears to be resolved. That being said, when I used the recorder to create my profile, and ran the test in WAPT Pro 2.0 Beta, everything worked as expected. I duplicated the profile in WAPT 6.0 and ran the test and it continued to have the same issue. One of the things I noticed that is different is that in WAPT Pro, you give the option to select the POST Parameter type. This was not allowed in WAPT. Other than this, I can find no differences between the profiles. I need to know why identical profiles are working in one version and not the other. Could the POST parameter type be causing the issue?

#14 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 05 May 2010 - 10:36 AM

Could you give me the profiles and logs from WAPT 6.0 and WAPT Pro 2.0?
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
http://www.loadtestingtool.com

#15 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 05 May 2010 - 02:49 PM

QUOTE (Sergei Leonov @ May 5 2010, 02:36 AM) <{POST_SNAPBACK}>
Could you give me the profiles and logs from WAPT 6.0 and WAPT Pro 2.0?



I have attached the requested files. Please advise on what I should try next. I'm literally at a loss here.

Attached Files



#16 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 06 May 2010 - 10:07 AM

I compared two logs and found an issue. There was some problems with cookie management. What build of WAPT 6.0 do you use? Please, try the latest build from http://www.loadtesti...lds/WAPT6.0.zip and send me a log.
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
http://www.loadtestingtool.com

#17 Guest_Eolastear_*

Guest_Eolastear_*
  • Guests

Posted 06 May 2010 - 02:42 PM

QUOTE (Sergei Leonov @ May 6 2010, 03:07 AM) <{POST_SNAPBACK}>
I compared two logs and found an issue. There was some problems with cookie management. What build of WAPT 6.0 do you use? Please, try the latest build from http://www.loadtesti...lds/WAPT6.0.zip and send me a log.



Sergei,

Well slap me around and call me Susan....Houston, we have lift off! I was using the Dec 2009 build of WAPT 6.0. Apparently this was the problem because the minute I used the April 2010 build, it worked as advertised. My only suggestion at this juncture would be to have a better method for informing clients of new build releases. I've lost weeks on this and it wound up being a simple build issue. Anyhow, thank you for sticking with me through this.

One Note, while the recorder does infact no record the log out action, I noticed a little strange behavior. My profile ends by clicking the LogOut button and firing a logout event. This returns the user to the login screen but does not trigger any further behavior. For some reason, WAPT attempts to log in again. I know this because I have a full audit trail that runs on my system so important events are tracked. After every logout event run by WAPT, I get an immediate Login event that fails. When running the app outside of the WAPT software this behavior is not observed. Any ideas on the cause of this glitch. it's not such a big deal that I cannot complete my load tests, but it is rather odd.

#18 Adib

Adib

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 07 April 2017 - 11:43 AM

Help me please :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users