Questions tagged [load-testing]

The load-testing tag is for issues relating to the setting up or running of load tests.

Load testing is end-to-end performance testing under anticipated production load, which determine response times for various time critical transactions and business processes.

As per wikipedia:

Load testing is the process of putting demand on a system or device and measuring its response.

Load testing is performed to determine a system’s behavior under both normal and anticipated peak load conditions. It helps to identify the maximum operating capacity of an application as well as any bottlenecks and determine which element is causing degradation.

168 questions
3
votes
2 answers

Nginx / uWsgi / Django site can handle more traffic with rewrite URL

I'm running a Django app, using uWsgi behind Nginx. I've been doing some performance tuning and load testing using ApacheBench and have discovered something unexpected which I wonder if someone could explain for me. In my Nginx config I have a…
Ludo
  • 1,099
  • 3
  • 10
  • 11
3
votes
1 answer

Tips for benchmarking and load testing web server?

I'm trying to benchmark and load test various web server setups (mod_php vs php as fastcgi, max/min worker/thread configuration, and so on). I'm starting with ab, but would be interested in other recommended tools for this job. The web server is a…
Brian
  • 131
  • 5
3
votes
1 answer

ApacheBench result to a file

I would like to save ApacheBench (ab) tool on linux to a file. When I run it with -v 2 it displays some results in my ssh window. How to move these data into a file and make sure that it will not display on ssh no more? I've tried > file.txt 2>&1…
Tom Smykowski
  • 1,125
  • 5
  • 19
  • 27
2
votes
1 answer

How to fix the error "SSLHandshakeException" when load testing Google Cloud Load balancer with an HTTPS?

When I perform a load testing to my website over HTTPS, I received multiples errors related with SSL Handshake when I simulate a high amount of concurrent users (>500 / sec). Here are the errors that I received: Error…
2
votes
1 answer

How to use "Set weight" in HAProxy

Hi I have configured an HAProxy server in haproxy.cfg to balance the traffic flow between two servers, say server web1 10.10.10.10 weight 50 server web2 10.10.10.11 weight 50 For testing purpose we need to set the weights dynamically, so we are…
2
votes
1 answer

Servers crash with 3000 concurrent clients - how to config it right? PHP & Apache

I've 4 web servers, 2 database servers (read & write), Redis and a load balancer. I'm using PHP 7.0 & Apache2 & MySQL 5.7, however when I do load tests with 3000 users which surf at the same time, the servers crash one by one. The Apache servers are…
MyLibary
  • 121
  • 2
2
votes
1 answer

worker_connections are not enough while have idle workers

I try to increase number of concurrent connections my server can handle. $uname -a Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux $ulimit -Sn 65536 $ulimit -Hn 65536 Nginx config has the next…
Ivan Velichko
  • 145
  • 2
  • 11
2
votes
1 answer

Trying to estimate concurrent connections on my server - is this the right approach?

My goal is to find out, roughly, how many apache2 connections my server can handle at one time. I've gone through all of my running processes, including the apache2 processes, and figure that of the 840mb total used, 480 mb or so can be associated…
Nick S.
  • 131
  • 1
2
votes
1 answer

Jmeter distributed testing over ssh tunnel

While configuring jmeter distributed testing i faced a problem of remote connection to servers which are behind NAT. Node with jmeter client has external ip, all servers are in different LANs behind NAT with no possibility of direct port…
user947668
  • 121
  • 3
2
votes
1 answer

Http proxy server performance analyzing

I have implemented a http proxy client/server. Currently I intended to test performance of this proxy client/server. Can anybody tell me what kind of tests should I take to analyze it's performance? Which aspects and how I can analyze several…
2
votes
2 answers

How to test a site with multiple concurrent users from various IPs (load test)?

I need to test a site and how it handles several connections simultaneously. Each user must: Connect from a different IP address Simulate a browsing user --> (open a few pages, click a few buttons) I need to simulate about 200 users like this.…
rockstardev
  • 127
  • 3
  • 14
2
votes
1 answer

Monitoring "Request Wait Time" in PerfMon

A website I'm load testing is adding requests to the iis request queue. I can see the queue size getting bigger using the relevant performance counter: \ASP.NET\Requests Queued However I'm trying to see the "Request wait time" and I've added the…
CraftyFella
  • 121
  • 1
  • 4
2
votes
2 answers

When load testing, is network 'distance' a factor?

I have a server application running on EC2 behind a Elastic Load Balancer. I have tested this using Blazemeter - a jMeter based load testing service that also runs on EC2 based infrastructure. The results were good. However, should I be concerned…
iandotkelly
  • 123
  • 4
2
votes
2 answers

CPU, Memory, Network, IO resources are under utilized when I tried various JMeter load testing

I am trying to assess the performance of my web server which has Linux and Apache. I tried load testing using JMeter, and gradually increased the number of requests and recorded the response time as well as resource utilization stats. The response…
2
votes
0 answers

Stress testing Django app - how to improve throughput?

I'm having my first attempt at stress testing a simple django web app running from gunicorn and nginx which I’ve put on a small 256MB Rackspace Cloud server. Using httperf, I increase the number of connections per second until I start getting…
Pete W
  • 143
  • 1
  • 7
1 2
3
11 12