Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Failed to initialize config in mattermost load-test #160

Closed
sourabkumarkeshri opened this issue Jul 30, 2019 · 5 comments
Closed

Failed to initialize config in mattermost load-test #160

sourabkumarkeshri opened this issue Jul 30, 2019 · 5 comments

Comments

@sourabkumarkeshri
Copy link

I am trying to run mattermost load-test locally.I am done with the setup.
The profiling strategy I used is manual loadtesting against an existing cluster.

When I run the "loadtest all" command,I get the following error.

{“level”:“error”,“msg”:“Failed to initialize config”,“fields”:[{“Key”:“error”,“Type”:25,“Integer”:0,“String”:"",“Interface”:{}}]}

As per the instructions,I copied the default loadtestconfig.json and made changes in the “MattermostInstallDir” field as required.But,I am not sure what do I need to put in other fields.If someone can share their “loadtestconfig.json” . file . or help me with the issue,it would be great.

@reflog
Copy link
Contributor

reflog commented Jul 30, 2019

@sourabkumarkeshri - can you attach your “loadtestconfig.json” file? (please replace any sensitive information like passwords and URLs before pasting) We'll try to see what the issue is

@sourabkumarkeshri
Copy link
Author

Here is my loadtestconfig.json file.I have made changes only in Connection Configuration and nowhere else.

loadtestconfig.txt

@reflog
Copy link
Contributor

reflog commented Jul 30, 2019

@sourabkumarkeshri - thanks. The file is missing an opening bracket. Can you check please?
image

@sourabkumarkeshri
Copy link
Author

Thanks @reflog. That worked.

@reflog
Copy link
Contributor

reflog commented Jul 30, 2019

Glad that helped!

@reflog reflog closed this as completed Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants