HighTechTalks DotNet Forums  

Performance test and Cache

Dotnet Framework (Performance) microsoft.public.dotnet.framework.performance


Discuss Performance test and Cache in the Dotnet Framework (Performance) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bkandula
 
Posts: n/a

Default Performance test and Cache - 10-06-2005 , 05:58 PM






Hi All,
We are developed an ASP.NET web application that has just one ASPX page and
loads different user control depending on the Context and user's access
rights.
We are using ACT to perform stress test and here is the issue:
a) When I run a test in ACT, I do not see any queries being run against the
SQL server database. The test case include both the Select and insert
queries. When I get into to the sql profiler I do not see any action, however
I can see all the action in SQL profiler while I am recording the test.
b) I have enabled the ASP.NET tracing and I do not see any entries in there
either.

I have a feeling that the my stress test are not running correctly in ACT.
When we contacted microsoft support, I was told that the IIS is serving the
requests from Cache instead of actually executing the pages. But this does
not make any sense because we have both insert and update operations in the
test case and I do not understand how this can be handled from the cache.
Does any body know what could be going on?
BTW: My Laptop(where the ACT is running) is not part of the domain where the
webserver is running. Howerver I have mapped a network drive to the
webserver, so I am guessing that it is not an authentication issue.
Thanks in advance.
Bala



Reply With Quote
  #2  
Old   
Alvin Bruney - ASP.NET MVP
 
Posts: n/a

Default Re: Performance test and Cache - 10-07-2005 , 10:28 AM






You need to write some code in your page load that does something like write
a file on each requests for instance. If the file isn't there when you run
ACT, then requests aren't hitting the page

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



"Bkandula" <Bkandula (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi All,
We are developed an ASP.NET web application that has just one ASPX page
and
loads different user control depending on the Context and user's access
rights.
We are using ACT to perform stress test and here is the issue:
a) When I run a test in ACT, I do not see any queries being run against
the
SQL server database. The test case include both the Select and insert
queries. When I get into to the sql profiler I do not see any action,
however
I can see all the action in SQL profiler while I am recording the test.
b) I have enabled the ASP.NET tracing and I do not see any entries in
there
either.

I have a feeling that the my stress test are not running correctly in ACT.
When we contacted microsoft support, I was told that the IIS is serving
the
requests from Cache instead of actually executing the pages. But this does
not make any sense because we have both insert and update operations in
the
test case and I do not understand how this can be handled from the cache.
Does any body know what could be going on?
BTW: My Laptop(where the ACT is running) is not part of the domain where
the
webserver is running. Howerver I have mapped a network drive to the
webserver, so I am guessing that it is not an authentication issue.
Thanks in advance.
Bala





Reply With Quote
  #3  
Old   
Aarthi
 
Posts: n/a

Default RE: Performance test and Cache - 10-19-2005 , 10:19 AM



Hi,
I have faced this issue when testing pages that largely postback to
themselves.
I am not able to predict always as to when it happens, but sometimes, the
hits seem to go the web server but never to the Database.(basically does a
POSt rather than a POST BACK)
To correct this, I usually change the auto-generated Vbscript file to
capture the ViewState separatelty into a variable and then pass it manually
for your postback
//Sample snippet
Function getViewState(goResponse)
getViewState = Replace(Replace(mid(goResponse.body, instr
(goResponse.body, "__VIEWSTATE") + 20, (instr(mid(goResponse.body,
instr(goResponse.body, "__VIEWSTATE") + 20)," />") -2)), "=", "%3D"), "+",
"%2B")
End Function

//In your initial GET store the ViewState in a global variable
gViewState = getViewState(oResponse)

Use this gViewState when you send the postback.
--
Aarthi R.S


"Bkandula" wrote:

Quote:
Hi All,
We are developed an ASP.NET web application that has just one ASPX page and
loads different user control depending on the Context and user's access
rights.
We are using ACT to perform stress test and here is the issue:
a) When I run a test in ACT, I do not see any queries being run against the
SQL server database. The test case include both the Select and insert
queries. When I get into to the sql profiler I do not see any action, however
I can see all the action in SQL profiler while I am recording the test.
b) I have enabled the ASP.NET tracing and I do not see any entries in there
either.

I have a feeling that the my stress test are not running correctly in ACT.
When we contacted microsoft support, I was told that the IIS is serving the
requests from Cache instead of actually executing the pages. But this does
not make any sense because we have both insert and update operations in the
test case and I do not understand how this can be handled from the cache.
Does any body know what could be going on?
BTW: My Laptop(where the ACT is running) is not part of the domain where the
webserver is running. Howerver I have mapped a network drive to the
webserver, so I am guessing that it is not an authentication issue.
Thanks in advance.
Bala



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.