ViewState issues & testing against asp.net dynamic site
Neil Davidson
Posts: 281
This is the fastest way of getting to the response data, so you'll have to
search for the appropriate string in the contents and then parse it.
Another way would be load up the HTML into an HTML parser / object model and
access it that way. That is likely to be slower though. Take a look at
http://www.devcomponents.com/htmldoc/ for an example.
- Neil
"Jim Stott" <xx@sss.com> wrote in message news:lC$7XXBEEHA.1208@server53...
> Thanks Brian - I've altered the page form enctype, and that does allow
ANTS
> to capture the pos tdata.
> We can get by with this for the core pages we are trying to test & eval,
> thanks!
>
> One more question however, if I need to capture form field data from a
> response - is the WebClient.HttpResponse.Content string
> the only thing available for me? We have field data (hidden fields in our
> particular case) that the server-side & client code use for sync
> that keeps request level state "cache" data for each page request. A
field
> GUID value becomes a the pointer into
> server-side dictionaries for the cached data. The response content can
> become rather large (400-700K not uncommon in this app).
>
> Thanks again,
>
> Jim
>
> "Brian Donahue" <brian.donahue@red-gate.com> wrote in message
> news:U5mIXw3DEHA.1524@server53...
> > Hi Jim,
> >
> > ANTS Load can't record ViewState information if you're MIME-encoding
> it
> > and using chunked transfers. The WebClient reads one continuous chunk
and
> > can't re-assemble the data. If you use WebClient.ViewState, you'll
likely
> > only get the first 'chunk' of the viewstate.
> >
> > Hopefully we can get this resolved in the future, but for now, you
> have
> > to avoid chunked transfers, I'm afraid...
> >
> > Brian Donahue
> > Red Gate Technical Support
> >
> > "Jim Stott" <xx@sss.com> wrote in message
> news:x1XoKzbDEHA.1520@server53...
> > > Hi,
> > >
> > > I wanted to evalutate & test AntsLoad against a asp.net site that we
> have
> > > developed.
> > >
> > > I recorded a simple sign-on and navigation of 3 screens of our site,
> > > however, after saving the recored script, there were errors within the
> > test
> > > script.
> > > While I can see the error, the chunk of viewstate/posting data is the
> > first
> > > argument for the routine - but is this an issue with the recording
> script?
> > > Is there tweaking that must be done to the test script post IE capture
> > > before I can run?
> > >
> > > WebClient.HttpRequest.ContentType = "multipart/form-data;
> > > boundary=
7d41ad18101a4"
> > >
> > >
> >
>
WebClient.HttpRequest.AddPostData("
7d41ad18101a
> > > 4" + chr(13) + chr(10) + "Content-Disposition: form-data;
> > > name=""__EVENTTARGET""" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > >
> >
>
"NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:List:_ctl5:_ctl6
> > > :_ctl0:anchor" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""__EVENTARGUMENT""" + chr(13) +
> > > chr(10) + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > > name=""__NotebookTabsdesktopnotebook1__ctl1__ctl7_State__""" + chr(13)
+
> > > chr(10) + "" + chr(13) + chr(10) + "0" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""treeTog""" + chr(13) + chr(10)
+
> > ""
> > > + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""__VIEWSTATE""" + chr(13) +
> chr(10)
> > +
> > > "" + chr(13) + chr(10) +
> > >
> >
>
"dDw2NzU3MDg5MjM7dDw7bDxpPDA+Oz47bDx0PDtsPGk8MT47aTwzPjtpPDY+Oz47bDx0PDtsPGk
> > >
> >
>
8MD47PjtsPHQ8O2w8aTwwPjtpPDI+O2k8Mz47aTw1PjtpPDc+O2k8MTE+Oz47bDx0PEA8L21hcHh
> > >
> >
>
uZXQvZnJhbWV3b3JrL0ltYWdlcy87L21hcHhuZXQvZnJhbWV3b3JrL0ltYWdlcy9FTi87Pjs7Pjt
> > >
> >
>
0PEA8L21hcHhuZXQvZnJhbWV3b3JrL0ltYWdlcy9FTi87L21hcHhuZXQvZnJhbWV3b3JrL0ltYWd
> > >
> >
>
lcy87Pjs7Pjt0PDtsPGk8MD47PjtsPHQ8QDxTZWFyY2ggICAgIC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BhcnR5MTpMaXN0Ol9
> > >
> >
>
jdGw1OnJvd0NoZWNrQm94O05vdGVib29rVGFic2Rlc2t0b3Bub3RlYm9vazE6TWVzc2FnZWNzOk1
> > > zZ0J1dHRvbjs+Pg==" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > > name=""NotebookTabsdesktopnotebook1:_ctl1:lookupvalue""" + chr(13) +
> > chr(10)
> > > + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > >
name=""NotebookTabsdesktopnotebook1:NavtreeFrameNavTree0:_ctl0:_ctl0"""
> +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > >
> >
>
"d2097823-8bd1-448a-812e-5000c3dbfd52:True;11965d95-6980-43b6-a277-0d005d5bf
> > >
> >
>
74e1:True;6fb9fa6f-ce22-4f7d-9a90-0d0014ff32d23:True;e4178507-875c-4cce-bb9e
> >
>
> -5000c8ca9d16:True;dca33b70-b9f3-4568-8e3d-5000e1a3d519:True;d07d13d8-5ed4
> > -4
> > >
> >
>
f85-8fca-5000028beb8f:True;101ed429-6dd6-4adf-b4bc-500037566648:True;053da3e
> > > d-6343-464f-82ad-0d005b8dcf3815:True;" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > >
name=""NotebookTabsdesktopnotebook1:NavtreeFrameNavTree0:_ctl0:_ctl1"""
> +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) + ":true;" + chr(13) +
> chr(10)
> > +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > >
> >
>
name=""NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:QueryBarCo
> > > mpositecs:_ctl5""" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > "default"
> > > + chr(13) + chr(10) + "
7d41ad18101a4" +
> > chr(13)
> > > + chr(10) + "Content-Disposition: form-data;
> > >
> >
>
name=""NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:QueryBarCo
> > > mpositecs:hidepromptarea""" + chr(13) + chr(10) + "" + chr(13) +
chr(10)
> +
> > > "False" + chr(13) + chr(10) +
> "
7d41ad18101a4"
> > +
> > > chr(13) + chr(10) + "Content-Disposition: form-data;
> > >
> >
>
name=""NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:_ctl0:PAGE
> > > R:_ctl10""" + chr(13) + chr(10) + "" + chr(13) + chr(10) + "1" +
chr(13)
> +
> > > chr(10) + "
7d41ad18101a4" + chr(13) +
> chr(10)
> > +
> > > "Content-Disposition: form-data;
> > > name=""NotebookTabsdesktopnotebook1:Messagecs:_ctl6""" + chr(13) +
> chr(10)
> > +
> > > "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:PAGEGUID""" +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "321b366d-123b-4b31-8489-32c4334481ed" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:CACHEGUID""" +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "6291222e-7983-429b-b5f4-9e0da426bf22" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:ORGPAGEGUID"""
+
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:DONE""" +
> chr(13)
> > +
> > > chr(10) + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> name=""PAGETRANSACTION:pagetransaction"""
> > +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) + "false" + chr(13) +
chr(10)
> +
> > > "
7d41ad18101a4--" + chr(13) + chr(10) +
"")
> > >
> > > WebClient.POST("http://mycompany/testpage.aspx")
> > >
> > > The middle line is in error for each page request, with the help text
> "The
> > > WebClient.HttpRequest.AddPostData( line is in error - Argument not
> > specified
> > > for parameter 'encode' for 'Public Sub AddPostData(name as String,
value
> > as
> > > String, encode as Boolean)'"
> > >
> > >
> > > Thanks,
> > >
> > > Jim
> > >
> > >
> >
> >
>
>
search for the appropriate string in the contents and then parse it.
Another way would be load up the HTML into an HTML parser / object model and
access it that way. That is likely to be slower though. Take a look at
http://www.devcomponents.com/htmldoc/ for an example.
- Neil
"Jim Stott" <xx@sss.com> wrote in message news:lC$7XXBEEHA.1208@server53...
> Thanks Brian - I've altered the page form enctype, and that does allow
ANTS
> to capture the pos tdata.
> We can get by with this for the core pages we are trying to test & eval,
> thanks!
>
> One more question however, if I need to capture form field data from a
> response - is the WebClient.HttpResponse.Content string
> the only thing available for me? We have field data (hidden fields in our
> particular case) that the server-side & client code use for sync
> that keeps request level state "cache" data for each page request. A
field
> GUID value becomes a the pointer into
> server-side dictionaries for the cached data. The response content can
> become rather large (400-700K not uncommon in this app).
>
> Thanks again,
>
> Jim
>
> "Brian Donahue" <brian.donahue@red-gate.com> wrote in message
> news:U5mIXw3DEHA.1524@server53...
> > Hi Jim,
> >
> > ANTS Load can't record ViewState information if you're MIME-encoding
> it
> > and using chunked transfers. The WebClient reads one continuous chunk
and
> > can't re-assemble the data. If you use WebClient.ViewState, you'll
likely
> > only get the first 'chunk' of the viewstate.
> >
> > Hopefully we can get this resolved in the future, but for now, you
> have
> > to avoid chunked transfers, I'm afraid...
> >
> > Brian Donahue
> > Red Gate Technical Support
> >
> > "Jim Stott" <xx@sss.com> wrote in message
> news:x1XoKzbDEHA.1520@server53...
> > > Hi,
> > >
> > > I wanted to evalutate & test AntsLoad against a asp.net site that we
> have
> > > developed.
> > >
> > > I recorded a simple sign-on and navigation of 3 screens of our site,
> > > however, after saving the recored script, there were errors within the
> > test
> > > script.
> > > While I can see the error, the chunk of viewstate/posting data is the
> > first
> > > argument for the routine - but is this an issue with the recording
> script?
> > > Is there tweaking that must be done to the test script post IE capture
> > > before I can run?
> > >
> > > WebClient.HttpRequest.ContentType = "multipart/form-data;
> > > boundary=
7d41ad18101a4"
> > >
> > >
> >
>
WebClient.HttpRequest.AddPostData("
7d41ad18101a
> > > 4" + chr(13) + chr(10) + "Content-Disposition: form-data;
> > > name=""__EVENTTARGET""" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > >
> >
>
"NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:List:_ctl5:_ctl6
> > > :_ctl0:anchor" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""__EVENTARGUMENT""" + chr(13) +
> > > chr(10) + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > > name=""__NotebookTabsdesktopnotebook1__ctl1__ctl7_State__""" + chr(13)
+
> > > chr(10) + "" + chr(13) + chr(10) + "0" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""treeTog""" + chr(13) + chr(10)
+
> > ""
> > > + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""__VIEWSTATE""" + chr(13) +
> chr(10)
> > +
> > > "" + chr(13) + chr(10) +
> > >
> >
>
"dDw2NzU3MDg5MjM7dDw7bDxpPDA+Oz47bDx0PDtsPGk8MT47aTwzPjtpPDY+Oz47bDx0PDtsPGk
> > >
> >
>
8MD47PjtsPHQ8O2w8aTwwPjtpPDI+O2k8Mz47aTw1PjtpP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0NMaXN0QWRtaW5QYXJ0eTE
> > >
> >
>
6TGlzdDpfY3RsMzpyb3dDaGVja0JveDtOb3RlYm9va1RhYnNkZXNrdG9wbm90ZWJvb2sxOkNvbnR
> > >
> >
>
lbnRGcmFtZUNDTGlzdEFkbWluUGFydHkxOkxpc3Q6X2N0bDQ6cm93Q2hlY2tCb3g7Tm90ZWJvb2t
> > >
> >
>
UYWJzZGVza3RvcG5vdGVib29rMTpDb250ZW50RnJhbWVDQ0xpc3RBZG1pblBhcnR5MTpMaXN0Ol9
> > >
> >
>
jdGw1OnJvd0NoZWNrQm94O05vdGVib29rVGFic2Rlc2t0b3Bub3RlYm9vazE6TWVzc2FnZWNzOk1
> > > zZ0J1dHRvbjs+Pg==" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > > name=""NotebookTabsdesktopnotebook1:_ctl1:lookupvalue""" + chr(13) +
> > chr(10)
> > > + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > >
name=""NotebookTabsdesktopnotebook1:NavtreeFrameNavTree0:_ctl0:_ctl0"""
> +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > >
> >
>
"d2097823-8bd1-448a-812e-5000c3dbfd52:True;11965d95-6980-43b6-a277-0d005d5bf
> > >
> >
>
74e1:True;6fb9fa6f-ce22-4f7d-9a90-0d0014ff32d23:True;e4178507-875c-4cce-bb9e
> >
>
> -5000c8ca9d16:True;dca33b70-b9f3-4568-8e3d-5000e1a3d519:True;d07d13d8-5ed4
> > -4
> > >
> >
>
f85-8fca-5000028beb8f:True;101ed429-6dd6-4adf-b4bc-500037566648:True;053da3e
> > > d-6343-464f-82ad-0d005b8dcf3815:True;" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > >
name=""NotebookTabsdesktopnotebook1:NavtreeFrameNavTree0:_ctl0:_ctl1"""
> +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) + ":true;" + chr(13) +
> chr(10)
> > +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> > >
> >
>
name=""NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:QueryBarCo
> > > mpositecs:_ctl5""" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > "default"
> > > + chr(13) + chr(10) + "
7d41ad18101a4" +
> > chr(13)
> > > + chr(10) + "Content-Disposition: form-data;
> > >
> >
>
name=""NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:QueryBarCo
> > > mpositecs:hidepromptarea""" + chr(13) + chr(10) + "" + chr(13) +
chr(10)
> +
> > > "False" + chr(13) + chr(10) +
> "
7d41ad18101a4"
> > +
> > > chr(13) + chr(10) + "Content-Disposition: form-data;
> > >
> >
>
name=""NotebookTabsdesktopnotebook1:ContentFrameCCListAdminParty1:_ctl0:PAGE
> > > R:_ctl10""" + chr(13) + chr(10) + "" + chr(13) + chr(10) + "1" +
chr(13)
> +
> > > chr(10) + "
7d41ad18101a4" + chr(13) +
> chr(10)
> > +
> > > "Content-Disposition: form-data;
> > > name=""NotebookTabsdesktopnotebook1:Messagecs:_ctl6""" + chr(13) +
> chr(10)
> > +
> > > "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:PAGEGUID""" +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "321b366d-123b-4b31-8489-32c4334481ed" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:CACHEGUID""" +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "6291222e-7983-429b-b5f4-9e0da426bf22" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:ORGPAGEGUID"""
+
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data; name=""PAGETRANSACTION:DONE""" +
> chr(13)
> > +
> > > chr(10) + "" + chr(13) + chr(10) + "" + chr(13) + chr(10) +
> > > "
7d41ad18101a4" + chr(13) + chr(10) +
> > > "Content-Disposition: form-data;
> name=""PAGETRANSACTION:pagetransaction"""
> > +
> > > chr(13) + chr(10) + "" + chr(13) + chr(10) + "false" + chr(13) +
chr(10)
> +
> > > "
7d41ad18101a4--" + chr(13) + chr(10) +
"")
> > >
> > > WebClient.POST("http://mycompany/testpage.aspx")
> > >
> > > The middle line is in error for each page request, with the help text
> "The
> > > WebClient.HttpRequest.AddPostData( line is in error - Argument not
> > specified
> > > for parameter 'encode' for 'Public Sub AddPostData(name as String,
value
> > as
> > > String, encode as Boolean)'"
> > >
> > >
> > > Thanks,
> > >
> > > Jim
> > >
> > >
> >
> >
>
>
- Neil Davidson
Red Gate Software Ltd
Red Gate Software Ltd
This discussion has been closed.