Hi , I've just found your access log sampler, and think it's fantastic. I can now run a load test from prod in QA , which is great. I then thought I'd do the same with our AWS site , and discovered the standard parsers do not handle the AWS ALB log format very well. I've attached a small snippet of an AWS ALB access log .... any chance you could knock up a parser for it ?
Created attachment 36244 [details] AWS ALB LOG SNIPPET
Can you elaborate a bit more on what is not working for you? Is it the OPTIONS http verb or something entirely different?
Created attachment 36252 [details] Add more http methods for parsing log files The attached patch adds all the http methods, that are available in the HTTPSamplerBase. OPTIONS is one of them, so the AWS log files should be parseable with this patch.
Hi Felix, Thanks for the patch. Wouldn't it be an occasion to rename the TCLogParser so that they respect naming conventions ? Maybe before applying the patch so that it's clear ? Thanks
Renaming is probably not a good idea, since the class seems to be intended to be used for subclassing. Having slept a night about the changes, I am not so sure anymore, that is OK to add more methods by default, as those could change existing tests. So I think it would be better to introduce a new property that allows more methods, or add a variable to the bean, that would be used for configuration.
Created attachment 38209 [details] Rooty
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4911