Hi @usmanarif can you please share your mattermost config and if you are using nginx can you please share the config as well?
By looking at the logs you posted it seems that you are using an invalid or expired token.
Also we have a load test written in go if you want to give it a try https://github.com/mattermost/mattermost-load-test