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 130601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:58:25+00:00 2026-05-11T05:58:25+00:00

To do some load testing, for my own curiosity, on my server I ran:

  • 0

To do some load testing, for my own curiosity, on my server I ran:

ab -kc 50 -t 200 http://localhost/index.php 

This opens up 50 keep-alive connections for 200 seconds and just slams my server with requests for index.php

In my results, I get:

Concurrency Level:      50 Time taken for tests:   200.007 seconds Complete requests:      33106 Failed requests:        32951    (Connect: 0, Receive: 0, Length: 32951, Exceptions: 0) Write errors:           0 Keep-Alive requests:    0 Total transferred:      1948268960 bytes HTML transferred:       1938001392 bytes Requests per second:    165.52 [#/sec] (mean) Time per request:       302.071 [ms] (mean) Time per request:       6.041 [ms] (mean, across all concurrent requests) Transfer rate:          9512.69 [Kbytes/sec] received 

Note the 32951 ‘failed’ requests. I cannot figure this out.

As the test was running, I was able to access my web site from my home computer perfectly, albeit page load times at the bottom of the page were reported as .5 instead of the usual .02. However I never once had a failed request.

So why is AB reporting that half of the connections fail? And what does ‘Length: ‘ mean in that context?

  • 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. 2026-05-11T05:58:26+00:00Added an answer on May 11, 2026 at 5:58 am

    Nevermind. The ‘length failure’ merely indicates that about half the time the length of the response was different.

    Since the contents are dynamic, it’s probably the session identifier or something like that.

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

Sidebar

Related Questions

I was trying to put some heavy load on my Redis for testing purposes
When i am testing my site on local php server using wamp the its
I need to create a PHP script that receives XML input via an HTTP
Can anyone suggest a decent free performance/load testing tool that runs on Windows. I
I'm testing some javascript libraries I've built by using ruby's harmony . Everything is
While testing my webapp under load I got following top excerpt under Linux: PID
We build our cppunit unittests as a dll and load it into TestPlugInRunnerd.exe to
Hey there- I'm testing jQuery Mobile and have a question. I wrote a simple
I have an IFile shows the absolute path as /dynamic/WebContent/testing.html I want to make
So I just started using Steak, which in turn uses Capybara, which in turn

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.