469,600 Members | 2,281 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,600 developers. It's quick & easy.

load testing

Hi;

We need to loadtest our ASP.NET app. So two questions:

1) With just one user, it is slow. Especially the first time we hit a page.
This is pre-compiled and we use web deploy and then put it on IIS on Win
2003. But even on subsequent page requests, there can be a good 1/4 - 1/2
second before the page comes up. And this is with web browser and server on
the same LAN and nothing else happening on either computer. I can't believe
ASP.NET is just normally this slow. What do I need to do?

2) Any suggestions for a good program where we can hit the server with 50 -
500 simultaneous requests to measure response speed and make sure it works?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Feb 8 '07 #1
4 1538
check your page sizes, you probably have too must viewstate or you
application code is too slow.

there are a lot of load test tools. visual studio team has one, but you
should google for one in your price range and desired feature set.

all the good testing tools have a scripting language to drive the
browser, or site. they usually have a big learning curve, and will take
a significant amount of work to set up. look for one that will record a
session (and supports asp.net postbacks).

-- bruce (sqlwork.com)

David Thielen wrote:
Hi;

We need to loadtest our ASP.NET app. So two questions:

1) With just one user, it is slow. Especially the first time we hit a page.
This is pre-compiled and we use web deploy and then put it on IIS on Win
2003. But even on subsequent page requests, there can be a good 1/4 - 1/2
second before the page comes up. And this is with web browser and server on
the same LAN and nothing else happening on either computer. I can't believe
ASP.NET is just normally this slow. What do I need to do?

2) Any suggestions for a good program where we can hit the server with 50 -
500 simultaneous requests to measure response speed and make sure it works?
Feb 8 '07 #2
"bruce barker" wrote:
check your page sizes, you probably have too must viewstate or you
application code is too slow.
I have a default.aspx with no code-behind code and just some labels on the
page. And yet it can take up to 1/2 second to display it. Nothing tied to the
session, application, or anything.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Feb 8 '07 #3
Hi David,

Enable trace (web.config or @page directive) and see where the problem is.
For load testing, this should be enough:

http://www.microsoft.com/downloads/d...DisplayLang=en

--
Milosz
"David Thielen" wrote:
"bruce barker" wrote:
check your page sizes, you probably have too must viewstate or you
application code is too slow.

I have a default.aspx with no code-behind code and just some labels on the
page. And yet it can take up to 1/2 second to display it. Nothing tied to the
session, application, or anything.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Feb 9 '07 #4
thank you - will try both.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm


"Milosz Skalecki [MCAD]" wrote:
Hi David,

Enable trace (web.config or @page directive) and see where the problem is.
For load testing, this should be enough:

http://www.microsoft.com/downloads/d...DisplayLang=en

--
Milosz
"David Thielen" wrote:
"bruce barker" wrote:
check your page sizes, you probably have too must viewstate or you
application code is too slow.
I have a default.aspx with no code-behind code and just some labels on the
page. And yet it can take up to 1/2 second to display it. Nothing tied to the
session, application, or anything.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Feb 9 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Henry Hartley | last post: by
reply views Thread by Michael Weiner | last post: by
6 posts views Thread by Shabam | last post: by
5 posts views Thread by Rudolf Ball | last post: by
2 posts views Thread by Curtis Justus | last post: by
10 posts views Thread by GeekBoy | last post: by
2 posts views Thread by Chris | last post: by
5 posts views Thread by =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.