# Jmeter Nginx Stress Test Error Rate Higher

**URL:** <https://www.ruby-forum.com/t/jmeter-nginx-stress-test-error-rate-higher/221808>\
**Category:** NGINX\
**Created:** [July 31, 2012, 5:12pm UTC](https://www.ruby-forum.com/t/jmeter-nginx-stress-test-error-rate-higher/221808 "2012-07-31T17:12:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [July 31, 2012, 5:12pm UTC](https://www.ruby-forum.com/t/jmeter-nginx-stress-test-error-rate-higher/221808/1 "2012-07-31T17:12:08Z")

</div>

I have a JSF web application runs on Glassfish Application Server. I’m  
using Nginx with reverse proxing to Glassfish. I wanna see performance  
gains with Nginx, i’m testing application with JMeter. When i directly  
test the application on glassfish, there ise no error count. But, when i  
tested the application via Nginx response contains a lot of error count  
approx. %80. I changed some time out in nginx configuration file then no  
thing changed.

My Nginx Conf file;

worker\_processes 3;  
worker\_rlimit\_nofile 1024;  
worker\_priority -6;

events {  
multi\_accept on;  
worker\_connections 1024;  
}

http {  
include mime.types;  
default\_type application/octet-stream;

```
sendfile on;

keepalive_timeout 120m ;

server {
    listen 8070;
    server_name localhost;
    root "html";

    location ~* \.(jpg|jpeg|gif|css|png|js|ico)$ {
    access_log off;
    expires max;
    }

    location / {

    access_log off;

    proxy_pass http://localhost:8080/; >> to Glassfish port

    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_read_timeout 120m;
    proxy_connect_timeout 120m;

    }

    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
        root html;
    }

}

```

}

Posted at Nginx Forum:

> **[Jmeter Nginx Stress Test Error Rate Higher](https://forum.nginx.org/read.php?2,229146,229146#msg-229146)**
>
> I have a JSF web application runs on Glassfish Application Server. I'm using Nginx with reverse proxing to Glassfish. I wanna see performance gains with Nginx, i'm testing application with JMeter. When i directly test the application on glassfish,...
