Jmeter load test against AWS and nginx

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Jmeter load test against AWS and nginx

John Melom
Has anyone run into throttling issues running a load test against AWS and / or nginx?

When we run a Jmeter load test against our AWS / nginx configuration, varying percentages of our http requests are subjected to a 1 second sleep server side.  Right now, our best analysis indicates it to be a nginx "denial of service attack" detection issue.  We have tried various nginx tuning settings, but haven't been able to make the issue go away.

I'm not sure how to make IP spoofing work from a linux load generation machine.

I'm curious if others have run into this issue and found ways to get around it.

Thanks,

John Melom



________________________________
NOTE: This email message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you have received this e-mail in error, please contact the sender by replying to this email, and destroy all copies of the original message and any material included with this email.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Jmeter load test against AWS and nginx

glinius@live.com
 1. First of all check out that your server is not overloaded via  Amazon
CloudWatch <https://aws.amazon.com/cloudwatch/>   or  JMeter PerfMon Plugin
<https://jmeter-plugins.org/wiki/PerfMon/>  
 2. IP Spoofing on Linux works the same way as on any other operating
system, you just need to have all "virtual" IP addresses bond to one or
multiple network interfaces, you can use something like:


> ifconfig eth0:0 10.20.30.40 up

 

 Replace "eth0" with your network interface name and "10.20.30.40" with the
IP address of your choice. Repeat the command as many time as needed to
create as many IP addresses aliases as required for your test scenario. See
Using IP Spoofing to Simulate Requests from Different IP Addresses with
JMeter
<https://www.blazemeter.com/blog/using-ip-spoofing-simulate-requests-different-ip-addresses-jmeter>  
 3. Just in case add a  DNS Cache Manager
<http://jmeter.apache.org/usermanual/component_reference.html#DNS_Cache_Manager>  
to your Test Plan, if you have more than one Nginx instance behind the  ELB
<https://aws.amazon.com/elasticloadbalancing/>   it might be the case JMeter
hits only single instance while others are idle.



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Jmeter load test against AWS and nginx

Rupesh Garg
we ran a test and did not have any issues there


On Mon, 26 Mar 2018 at 10:21 [hidden email] <[hidden email]> wrote:

>  1. First of all check out that your server is not overloaded via  Amazon
> CloudWatch <https://aws.amazon.com/cloudwatch/>   or  JMeter PerfMon
> Plugin
> <https://jmeter-plugins.org/wiki/PerfMon/>
>  2. IP Spoofing on Linux works the same way as on any other operating
> system, you just need to have all "virtual" IP addresses bond to one or
> multiple network interfaces, you can use something like:
>
>
> > ifconfig eth0:0 10.20.30.40 up
>
>
>
>  Replace "eth0" with your network interface name and "10.20.30.40" with the
> IP address of your choice. Repeat the command as many time as needed to
> create as many IP addresses aliases as required for your test scenario. See
> Using IP Spoofing to Simulate Requests from Different IP Addresses with
> JMeter
> <
> https://www.blazemeter.com/blog/using-ip-spoofing-simulate-requests-different-ip-addresses-jmeter
> >
>  3. Just in case add a  DNS Cache Manager
> <
> http://jmeter.apache.org/usermanual/component_reference.html#DNS_Cache_Manager
> >
> to your Test Plan, if you have more than one Nginx instance behind the  ELB
> <https://aws.amazon.com/elasticloadbalancing/>   it might be the case
> JMeter
> hits only single instance while others are idle.
>
>
>
> --
> Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
> --
Rupesh Garg
9160002744