Re: Make JMeter report error messages in console

2011-09-19 Thread E S
No, the error messages are not being written to the jmeter.log file.
The only way I was able to get any kind of real time feedback on this
was to add the JMeterPlugins Console Status Logger (thanks for the
help Andrey). I find this a little surprising. I think this would be a
good candidate for a simple JMeter feature. Seems like have an option
to see failed requests as they occur would be valuable. Would have
saved me a lot of time and frustration, I know that much.

On Wed, Sep 14, 2011 at 4:01 PM, sebb seb...@gmail.com wrote:
 On 14 September 2011 20:34, Oliver Lloyd oliver_ll...@hotmail.com wrote:
 You could also tail jmeter.log.

 But are the errors being logged?

 Sampler errors are generally only visible in the sample result file or
 visualisers.

 -
 http://www.http503.com/
 --
 View this message in context: 
 http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4804129.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Make JMeter report error messages in console

2011-09-19 Thread sebb
On 19 September 2011 16:34, E S electric.or.sh...@gmail.com wrote:
 No, the error messages are not being written to the jmeter.log file.
 The only way I was able to get any kind of real time feedback on this
 was to add the JMeterPlugins Console Status Logger (thanks for the
 help Andrey). I find this a little surprising. I think this would be a
 good candidate for a simple JMeter feature. Seems like have an option
 to see failed requests as they occur would be valuable. Would have
 saved me a lot of time and frustration, I know that much.

So where were the messages being sent?
I assume they were being sent to the console.
If so, how come you were not able to see them?

Standard JMeter script files don't suppress console messages, so you
should see them.

It would also help to have some examples of the error messages in case
they need to be captured and logged.

 On Wed, Sep 14, 2011 at 4:01 PM, sebb seb...@gmail.com wrote:
 On 14 September 2011 20:34, Oliver Lloyd oliver_ll...@hotmail.com wrote:
 You could also tail jmeter.log.

 But are the errors being logged?

 Sampler errors are generally only visible in the sample result file or
 visualisers.

 -
 http://www.http503.com/
 --
 View this message in context: 
 http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4804129.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Make JMeter report error messages in console

2011-09-19 Thread apc
It turned out that Console Status Logger is much similar to 
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Generate_Summary_Results
Generate Summary Results  native plugin... But I never tried it myself,
could you? Is it helps, too?

-
--
Andrey Pohilko
JP@GC Maintainer
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4819935.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Make JMeter report error messages in console

2011-09-19 Thread sebb
On 14 September 2011 20:05, sebb seb...@gmail.com wrote:
 On 14 September 2011 19:12, E S electric.or.sh...@gmail.com wrote:
 I was recently running JMeter is headless mode and got a bunch of
 errors because I was running out of ephemeral ports. However, while
 JMeter was running, it gave me no indication of this. I had to view
 the results in either the Summary Report or View Results Tree listener
 before I realized what was going on. Is it possible to set it up so
 that I get error messages on the console as they occur?

 You can add a Summariser and watch for error count != 0.

By Summariser I meant

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Generate_Summary_Results

This can output to log and/or console.

 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org




-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Make JMeter report error messages in console

2011-09-14 Thread sebb
On 14 September 2011 19:12, E S electric.or.sh...@gmail.com wrote:
 I was recently running JMeter is headless mode and got a bunch of
 errors because I was running out of ephemeral ports. However, while
 JMeter was running, it gave me no indication of this. I had to view
 the results in either the Summary Report or View Results Tree listener
 before I realized what was going on. Is it possible to set it up so
 that I get error messages on the console as they occur?

You can add a Summariser and watch for error count != 0.

 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Make JMeter report error messages in console

2011-09-14 Thread Oliver Lloyd
You could also tail jmeter.log.

-
http://www.http503.com/
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4804129.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Make JMeter report error messages in console

2011-09-14 Thread apc
Just set 
log_file=
in jmeter.properties and it will print all log messages to console.

Or use Console Status Logger plugin from jp@gc

-
--
Andrey Pohilko
JP@GC Maintainer
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4804134.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Make JMeter report error messages in console

2011-09-14 Thread sebb
On 14 September 2011 20:34, Oliver Lloyd oliver_ll...@hotmail.com wrote:
 You could also tail jmeter.log.

But are the errors being logged?

Sampler errors are generally only visible in the sample result file or
visualisers.

 -
 http://www.http503.com/
 --
 View this message in context: 
 http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4804129.html
 Sent from the JMeter - User mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org