WAPT Forum: ASP.NET Postbacks - WAPT Forum

Jump to content

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

ASP.NET Postbacks does not seem to work with asp.net postbacks

#1 User is offline   alec whittington 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 21-January 11

  Posted 24 January 2011 - 08:50 PM

First of all - I want to say you have a wonderful product. Out of the 5 or so we have tested, WAPT Pro was by far the easiest to get up and running with.

We currently have 4 applications we need to load and stress test, 2 are asp.net mvc and 2 are traditional asp.net. All 4 are targeting the asp.net 2.0 runtime. We currently have 3 of the 4 running in WAPT pro 2.1 without issue. The last one make heavy use of postbacks and viewstate. We cannot get the postbacks to work properly in our tests.

Here is our current setup:

ASP.NET 2.0 Web application
WAPT Pro 2.1 Trial
WAPT ASP.NET Module Trial

While recording, we do not encounter any errors. All goes as expected. When we try to verify the test, it fails on the first page to do a postback. The postback occurs when the value of a drop down changes, posting back to the server to generate some dynamic content. The error we get is "Validation of viewstate MAC failed" or "The state information is invalid for this page and might be corrupted." if we uncheck the "Encode" checkbox on the Post Parameters tab. We've tried not using the ASP.NET Module as well as using it. I've attached a screenshot of the Post Parameters page without the ASP.NET module installed and with the Encode unchecked for almost all parameters.

Due to the sensitive nature of our business and to maintain Hipaa compliance, I cannot post a log file or project file. Also, they would do no good anyway as the area in question is behind a single sign on and we cannot give access to it.

Has anyone else encountered this issue? I've read other posts talking about Viewstate sometimes not being recorded properly and have tried to force it to use the hidden field for it. No dice.

Any help would be greatly appreciated.

Alec

Attached File(s)


0

#2 User is offline   Sergei Leonov 

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

Posted 25 January 2011 - 09:17 AM

Unfortunately, it's almost impossible to understand reasons of problem without logs and profile.
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   alec whittington 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 21-January 11

Posted 25 January 2011 - 01:41 PM

QUOTE (Sergei Leonov @ Jan 25 2011, 02:17 AM) <{POST_SNAPBACK}>
Unfortunately, it's almost impossible to understand reasons of problem without logs and profile.


I will see if I can get a sample application to mimic the issue. If it does, I'll post a log and .wpp file.
0

#4 User is offline   Sergei Leonov 

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

Posted 27 January 2011 - 03:08 AM

I think a better idea is to send them to support@loadtestingtool.com
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