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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:26:00+00:00 2026-05-18T01:26:00+00:00

I want to do a test load for a web page. I want to

  • 0

I want to do a test load for a web page. I want to do it in python with multiple threads.
First POST request would login user (set cookies).

Then I need to know how many users doing the same POST request simultaneously can server take.
So I’m thinking about spawning threads in which requests would be made in loop.

I have a couple of questions:
1. Is it possible to run 1000 – 1500 requests at the same time CPU wise? I mean wouldn’t it slow down the system so it’s not reliable anymore?
2. What about the bandwidth limitations? How good the channel should be for this test to be reliable?

Server on which test site is hosted is Amazon EC2 script would be run from another server(Amazon too).

Thanks!

  • 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-05-18T01:26:00+00:00Added an answer on May 18, 2026 at 1:26 am

    cPython does not take advantage from multiple cores when running multiple threads. It means, that basically, You will only have one core doing the testing job.

    There are dedicated tools to do what You want to do. Let me suggest two:

    FunkLoad is a functional and load web tester, written in Python, whose main use cases are:

    • Functional testing of web projects, and thus regression testing as well.
    • Performance testing: by loading the web application and monitoring
      your servers it helps you to pinpoint bottlenecks, giving a detailed
      report of performance measurement.
    • Load testing tool to expose bugs that do not surface in cursory testing,
      like volume testing or longevity testing.
    • Stress testing tool to overwhelm the web application resources and test
      the application recoverability.
    • Writing web agents by scripting any web repetitive task, like checking if
      a site is alive.

    Tsung is an open-source multi-protocol distributed load testing tool

    The purpose of Tsung is to simulate
    users in order to test the scalability
    and performance of IP based
    client/server applications. You can
    use it to do load and stress testing
    of your servers. Many protocols have
    been implemented and tested, and it
    can be easily extended. WebDAV, LDAP
    and MySQL support have been added
    recently (experimental).

    It can be distributed on several
    client machines and is able to
    simulate hundreds of thousands of
    virtual users concurrently (or even
    millions if you have enough hardware
    …).


    If You decide to write Your own tool, You will probably want to use Python’s multiprocessing module as it would let You use multiple cores. You should also take a look on Twisted as it would let You easily handle multiple sockets while a limited number of threads. That would be much better than spawning a new thread for each socket.

    You work with Amazon EC2, so I would recommend using Tsung. You can rent a dozen of multicore servers for a few hours and run some really heavy load tests with Tsung. It scales very well in this kind of configuration.

    As for the bandwidth, it’s usually not a problem, but it depends on the application. You will have to monitor all Your resources closely while performing a load test.

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

Sidebar

Related Questions

I want to load picture from web server without refreshing the page. I have
I want to load test the web application that we're working on? Can you
When running a load test I want to turn off cached requests. My web
I want to load test.txt with nodejs. var fs = require('fs'); fs.readFile('./test.txt', function (err,
I want to know how can I perform VS2008 load test from five different
I want to test the web pages I create in all the modern versions
Greetings, I want to write a unit test to make sure that our web
I am trying to load test a web application that uses SAML for SSO,
i want to load a javascript in my C# web browser control. but VS
I have a web page in which I am giving USER the options of

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.