Re: Does anybody have SMTP Sampler Screenshots or Sample Doc?

2014-05-23 Thread Deepak Shetty
Its probably better if you describe your issue - error log etc https://onedrive.live.com/?cid=1BD02FE33F80B8AC&id=1BD02FE33F80B8AC!941 - use google - you need to use a google username password in auth fields http://jmeter.apache.org/usermanual/component_reference.html#SMTP_Sampler In most cases yo

Does anybody have SMTP Sampler Screenshots or Sample Doc?

2014-05-23 Thread Jayesh Guru
Hello Everyone, Does anybody have SMTP Sampler Example as I am having issues in running it? *Thanks * *Jayesh Guru*

Re: JSR223 + scala

2014-05-23 Thread Philippe Mouawad
Hello, Could you open a bugzilla and attach your test plan with settings description ? Thank you On Fri, May 23, 2014 at 3:18 PM, Ryabtsev Vladimir wrote: > Hi, > > did anyone try to use scala language in JSR223? I've downloaded scala lib > and put it into lib folder. After that scala appeared i

Re: Log a non-200 HTTP Response

2014-05-23 Thread sebb
On 23 May 2014 12:48, wrote: > Hi Sebb, > > Yes, I have tried it. > > I'll still get response messages of "OK" to the console. Which I assume > is thread race conditions. No, it's not a JMeter bug. The Beanshell code is wrong - the response code is a string, not a number, so the code should be:

Re: Log a non-200 HTTP Response

2014-05-23 Thread loadtest
Hi, I used a JSR223 Listener as suggested. And using JRuby as the script language, I typed: puts $sampleResult.get_response_message if not $sampleResult.is_successful? Many Thanks Paul On Fri, 23 May 2014, at 04:48 AM, loadt...@fastmail.fm wrote: > Hi Sebb, > > Yes, I have tried it. >

JSR223 + scala

2014-05-23 Thread Ryabtsev Vladimir
Hi, did anyone try to use scala language in JSR223? I've downloaded scala lib and put it into lib folder. After that scala appeared in language list of JSR223 as 'scala (Scala version 2.11.1 / Scala Interpreter 1.0)' in my nightly build of JMeter. But during the execution of the test plan error

Re: Log a non-200 HTTP Response

2014-05-23 Thread loadtest
Hi Sebb, Yes, I have tried it. I'll still get response messages of "OK" to the console. Which I assume is thread race conditions. Paul On Fri, 23 May 2014, at 04:33 AM, sebb wrote: > On 23 May 2014 11:31, wrote: > > Hi, > > > > I would like to log responses for non-200 HTTP status codes.

Re: Log a non-200 HTTP Response

2014-05-23 Thread sebb
On 23 May 2014 11:31, wrote: > Hi, > > I would like to log responses for non-200 HTTP status codes. > > In the Beanshell post-processor I have the code: > > if (prev.getResponseCode() != 200) { > print(prev.getResponseMessage()); > } > > But this is not going to work, because 'prev' is gl

Log a non-200 HTTP Response

2014-05-23 Thread loadtest
Hi, I would like to log responses for non-200 HTTP status codes. In the Beanshell post-processor I have the code: if (prev.getResponseCode() != 200) { print(prev.getResponseMessage()); } But this is not going to work, because 'prev' is global and the state can mutate within the condit