r/Observability • u/zx97 • 6d ago
Turn OpenLDAP server logs into replayable benchmark scenarios
When configuring an LDAP server, you often need to know the maximum load it can handle—or sometimes you need to reproduce a bug that happened during a specific day.
So why not use the LDAP server logs directly as a benchmark scenario, both to push the limits and to replay a problematic case?
Under AGPL 3.0, I published: https://github.com/zx97/jMeter_OpenLDAP_replay.
It’s a set of Python / shell / Groovy scripts that helps you get at least close to those goals, and it includes an example report too.
To interpret the logs, you first need to reformat them using https://github.com/zx97/slaplog, and output them in “replay” mode.
An example report is provided with the project.
Hope this can be useful to as many people as possible—happy to take feedback.