redis-load-test
redis-load-test copied to clipboard
A utility to provide easy and fast performance testing for Redis.
I wanted to load test redis and found https://iamabhishek-dubey.medium.com/redis-load-testing-d99f81e97842 Locust starts successfully after running ./start.sh but when I open browser at http://localhost:8089/ it displays "Internal Server Error". Backend logs say...
* The current implementation does not support redis clustered setup. Hence changed from `redis` to `redis-py-cluster` * Freezed the `requirements.txt` with version numbers so that it works as it is...
Made test more robust with input parameters to adapt it for different test cases.
- change `request_success` to `request` (locust update) - add redis-tools to Dockerfile to improve tests if necessary (i can remove if necessary) - add one more key to json (redis_key_count),...
Hi friends! Thanks for the tool! The issue mentioned here: [https://stackoverflow.com/questions/76016708/locust-events-object-has-no-attribute-request-success](stackoverflow-question) still occurs. core: Locust in the newest versions updated a var name: [https://stackoverflow.com/a/76017083/3941753](answer) pr: https://github.com/opstree/redis-load-test/pull/9
The deprecated `request_success()` and `request_failure()` are already removed in locust.event.Events.request upstream, causing the following error: ``` File "/Users/htie/coding/redis-load-test/Scripts/redis_get_set.py", line 88, in get_time self.client.query(self.key) File "/Users/htie/coding/redis-load-test/Scripts/redis_get_set.py", line 50, in query events.request_success.fire(...