Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9033767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:18:44+00:00 2026-06-16T08:18:44+00:00

In order to test how many async request can be handled at the same

  • 0

In order to test how many async request can be handled at the same time, I’ve created a sample console application that showers my web application with requests:

    static void Main(string[] args)
    {
        const string url = "http://localhost/cip/AsyncPage.aspx";

        ThreadStart del = delegate
        {
            Console.WriteLine("Starting request");
            WebRequest request = WebRequest.Create(url);
            request.GetResponse();
            Console.WriteLine("Response ready");
        };

        for (int i = 0; i < 50; i++)
        {
            new Thread(del).Start();
        }

        Console.ReadLine();
    }

AsyncPage.aspx is an Async=”true” page and contains a task that loops from 1 to 10, every iteration sleeps for 1 second and writes to response dummy data (so single request takes 10 seconds).

What I’ve noticed that responses are returned in a batch of 10. So after 10 seconds I get 10 responses, after next 10 seconds, I get next 10 responses. I’ve done similar testing with Fiddler and result was the same – 10 requests seem to use all …. ASP.NET resources?

I wonder which ASP.NET setting is responsible for this behaviour.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T08:18:45+00:00Added an answer on June 16, 2026 at 8:18 am

    Local load testing on a consumer platform is not an option in this instance.

    It’s not ASP.NET that has request limits, it’s IIS itself and it depends on which version of Windows you’re running. Essentially, you’re restricted to a maximum of 10 unless you’re on a Server platform.

    If you really want to load test this, the best idea would be to run it on a real server, you can probably virtualise to get what you need, although you obviously wouldn’t get real-world results from a virtualised server.

    Reference: http://technet.microsoft.com/en-us/library/cc268241.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a simple application inspired by this example in order to test all
We are using many HTA scripts. In order to test the newer version of
I have an application that has many unit tests in many classes. Many of
I know that there is many question about it but i can not find
in order to test a managed class I tried to create an instance in
In order to increase test coverage of my project, I'm starting to build tests
I'm trying to test an Order entity method called AddItem and I'm trying to
I am writing a junit test in order to (surprisingly) test a part of
In order to automate unit tests on TeamCity I had to create a test
Possible Duplicate: Choose order to execute JUnit tests I am writing a JUnit test.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.