RE: counter function bug

2011-09-30 Thread Nermin CALUK
Confirmed with JMeter 2.4 (confirming the behavior, it looks like a bug): - scenario below produces 1,1 - just increasing number of threads in the thread group also produces all ones 1,1,1,1 - 3 samplers, each containing the same function, loop 3 is 1,1,1,2,2,2,3,3,3 - one sampler loop 3 1,2,3

Re: If i do a manual execution by adding extended status bar to firefox

2011-09-30 Thread sprasad
Hi Oliver, I have a small () question for you - I am running some tests and presenting the aggregate report - in this, Average Response Time, which is the second column in agg. report table is the average of set of response times, but the the value displayed in the last row - Total - and under

User supplied variables in JMeter test

2011-09-30 Thread Nishant Chandra
Hi, I have created a test plan in Jmeter for Web Service(SOAP request). The web API takes product Id as input. In a single test run, I want to invoke the API with 100 product Ids. Is there any way through which I can loop over product Ids and in each loop I can insert new product Id dynamically?

Re: counter function bug

2011-09-30 Thread Philippe Mouawad
Hello, I confirm this behaviour also exists in 2.5 and 2.5.1. It may be a documentation issue or a real issue, I opened an issue for clarification: - https://issues.apache.org/bugzilla/show_bug.cgi?id=51923 As it is made I think counter will only change at each iteration. Regards Philippe

Re: Distributed testing - Memory usage

2011-09-30 Thread poox
Hi Philippe, I can confirm that RC3 fixes my problem and I now have stable memory usage having run the same .jmx overnight for confirmation. Thanks for your assistance with this matter. Case closed! :) -- View this message in context:

Re: CTRL+Z as undo

2011-09-30 Thread Philippe Mouawad
See: https://issues.apache.org/bugzilla/show_bug.cgi?id=42248 for some explanations. On Wed, Sep 28, 2011 at 11:43 AM, apc a...@apc.kg wrote: yep, Undo feature would be great breakthrough. I investigated this topic in JMeter code some time ago and found it a bit complex for me, I failed to

Re: CTRL+Z as undo

2011-09-30 Thread apc
a lot of code changes... I understand it, but not having an undo in JMeter is really bad experience. - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/CTRL-Z-as-undo-tp4848249p4856915.html Sent from the JMeter - User mailing list archive

Re: Command Line option to Enable and Disable ?

2011-09-30 Thread sebb
On 29 September 2011 18:11, Deepak Shetty shet...@gmail.com wrote: if you know it in advance then add an IF controller (wrapping your loop) that checks a property (where the property is passed by command line) Or you could use a property for the loop count, with default 0, and set the property

Re: XPath Extractor doesn't work if I check 'Use Tidy'

2011-09-30 Thread sebb
There are two aspects to XML correctness: - well-formed - valid Well-formed just means matching end-tags and no syntax errors, which is probably all you were expecting. Valid means that the XML agrees with its DTD. For XHTML, Tidy knows what the DTD is. Tidy does not know what the DTD for

Re: JMeter and MySQL?

2011-09-30 Thread karl
Hi all, we wrote a small tool with a gui, to import the log into a mysql-DB. not really ready, but helps me a lot to mining 90%/10% response times and filter errors. If some intrested to take look/try, please send me a private email. Thanks karl Am 29.09.2011 13:57, schrieb vineeth: Hi

Re: User supplied variables in JMeter test

2011-09-30 Thread Bruce Ide
Sure! Just put your product IDs in a CSV file or database and use a CSV config data element or JDBC sampler to read them into an array. Then you can use a ForEach logic controller to perform the same action using a different variable from the array each time. In your SOAP request you'd just

Re: CTRL+Z as undo

2011-09-30 Thread apc
God bless you! - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/CTRL-Z-as-undo-tp4848249p4857619.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: Command Line option to Enable and Disable ?

2011-09-30 Thread Deepak Shetty
the function is __property The error you are getting is because Login is going to evaluate to literal string ${property(Login)} (since its not defined) your if condition becomes ${property(Login)} == 1 which is bad javascript. On Fri, Sep 30, 2011 at 7:00 AM, mkt michaelkturner...@gmail.com

Re: Command Line option to Enable and Disable ?

2011-09-30 Thread Deepak Shetty
what do you mean by threads do not? On Fri, Sep 30, 2011 at 7:51 AM, mkt michaelkturner...@gmail.com wrote: Well I deleted them all and re-added them and now it works, kinda. The if controllers work, but the Threads do not... -- View this message in context:

Re: counter function bug

2011-09-30 Thread sebb
On 30 September 2011 16:04, sebb seb...@gmail.com wrote: On 30 September 2011 08:34, Philippe Mouawad philippe.moua...@gmail.com wrote: Hello, I confirm this behaviour also exists in 2.5 and 2.5.1. It may be a documentation issue or a real issue, I opened an issue for clarification:   -

Re: counter function bug

2011-09-30 Thread Deepak Shetty
If a variable refers to a function, one would expect the variable to be evaluated once per iteration,so it can be used in multiple samples. Well we already have the counter element. And the function already supports saving into a variable so it can be used in multiple samples irrespective of how

Re: If i do a manual execution by adding extended status bar to firefox

2011-09-30 Thread Deepak Shetty
how have you calculated it manually (the last row value is not much useful anyway)? If Request1 = 10 samples each 10 secs therefore avg =10 seconds and request2 = 1 sample , 1 second therefore avg = 1 second then overall average = (10*10 + 1*1)seconds/(10+1) samples. regards deepak On Thu,

not all thread group ending with nothing in the logs WARN Thread won't exit after stopping

2011-09-30 Thread Basim Baassiri
Hi, I started jmeter with DEBUG logging on (running on window 7) jmeter -Ljmeter.engine=DEBUG i have a test plan that I've seen work and run against a test environment and when i start the testplan against a different environment, jmeter appears to not respond or be active. There is a period of

Re: Up to date values without CSV config

2011-09-30 Thread E S
Thanks for the help. The __time() function is exactly what I wanted. Unfortunately, for the other value (the calculated one), I need access to cryptographic libraries. It looks like I could use either javascript or beanshell as long as they support importing third party libraries, but frankly I

Re: Up to date values without CSV config

2011-09-30 Thread Deepak Shetty
yes CSV is faster - however you can do the same with a startup threadgroup instead of your test Beanshell can do almost anything java can do (and you write most of it within a java class so that you only call out to your java code (or you can write your own custom function in java) regards deepak

Re: If i do a manual execution by adding extended status bar to firefox

2011-09-30 Thread sprasad
I have calculated manually by adding up all the response times in 'Average' column and divided by number of labels, in my case that would 3920/7=560if i divide it by 1000 to show it in seconds it would 0.56, but here the value is 0.66 which i got in aggregate report... actually the table