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

2011-09-29 Thread freesky
Thanks! That is even if the response is XML, but if we check ' Use Tidy ', then the JMeter will treat it as HTML and check the response it's a valid HTML or not before parsing the XPath, so if there is error during checking, then the XPath Extractor doesn't work, right? -- View this message in

Re: Distributed testing - Memory usage

2011-09-29 Thread poox
Thanks for the prompt response. - No other test elements in use other than what I listed in the OP. - Jmeter version: 2.5 I've tried removing all the listeners and running from NON-GUI mode with -l from the master, this is the command I used: ./jmeter -n -r -t cli-test.jmx -l example-log Sadly

Re: Distributed testing - Memory usage

2011-09-29 Thread Philippe Mouawad
Hello, Can you add these options if they are not here to jmeter startup script (inside JVM_ARGS): - -XX:+HeapDumpOnOutOfMemoryError(already in DUMP) - -XX:HeapDumpPath=path to logging folder where user running JMeter has rights add it Then run you test . Once OOM occurs, you will get a

How can I assign multiple values to a variable

2011-09-29 Thread freesky
The test plan is : Test Plan |_createA |_XPath Extractor |_createB |_XPath Extractor |_createA |_XPath Extractor The response of create is like next : requestcreate id=5 //request There is only one 'id' in each response and I use the 'XPath Extractor' to extract

JMeter and MySQL?

2011-09-29 Thread vineeth
Hi all We have been using JMeter for quite some time (current JMeter5.0). Is there any specific way with which: 1. JMeter Test Results can be written to MySQL Database? 2. Parameters/Variables, Iteration Number, Assertion Values, Regular Expression Results and Real Time User Data can

Re: Distributed testing - Memory usage

2011-09-29 Thread Philippe Mouawad
Hello, You OOM is related to bug in HTTP HC4 implementation that is fixed in 2.5.1-RC3. So using nightly build will fix your issue. But please confirm it does. Regards Philippe On Thu, Sep 29, 2011 at 2:46 PM, Philippe Mouawad philippe.moua...@gmail.com wrote: Hi again, Thanks for your post

Re: Distributed testing - Memory usage

2011-09-29 Thread Philippe Mouawad
Hi Again, And please confirm (just to have it written :-) ) you were using HTTPClient 4 new implementation. Regards Philippe On Thu, Sep 29, 2011 at 2:57 PM, Philippe Mouawad philippe.moua...@gmail.com wrote: Hello, You OOM is related to bug in HTTP HC4 implementation that is fixed in

Command Line option to Enable and Disable ?

2011-09-29 Thread mkt
Hello Is there a way via command line to enable and disable loops controllers? I have a test plan that has a clean up set of steps that I disable to run the tests, then disable the test loop and enable the clean up loop. Of course in the GUI you just right click and select enable/disable...

Re: Distributed testing - Memory usage

2011-09-29 Thread poox
Hi Philippe, thanks for your guidance. I can confirm I was using the HTTPClient 4 implementation. Would you expect the Java implementation to avoid this problem? I've downloaded the latest binary from the nightly releases but am struggling to get jmeter-server to run, it bombs on start with the

Re: Distributed testing - Memory usage

2011-09-29 Thread Philippe Mouawad
Hello, Using HttpClient 3 should avoid issue, since it was a leak in HC4 implementation (lots of SingleCOnnectionManager active). Regarding nightly, you can get RC 3 here: http://people.apache.org/~milamber/jmeter-2.5.1RC3/dist/ Please reply to us if your issue with NoClassDefFoundError is still

Re: Distributed testing - Memory usage

2011-09-29 Thread Philippe Mouawad
By the way are you using any external plugins or putting some jars in lib or lib/ext folders ? I tried with dist, not getting issue, which script are you using ? Thank you On Thu, Sep 29, 2011 at 4:55 PM, Philippe Mouawad philippe.moua...@gmail.com wrote: Hello, Using HttpClient 3 should

Re: Distributed testing - Memory usage

2011-09-29 Thread poox
I have the http://code.google.com/p/jmeter-plugins/ plugin pack in place the master server which I was using for some graphing listeners but I removed them during testing to ensure they were not the burden. I have no additional jars in place on the slave servers. I'll retest with HTTP client v3

Re: JMeter and MySQL?

