timer for the access log sampler
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**ejaenv** ([Bug 53748](https://bz.apache.org/bugzilla//show_bug.cgi?id=53748&redirect=false)):
The actual access log sampler has two drawbacks: a) the rate of the requests doens't replay the access log as the sampler doesn't considers the existing delay betweeen requests, and b) the concurrency is neither real, as there isn't distintion of which IP sends the request.
This enhancement adds two components: a timer for the access log sampler, and a generator that creates a test plan for the access log, with one thread group
for each IP.
With these components, replaying an access log is now much more real, as samples are sent respecting the delays in the access log, and each IP is represented by a different thread group so the real access log conccurrency is replayed.
With the generator you can also generate a test plan for a specific time range of the access log being replayed, in case you don't want to replay the whole access log.
I attach here the patch, and in the dev mailing list I will attach a PDF with the design details and some screenshots.
Created attachment [jmeter-accesslogtimer.patch](https://apache.github.io/jmeter-bugzilla-attachments/48/53748/29255/jmeter-accesslogtimer.patch): contains the code of access log timer, plan generator, and tests
OS: All
Contributor guide
Assessment
This issue has not been assessed yet.