Have you tried using the same filename for both logs? S. On 5/26/05, Sonam Chauhan <[EMAIL PROTECTED]> wrote: > Hi JMeter users- > > I want to capture the exact sampler request and response data when a failure > occurs, and correlate it with JMeter log entries. Can I have your feedback > on this? > > Here is what I do: > 1. In the uppermost test plan element, tick 'Functional Test Mode' > 2. In the bottom outer level, insert an 'Assertion Listener'. > At this position, it can "listen" to all samplers. > 3. Set these 'Assertion Listener' properties: > a. Write all data to a logfile > b. Tick 'Log Errors Only' (to reduce the logging overhead) > > After the test runs, I get two logfiles: > a. JMeter logfile (-l parameter) > This logfile contains the usual brief log entries for all samplers that ran. > > b. 'Assertion Listener' logfile (Specified in > This contains entries similar to the JMeter log, but only for assertion > failures, and with extra tags (e.g.: <binary>) that carry sampler request > and response data. > > A few questions: > * How can I correlate the 'Assertion Listener' failure data with the > JMeter log entries? > If common GUIDs were assigned to logentries, this would be easy, but there > aren't > > * Can the 'Assertion Listener' logfile be set to not only store debug > error data, but also store brief entries for all requests? > This would put all the required data in one file - there would be no need to > correlate with the JMeter logfile. > > * Can this be done better another way? > > Sincerely, > Sonam Chauhan > -- > Electronic Commerce, Corporate Express Australia Ltd. > Phone: +61-2-9335-0725, Email: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

