Hosting & Domaining Forum

Hosting Discussion => Hosting Software and Control Panels => Hosting Software & CPs Related Offers & Requests => Topic started by: alexfernando on Dec 01, 2022, 01:03 AM

Title: Stress test webservices for hosting
Post by: alexfernando on Dec 01, 2022, 01:03 AM
Hi there!
We're in the process of migrating to a new hosting platform after experiencing issues with our previous provider immediately upon project launch.

What's the best way to test the stress resistance of our new hosting?
Title: Re: Stress test services for hosting
Post by: Alex on Dec 01, 2022, 01:34 AM
Consider using the standard Apache Bench utility (ab, from the http-tools package) to test your website's response to simultaneous requests. I usually implement the following parameters - ab -t30 -c5 domain.com/ which sends five requests to the server at once and records how many of them have been completed within 30 seconds.

You can also take advantage of other services such as loadimpact.com to assess your website's capacity to handle surges in traffic. However, please be aware that OpenVZ and other Virtuozzo based VPS hosting platforms are not recommended, as they tend to oversell their resources leading to poor performance and speed issues.

It's best to work with reputable hosting providers and avoid trying to save money at the expense of your website's speed and reliability. Finally, consider collaborating with a VPS hosting expert who can offer tips on optimizing your Drupal installation, along with advice on accelerator and muscle tweaks.
Title: Re: Stress test services for hosting
Post by: amomswish on Dec 01, 2022, 01:53 AM
It's become easier for attackers to execute DDoS attacks on servers for a short duration of 5-20 minutes, at a relatively low cost. It must be noted that this can result in the theft of sensitive information, and if one establishes a good relationship with these attackers, they can explore various types of tests to discern weaknesses within the server.

Another good practice to assess your server's capacity is to use loaddy.com or other trusted third-party tools to test a subdomain on your new hosting platform. However, one should be cautious not to overtest their host, as it could trigger a defense mechanism resulting in a temporary blockage. It's recommended to perform periodic assessments in order to maintain security and protect against potential threats.
Title: Re: Stress test services for hosting
Post by: isoconsultantgmg on Jan 25, 2023, 03:13 AM
I have a similar query. We require conducting multiple tests to evaluate the limitations of our hosting platform. In particular, I am interested in carrying out these steps:

1. Extracting and configuring the system before disconnecting it from the internet
2. Checking the number of primary guests that can be supported
3. Assessing how many concurrent users the website can handle while browsing through 2-5 pages at random
4. Testing how well the site can handle search queries processed through its system
5. Investigating how many registered users remain active when browsing through 3-10 pages, as per our top statistics

Essentially, we need to determine the capacity of our shared and inexpensive VPS hosting platform. It's also important to test our hosting's security protocols to prevent potential hacks and data breaches.
Title: Re: Stress test webservices for hosting
Post by: pkscheiderw on Aug 31, 2023, 07:37 AM
To test the stress resistance of your new hosting platform, you can follow these steps:

1. Identify Stress Test Goals: Determine what you want to achieve from the stress test. For example, you may want to measure the maximum number of concurrent users your platform can handle or check if it can handle a sudden surge in traffic.

2. Develop Test Scenarios: Create realistic test scenarios that mimic actual user behavior. This may involve simulating different types of user interactions, such as browsing, making purchases, or submitting forms.

3. Use Load Testing Tools: Utilize load testing tools to simulate high traffic volumes and test the performance of your hosting platform. Some popular load testing tools include Apache JMeter, LoadRunner, and Gatling.

4. Define Test Parameters: Configure the load testing tool to specify the number of virtual users, ramp-up period, and duration of the test. These parameters will help determine how much stress your hosting platform can handle.

5. Execute the Stress Test: Run the stress test using the load testing tool, gradually increasing the number of virtual users until you reach the desired stress level. Monitor key performance metrics like response times, server usage, and error rates during the test.

6. Analyze Results: Evaluate the performance data collected during the stress test to identify any bottlenecks or issues. Look for patterns or anomalies that indicate areas needing improvement, such as high response times or server overload.

7. Optimize and Retest: Based on the analysis, optimize your hosting setup, application code, or infrastructure to address any performance weaknesses identified during the test. Then repeat the stress test to validate the improvements made.

8. Continuous Monitoring: Stress testing should not be a one-time activity. Continuously monitor your hosting platform's performance to ensure it can withstand future stress loads and provide a seamless user experience.


There are several popular stress testing tools available that can help you simulate high loads and test the performance of your web services. Here are a few examples:

1. Apache JMeter: JMeter is a widely-used open-source tool for load testing and performance measurement. It supports testing various protocols, including HTTP/HTTPS, REST, SOAP, JDBC, and more. JMeter allows you to create and execute complex load testing scenarios and provides extensive reporting capabilities.

2. Gatling: Gatling is an open-source load testing tool written in Scala. It is designed for high-performance load testing and can simulate thousands of concurrent users. Gatling provides a DSL (Domain Specific Language) for defining test scenarios and offers real-time metrics to monitor performance during tests.

3. Locust: Locust is an open-source distributed load testing tool written in Python. It allows you to write test scenarios as code using Python scripts, making it highly flexible and customizable. Locust supports distributed load generation and provides real-time monitoring and reporting.

4. Apache Bench (ab): Apache Bench is a command-line tool that comes with the Apache HTTP server distribution. It is a simple and lightweight tool for performing basic load testing on web services. While it may not have extensive features like other tools, it can be handy for quick and straightforward load testing.

5. Siege: Siege is another command-line tool for load testing web services. It supports concurrent requests and can generate high loads. Siege provides detailed statistics during and after the test, allowing you to analyze performance and identify potential issues.

6. LoadRunner: LoadRunner is a commercial load testing tool developed by Micro Focus. It offers a comprehensive set of features for load testing, including protocol compatibility, scripting capabilities, scalability, and detailed reporting. LoadRunner is widely used in enterprise environments for performance testing.

Here are a few more stress testing tools that you can consider:

1. BlazeMeter: BlazeMeter is a cloud-based load testing platform that offers both self-service and enterprise-grade solutions. It supports scripting using open-source tools like JMeter and Gatling and provides real-time analytics and reporting.

2. LoadNinja: LoadNinja is a cloud-based load testing tool by SmartBear that allows you to record and replay user interactions with your web application. It offers real browser-based load testing and provides insightful reports and metrics.

3. LoadUI Pro: LoadUI Pro is a commercial load testing tool by SmartBear that focuses on the performance and scalability of web services. It offers drag-and-drop test creation, distributed load generation, and in-depth reporting capabilities.

4. WebLOAD: WebLOAD is a load testing tool by RadView that focuses on testing web and mobile applications. It supports a wide range of protocols, including HTTP, WebSocket, SOAP, and REST, and provides features like scriptless automation, distributed load generation, and real-time monitoring.

5. Neoload: Neoload by Neotys is a robust load testing platform that supports testing web, mobile, and API-based applications. It offers features such as automated test design, distributed load generation, and advanced reporting and analysis.

6. Artillery: Artillery is an open-source and extensible load testing tool that focuses on ease of use and flexibility. It allows you to define your test scenarios using JavaScript and provides real-time reporting and insights.