apache / apache/jmeter

timer for the access log sampler

Open
#2,892 18 comments 0 reactions 0 assignees View on GitHub
enhancement keyword: PatchAvailable need info os: All P4
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.