LR engine is unable to capture the dynamic value in the Fee&Escrows
Page (F&E Page) & encounters below error
" Invalid postback or callback argument. Event validation is
enabled using <pages enableEventValidation="true"/> in
configuration or <%@ Page EnableEventValidation="true"
%> in a page. For security purposes, this feature verifies
that arguments to postback or callback events originate from the
server control that originally rendered them. If the data is
valid and expected, use the
ClientScriptManager.RegisterForEventValidation method in order to
register the postback or callback data for validation."
We have re verified the LB, RB by capturing the values from View Source
a) By navigating manually to that F&E page
b) F&E page in the run time viewer window
c) from the Generation log and found they all are same
( FYI: Sometimes script runs fine with out any issues, but we
encounter this issue frequently).
We have googled the solution for this issue it is suggested to
maintain proper delays while recording and before executing the page.
We followed the same and maintained a delay upto 20 seconds while
recording (i.e. navigating from page to page) still the LR engine is
not able to capture the F&S page server response.
The error persists.
Application: .net app
LR Version: 9.52
Following are the Correlation details
web_reg_save_param("LFP_VS06",
"LB/IC=<input type=\"hidden\" name=\"__VIEWSTATE\" id=\"__VIEWSTATE\" value=\"",
"RB/IC=\" />",
"IgnoreRedirections=Yes",
"RelFrameID=1",
LAST);
web_reg_save_param("LFP_EV06",
"LB/IC=<input type=\"hidden\" name=\"__EVENTVALIDATION\"
id=\"__EVENTVALIDATION\" value=\"",
"RB/IC=\" />",
"IgnoreRedirections=Yes",
"RelFrameID=1",
LAST);
Also attached snapshot of the error.Any help will ne appreciated
Thanks in advance
Srikk
(1) State management is not something captured once for an app, but
typically has to be updated with almost every page
(2) Multiple sets of state management variables could be active at any given
point. As we ask developers to be cognizant of their use of resources, once
you understand how many sets of state management variables are active then
reuse your existing state management variables to conserve memory on a per
virtual user basis. If you're not reusing you could simply be exhausting
memory on the local client.
(3) Your state management variable may be beyond the standard buffer length
for collection and you may need to expand this buffer
(4) If you are not checking to ensure that you are on the page you expect
then there is a very good chance that you are not and that the actual source
of the error is one or two pages previous to where you have the "dump" from
the web server
(5) Make sure that the data you are using is in the correct 'state' for the
set of actions you are taking, i.e. you are not checking the balance of a
closed account as an example. This is directly related to (4) above.
(6) Have you considered trimming your LB and RB conditions to just what you
need:
"LB=__VIEWSTATE\" value=\"","RB=\" "
"LB=__EVENTVALIDATION\" value=\"","RB/IC=\" "
James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix
Hi,
Thanks in advance
Srikk
--
You received this message because you are subscribed to the Google
"LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com To
unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en
Local vs Tool issue: LoadRunner has a very long proven track record of
being able to collect viewstates and successfully replace viewstate
information on playback. However if the business process fails in some way
before the page in question is loaded, then the valid collection of a
viewstate will result in an error when the state passed back as a part of a
request where the request has no possible context to the state in question,
i.e. you cannot submit a form from a page which did not return a form.
James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix
*cough*
What?!?
You need almost 4MB to capture a single viewstate variable?
Here is where a good performance tester will tell the development team
to go back to the drawing board and redesign the state management.
Performance issues are all but guaranteed if this much data needs to
be transferred back and forth between each step. Consider for a second
what happens to your response times when someone on a remote site with
a 2Mb/512k split ADSL link needs to send that back to
How many of these 4Mb variables do you typically need to capture on a
single page? How much memory do you have available on your load
generators? How much memory does the server side of this application
have, for that matter?
>> (4) If you are not checking to ensure that you are on the page you expect
>> then there is a very good chance that you are not and that the actual source
>> of the error is one or two pages previous to where you have the "dump" from
>> the web server
>
> Srik: We are sure that we are on the right page ( bescause all the
> previous pages containing the VS & EV are correlated successfully) and
> verified the first occurance and trying to capture the dynamic value
> from it.
Are you certain that each page displays the expected result, as well?
Just correlating dynamic variables is not necessarily enough if all
pages look the same. You need to make 100% sure that what the customer
is supposed to see is actually on the page in question.
Regards,
Floris
---
'Many people asked me if I was afraid to fly and implied that I should
have stayed home, close to family and friends. I replied that if I had
stayed home, the terrorists would have won.
Unfortunately, my government does not agree with my definition of
winning. They think that living in fear and trying desperately to keep
us all 100% safe while flying is the most effective way to fight
terrorism. It reminds me of a boss that told me he liked it when
people lived in fear of being fired, they worked harder. I told him
being fired held no fear for me. When you live in fear, you do
irrational things - like sending millions of people's shoes through an
xray scanner every day.'
-- Stormy Peters