Re: jmeter memory leak?

2011-10-25 Thread Kirk
+1, the listeners will make it look as though there is a leak. Kirk On Oct 26, 2011, at 6:24 AM, Deepak Shetty wrote: > follow instructions - > http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean > Dont run GUI mode with listeners that use memory proportional to the number >

Re: jmeter memory leak?

2011-10-25 Thread Deepak Shetty
follow instructions - http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean Dont run GUI mode with listeners that use memory proportional to the number of samples. Modify the Jmeter startup files to change Xmx to as much memory as you can spare Its more likely you are using up

jmeter memory leak?

2011-10-25 Thread Dominic
I’m running the attached (unsophisticated) job for some basic figures to graph the performance of a filtering proxy compared to a direct connection over time. After 30 minutes jmeter freezes. The CMD box shows the below error: java.lang.OutOfMemoryError: GC overhead limit exceeded Dumping heap t

Re: Plan to use XPath Extractor to extract multiple matches but get single match only during execution?

2011-10-25 Thread Deepak Shetty
verified . If I run your page using http://infohound.net/tidy/ then if you look at the "cleaned up" HTML it produces then there is only a single anchor with the class Technically these are issues that your test tool found for you :) . if you can get the dev's to fix the HTML then the XPATH should

Re: Plan to use XPath Extractor to extract multiple matches but get single match only during execution?

2011-10-25 Thread David Luu
Thanks for the help Deepak. On Tue, Oct 25, 2011 at 4:34 PM, Deepak Shetty wrote: > A cursory look shows a bunch of HTML errors including duplicate ids that > might be impacting what TIDY does to your HTML (and the XPATH runs over the > TIDY). > Will need to check > > right now it looks If you a

Re: Plan to use XPath Extractor to extract multiple matches but get single match only during execution?

2011-10-25 Thread Deepak Shetty
A cursory look shows a bunch of HTML errors including duplicate ids that might be impacting what TIDY does to your HTML (and the XPATH runs over the TIDY). Will need to check right now it looks If you arent sure of the order then you can always run two regexes . If your text is always going to be

Re: Plan to use XPath Extractor to extract multiple matches but get single match only during execution?

2011-10-25 Thread David Luu
Sorry, didn't know that. Here's the URL http://dlshare.s3.amazonaws.com/shoppingCart.txt On Tue, Oct 25, 2011 at 3:42 PM, Deepak Shetty wrote: > hi > the mailing list rejects attachments. upload it somewhere and send a link > > regards > deepak > > On Tue, Oct 25, 2011 at 3:38 PM, David Luu wro

Re: Plan to use XPath Extractor to extract multiple matches but get single match only during execution?

2011-10-25 Thread Deepak Shetty
hi the mailing list rejects attachments. upload it somewhere and send a link regards deepak On Tue, Oct 25, 2011 at 3:38 PM, David Luu wrote: > JMeter v2.5 on Windows > > Added debug sampler, it did indeed match one only (the first item in > shopping list, top down order): > > ORDERITEMIDS=7249

Re: Plan to use XPath Extractor to extract multiple matches but get single match only during execution?

2011-10-25 Thread David Luu
JMeter v2.5 on Windows Added debug sampler, it did indeed match one only (the first item in shopping list, top down order): ORDERITEMIDS=7249682 ORDERITEMIDS_1=7249682 ORDERITEMIDS_matchNr=1 Attached is HTML from the HTTP sampler response of the shopping cart page for which we extract the data.

Re: Plan to use XPath Extractor to extract multiple matches but get single match only during execution?

2011-10-25 Thread Deepak Shetty
what version of Jmeter? Dont go by Firebug it looks at the DOM whereas JMeter will have to look at the source html . Add a Debug Sampler under your HTTP Sampler and also add a view results tree listener. If your debug sampler shows your multiple values correctly the problem is in the loop If your

Re: generate variable from file

2011-10-25 Thread Toni Menendez Lopez
Sebb, I don´t know why when I read the url from my file, I am not able to start reading from the 1st line in the file. It is like __StringFromFile always read one line at the stat of the the Jmeter Scenario and after loose my 1st line in the file. Look I send you jmx of jmeter 2.5. My file is :

Re: Unexpected Page returned

2011-10-25 Thread brock
Thank you'll its working great. -- View this message in context: http://jmeter.512774.n5.nabble.com/Unexpected-Page-returned-tp4873275p4937259.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe

Re: Unexpected Page returned

2011-10-25 Thread Deepak Shetty
Also you need quotes around page title On Oct 25, 2011 8:49 AM, "sebb" wrote: > On 25 October 2011 16:30, brock wrote: > > Thanks! Got it pulling the HTML Title to use for the If controller, but > if I > > look at the Debug Sampler I see a few version of the variable I defined > in > > the RegEx

Re: Unexpected Page returned

2011-10-25 Thread sebb
On 25 October 2011 16:30, brock wrote: > Thanks! Got it pulling the HTML Title to use for the If controller, but if I > look at the Debug Sampler I see a few version of the variable I defined in > the RegEx Extractor: > > PageTitle is the reference name in the RegEx Extractor. > > Info from the De

Re: Unexpected Page returned

2011-10-25 Thread brock
Thanks! Got it pulling the HTML Title to use for the If controller, but if I look at the Debug Sampler I see a few version of the variable I defined in the RegEx Extractor: PageTitle is the reference name in the RegEx Extractor. Info from the Debug Sampler: PageTitle=Verify Login PageTitle_g=1 P

Re: generate variable from file

2011-10-25 Thread Toni Menendez Lopez
Solved with __StringFromFile(). Now I need to do the same for a long number of files and inputs in a file. I don´t know if reading from file each request can download dramatically the performance of Jmeter, this is why I want to load all values in memory. For each request I am going to read the U

Re: generate variable from file

2011-10-25 Thread Toni Menendez Lopez
This is just the beginning of the Scenario... But after I have not only 1 file, I have like 5 files with 10 inputs each one. So lot of reads from disk... If I have all in memory I suspect all will be faster! Toni. 2011/10/25 sebb > On 25 October 2011 11:43, Toni Menendez Lopez wrote: > > The

Re: generate variable from file

2011-10-25 Thread sebb
On 25 October 2011 11:43, Toni Menendez Lopez wrote: > The thing is that I want to execute a loop in the same thread with all > values inside this file ( same as if I have done a regex ), with "CSV Data > Set Config" the varaible it is not modified until I restart a new thread. So why mention fil

Re: generate variable from file

2011-10-25 Thread Toni Menendez Lopez
The thing is that I want to execute a loop in the same thread with all values inside this file ( same as if I have done a regex ), with "CSV Data Set Config" the varaible it is not modified until I restart a new thread. This is my scenario -ThreadGroup -While not end of file -- request with url i

Re: generate variable from file

2011-10-25 Thread sebb
On 25 October 2011 10:55, Toni Menendez Lopez wrote: > Hello all, > > I send this just to know if someone has done something similar to the next, > > I have 3  files with 20 inputs, and these inputs are used in my jmeter > Scenario, and in order to avoid I/O with high Load I want to save all input

generate variable from file

2011-10-25 Thread Toni Menendez Lopez
Hello all, I send this just to know if someone has done something similar to the next, I have 3 files with 20 inputs, and these inputs are used in my jmeter Scenario, and in order to avoid I/O with high Load I want to save all input in a variable in memory to use later in a foreach. Do you know