Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Gateway Timeout Error while runnning the Load Test

$
0
0

I have been working on performing the load test on Mattermost for 1000 users per second. I am using JMeter for the same. While running the load test I am continuously getting the error on create_direct API.
Below is the request and response which I am sending and receiving

Sampler Result
Connect Time: 0
Latency: 60023
Size in bytes: 361
Headers size in bytes: 170
Body size in bytes: 191
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 504
Response message: Gateway Time-out
Response headers:
HTTP/1.1 504 Gateway Time-out
Server: nginx/1.4.6 (Ubuntu)
Date: Mon, 31 Oct 2016 11:43:03 GMT
Content-Type: text/html
Content-Length: 191
Connection: keep-alive

HTTPSampleResult fields:
ContentType: text/html
DataEncoding: null

Request
POST http://xxxxxxxxxxx/api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/create_direct

POST data:
{"user_id":"x75wnjsumffjudj3ch1ht6ykqh"}

Cookie Data:
MMAUTHTOKEN=k3ebx3pue7nw5nniipcmawrdar

Request Headers:
Connection: keep-alive
Cache-Control: no-cache
Content-Type: application/json; charset=UTF-8
Accept-Language: en-US,en;q=0.5
Accept: application/json
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0
X-Requested-With: XMLHttpRequest
Accept-Encoding: gzip, deflate
Pragma: no-cache
Content-Length: 40
Host: xxxxxxxxxxxx

Response:
504 Gateway Time-out Error

Log generated in mattermost.log file:
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/: code=401 rid=s8wzeqaw8jgttjc757whe38pfh uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/s5remb7akjbm8x6ompbuco7rmy/: code=401 rid=jj86xfbkutny3bgc1pq1ztkgbo uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/s5remb7akjbm8x6ompbuco7rmy/: code=401 rid=eab8w51o7ifej8ktwzfxprdq5a uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/ag75ztxx3jn5brc44srtmjsgkh/posts/page/0/60: code=401 rid=aper319uopdotcygdud5pa13tc uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/c7xizs983jgdbgprg3z1frwi7c/posts/create: code=401 rid=q3d5ohkho3n33xntaxei4ycd7h uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/: code=401 rid=mk4akq4hhf86fxm8j998fizige uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/teams/6g7nwdnk678tjbk38buaogqy6o/channels/ag75ztxx3jn5brc44srtmjsgkh/posts/page/0/60: code=401 rid=49infgixp3bz7c5gji8abzqd9y uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]
[2016/10/31 11:10:19 UTC] [EROR] /api/v3/users/profiles/6g7nwdnk678tjbk38buaogqy6o: code=401 rid=sotshebg9pbujdhq8j3711no4e uid= ip=52.8.35.172 Invalid or expired session, please login again. [details: UserRequired]


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>