I created a PostgreSQL wrapper to load test databases #2835
guel-codes
started this conversation in
Show and tell
Replies: 2 comments 3 replies
-
Looks amazing! You should definitely be able to make a PR. Just fork locust into your own github account and make a PR from your fork to the master branch of locustio/locust. Traditionally I've directed this kind of contributions to the locust-plugins repo, but I might reconsider that further on anyway, so having it in examples/databases subdir makes sense, at least for now! |
Beta Was this translation helpful? Give feedback.
1 reply
-
@cyberw here is that PR. First time using ruff so it took a while to figure out some of the formatting issues and how to fix them. But everything should be good now. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Overview
Hey everyone, I recently created this PostgreSQL client to load test some databases. I would like to add it to the examples directory just in case someone needs it in the future, they can find it right at the source. I tried to create a PR but for some reason it did allow me to.
The code can be found here:
https://github.com/guel-codes/db_loadtesting
in the
loadtest.py
file.Future Work:
I also want to create wrappers for the databases below at some point. So maybe we can create a
databases/
sub-directory inside of examples to store them all in there.Let me know if you have any questions
Beta Was this translation helpful? Give feedback.
All reactions