Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please check my contribution. #824

Closed
cemkaan opened this issue Jun 20, 2018 · 3 comments
Closed

Please check my contribution. #824

cemkaan opened this issue Jun 20, 2018 · 3 comments

Comments

@cemkaan
Copy link

cemkaan commented Jun 20, 2018

Description of issue / feature request

locust-csv
I wrote a script which creates custom reports and send them by e-mail. I've wrote it in php which can be all started with a cronjob.
It's in Turkish but I think this idea can be used by locust developers.

@cgoldberg
Copy link
Member

sorry i can't read Turkish

@cemkaan
Copy link
Author

cemkaan commented Jul 1, 2018

I would like to add a custom reporting feature to locust. My brother asked me to write an reporting CLI script which will run with date argument: bash report.sh YYYY-AA-GG
Now they can remote login their locust server and run command

2018-07-01_10-12-43.png
I have already wrote it in bash , php and mysql. But I can just convert it from php to python.
It has just two main parts
1- Check if there are new csv files added. Get requested parts of csv files. Write them to mysql, generate html report.
2- Send mail

@cgoldberg
Copy link
Member

This sounds like an external tool and not something that should be part of Locust.

I have already wrote it in bash , php and mysql.

Locust is a Python project, and I don't think we want external utilities written in bash or php in the codebase. I also wouldn't want to integrate a mysql database as a dependency.

But I can just convert it from php to python.

Even if you converted it to pure Python, email delivery is not a feature that should be part of Locust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants