I tried to use "access log sampler" for two websites. for first one I get the logs but for 2nd logs were not generated.

1st one having SSH/SSL certificated
2nd site having expired SSL. 

May I know what is the reason for not getting the logs for the 2nd website?


Can you show 1st line of log for website 1 and website 2. It might be the case that you need to "prepare" the log so JMeter could "consume" it.

See How to use Access Log Sampler to Generate Traffic with JMeter? article for example of access log conversion.

| improve this answer | |
  • Hi Dmitri, Log is not generated for 2nd website. 1448979394473,2261,806 /,200,OK,Thread Group 1-2,text,true,20682,10,10,2029 1st line of log for 1st website – CSachdev Dec 2 '15 at 10:08
  • If there is no log - you won't be able to use Access Log Sampler – Dmitri T Dec 2 '15 at 19:11

Access Log Sampler is used to generated logs in JMeter

Create a .txt file where you saved your test plan and In access sampler, there is an option to browse this file

Log file: "" Provide the path of .txt file here and save your test plan
Run your script and check the log file. 

Note: Server Port is required to use "Access Log sampler and your site should be SSL certified"

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.