2011-09-29 Thread Thibaut Raballand
Hi, You can create a DB connection in Beanshell at the beginning of the script, then store it in a JMeter variable. Then, whenever you wait, you can store whatever you wait in the DB using this connection. Cheers, Tibo On Thu, Sep 29, 2011 at 13:57, vineeth vineeth.sasidha...@spi.com wrote:

Re: JMeter and MySQL?

2011-09-29 Thread Bruce Ide
Couldn't you just use a JDBC config element and sampler? -- Bruce Ide flyingrhenqu...@gmail.com

Re: Distributed testing - Memory usage

2011-09-29 Thread poox
Early results look like the HttpClient 3 is increasing its memory usage at a much slower rate than the HttpClient 4 jmx was doing. I am still using dist however, did you intend for me to test HttpClient 3 on 2.5.1-RC3? Additionally, I seem to be getting an increased error rate with HttpClient 3,

Re: Distributed testing - Memory usage

2011-09-29 Thread Philippe Mouawad
My answers below On Thu, Sep 29, 2011 at 6:16 PM, poox r...@bancha.net wrote: Early results look like the HttpClient 3 is increasing its memory usage at a much slower rate than the HttpClient 4 jmx was doing. I am still using dist however, did you intend for me to test HttpClient 3 on

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

2011-09-29 Thread Deepak Shetty
Hi Meter will treat it as HTML Tidy does. Jmeter doesnt know. so if there is error during checking, then the XPath Extractor doesn't work, Some errors Tidy will fix, it might for e.g. add an html and body tag which will mess up your xpath. if you are interested , download the command line version

Re: How can I assign multiple values to a variable

2011-09-29 Thread Deepak Shetty
hi Just use different names in the XPath extractor (for e.g. by adding a counter or the __counter function) make the name variablev - should work , not tested regards deepak On Thu, Sep 29, 2011 at 4:18 AM, freesky h...@windowslive.com wrote: The test plan is : Test Plan |_createA

Re: Command Line option to Enable and Disable ?

2011-09-29 Thread Deepak Shetty
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) jmeter 2.5 has setup and teadown threadgroups which might be what you are looking for -

Re: JMeter and MySQL?

2011-09-29 Thread Deepak Shetty
Hi you probably dont want to do this while your test is running, you want to do it at the end of your test (you could ofcourse write your own listener like http://wiki.apache.org/jakarta-jmeter/MysqlCollectorPlugin - but it isnt what I would do JMeter Test Results can be written to MySQL

Re: JMeter and MySQL?

2011-09-29 Thread Oliver Lloyd
I'm with Deepak, this is a task best done offline after the test is complete. That said, it depends a lot on why you want to do this. It might be a direct DB connection is best. Assuming you take the offline route, here's an example of what we do: A lot of our testing is based on comparing

Up to date values without CSV config

2011-09-29 Thread E S
I have to include two query string parameters in my URLs. One of them is a timestamp and the other is a calculated value based on the timestamp. All the URLs can use the same two values. The tricky part is that the server is validating both of these values and the timestamp must be fairly up to

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

2011-09-29 Thread freesky
Thank you very much! -- View this message in context: http://jmeter.512774.n5.nabble.com/XPath-Extractor-doesn-t-work-if-I-check-Use-Tidy-tp4848485p489.html Sent from the JMeter - User mailing list archive at Nabble.com. -

Re: How can I assign multiple values to a variable

2011-09-29 Thread freesky
I want to use 'a_1', 'a_2' etc to represent 'createA', I can't use 'a', 'b', 'c' to represent 'createA'. Do you mean I should write like next in the XPath Extractor : Reference name : ${_counter(,rd)} XPath : //create/@id I tried it, it doesn't work. -- View this message in context:

Re: How can I assign multiple values to a variable

2011-09-29 Thread Deepak Shetty
Basically your ref name is variable (Im assuming your xpath only returns 1 value) e.g. a_${c} The counter function should have worked (to get c), but doesnt seem to , possibly it is a bug. As a workaround To get an autoincrement counter in BeanShell post processor use something like String c =

counter function bug

2011-09-29 Thread Deepak Shetty
per the documents The counter generates a new number each time it is called, starting with 1 and incrementing by +1 each time. However ThreadGroup +${__counter(TRUE,ref)}HTTPSampler1 +DebugSampler +${__counter(TRUE,ref)}HTTPSampler2 +DebugSampler +View Results tree Generates the number 1 in both