jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: How to configure Tomcat to log POST data?
Date Fri, 26 Feb 2010 07:07:38 GMT
In file server.xml of Tomcat
In Valve section ( there are some examples commented) set this :

pattern="%h %l %u %t &#34;%r&#34; %s %b %S %D"

In the logs directory, Tomcat logs all http or AJP exchanges. The %D pattern
gives the duration of the URL in miliis
The format in the pattern is Common Log Format ( CLF Format for googling),
to adapt with the needs of JMeter

Cordialement / Best regards

Jean-Louis Pasturel

-----Message d'origine-----
De : Janine Sisk [] 
Envoyé : vendredi 26 février 2010 02:49
À :
Objet : How to configure Tomcat to log POST data?

I'm relatively new to Tomcat and brand new to JMeter, and a bit perplexed.
And yes, I have been RTFMing for several hours now.

I want to use JMeter's access log sampler, to generate load tests based on
real-world usage data:

But it requires that POST data be logged, and I'm stuck trying to figure out
how to do that. It refers you to a page which no longer exists, but the
modern version of it appears to be 

But it doesn't give any info about POST data. I found the page for the

And it looks like if I wanted to capture a particular named parameter I
would use x-P(parameter-name) to do it, but that still doesn't help me get
them all. 

Is there a way to do this that I'm just not finding?

Thanks in advance, 


This message and any attachments (the "message") are confidential and intended solely for
the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform
the sender.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message