Pages

Tuesday, August 28, 2007

WebTest recorded using Fiddler fails: The page is performing an async postback but the ScriptManager.SupportsPartialRendering property is set to false

Used the Fiddler Tool to record a web test over an AJAX enabled webpage.

The error on playback is: Primary Request Failed "500 The page is performing an async postback but the ScriptManager.SupportsPartialRendering property is set to false. Ensure that the property is set to true during an async postback."

Resolved by deleting references to Hidden fields.

Under Form Post Parameters: _VIEWSTATE={{$HIDDEN3.__VIEWSTATE}}
Extract Rule with Context Parameter Name: $HIDDEN4.__VIEWSTATE

4 comments:

Filthysock said...

The problem is, that the test manager is using the user agent for IE5.5.
Double click the localtestrun.testrunconfig file in your solution and go to web test and change the browser to IE6

Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

ravi said...

hi,

i am getting the same error while replaying the script in jmeter.i used badboy tool to record the steps and exported to jmeter.while replaying the script i am getting the same error.

"179|error|500|The page is performing an async postback but the ScriptManager.SupportsPartialRendering property is set to false. Ensure that the property is set to true during an async postback.|"

can any one pls help me how to solve this prob.i deleted the viewstate parameter from all the steps,eventhough i am getting the same error.....pls help me out.......

thanks ,
ravi

Sherry Chupka said...

Sounds like it has to do with how the script is being replayed. The first commenter said to change the testrun agent to use the latest version of IE. I haven't used jMeter, but see if there's a way to change how the script is replayed.