Yoav Felberbaum wrote:
On 23 Jul 2008, at 08:18, Ronan Klyne wrote:
Yoav Felberbaum wrote:
Hullo all,
I was reading with interest a recent thread from March, entitled
"Real traffic simulation and Access Log Sampler", which is vaguely
similar to what I'm after. However, what I would like to do instead
is be able to replay more detailed requests, including HTTP headers
as well.
I was thinking of using Wireshark (or a similar packet sniffer) to
log 'live' data for a period, and then use this log to replay in
JMeter. However, I can't quite figure out the missing link - namely
how to get a dump from Wireshark into JMeter for replaying... The
format of the wireshark dumps (PSML/PDML) seems a touch different
from how JMeter expects the XML to be formatted...
Apache access logs might be usable as a last resort, but the issue is
that I would like to be able to replay http headers as well.... Using
the proxy server in JMeter works as well, but in this case, the issue
is that this isn't quite enough data, nor "real-world" live data.
Thoughts would be muchly appreciated!
I think tcpreplay would help you here - it works on pcap dumps...
http://tcpreplay.synfin.net/trac/
I might be missing something, but how can I use tcpreplay with JMeter?
Keep in mind the point that I want to benchmark my server with replayed
"live" data... not simply replay data...
I missed the point then.
With the actual objective in mind, you could maybe use tcpreplay to
replay the data, and a JMeter proxy to record it all into a JMeter test
plan...
I'm just hypothesising here, but I think it should work...
# r
--
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
[EMAIL PROTECTED]
www.groupbc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]