Re: regular expression extractor long page

2010-10-27 Thread Michele Mase'
Tx a lot for the help, expecially for "black gaff" that focused the problem! Michele Masè On Wed, Oct 27, 2010 at 9:24 AM, Felix Frank wrote: > Hi, > > black gaffer said that quite early yesterday, so cheers to him, and I'm > glad you finally came around ;) > > Regards, > Felix > > On 10/27/201

Re: regular expression extractor long page

2010-10-27 Thread Felix Frank
Hi, black gaffer said that quite early yesterday, so cheers to him, and I'm glad you finally came around ;) Regards, Felix On 10/27/2010 09:22 AM, Michele Mase' wrote: > Thanx a lot! > The trick was: > Remeber to group the regex into variable using the parethesis > > ([0-9]{1,6}) did the work!

Re: regular expression extractor long page

2010-10-27 Thread Michele Mase'
o:michele.m...@gmail.com] > Envoyé : mardi 26 octobre 2010 23:22 > À : JMeter Users List > Objet : Re: regular expression extractor long page > > The string is > 1819 > so the walue is 1819 > > On Tue, Oct 26, 2010 at 9:39 PM, Deepak Shetty wrote: > > can you upload

RE: regular expression extractor long page

2010-10-26 Thread jeanlouis.pasturel
-Message d'origine- De : Michele Mase' [mailto:michele.m...@gmail.com] Envoyé : mardi 26 octobre 2010 23:22 À : JMeter Users List Objet : Re: regular expression extractor long page The string is 1819 so the walue is 1819 On Tue, Oct 26, 2010 at 9:39 PM, Deepak Shetty wrote: > c

Re: regular expression extractor long page

2010-10-26 Thread Michele Mase'
Tomorrow morning (my time location is GMT+1) i'll try the trick! On Tue, Oct 26, 2010 at 11:49 PM, Deepak Shetty wrote: > hi > Resending because got a spam notification > > works fine for me > Sample script (change the location in the script to your HTML file) > cid-1bd02fe33f80b8ac.office.live.c

Re: regular expression extractor long page

2010-10-26 Thread Deepak Shetty
hi Resending because got a spam notification works fine for me Sample script (change the location in the script to your HTML file) cid-1bd02fe33f80b8ac.office.live.com/self.aspx/Public/jmeter/RegexTest/RegexTest.jmx Jmeter version 2.4 r961953 Java 1.5 Regex used - ([^<]*) See if the sample script

Re: regular expression extractor long page

2010-10-26 Thread Deepak Shetty
can you upload that HTML anywhere and send us a link? regards deepak On Tue, Oct 26, 2010 at 12:22 PM, Michele Mase' wrote: > a) yes > In order to avoid other steps, i wrote the exact response in a html page, > hit it with an http request (get page.html) > post process it with the regex. extract

Re: regular expression extractor long page

2010-10-26 Thread Michele Mase'
a) yes In order to avoid other steps, i wrote the exact response in a html page, hit it with an http request (get page.html) post process it with the regex. extractor I've explained in the first mail. The value that should be extracted (a value between 1 and 6 decimal digits), it will be used to do

Re: regular expression extractor long page

2010-10-26 Thread Deepak Shetty
Hi just a couple of things to check a. The snippet of HTML you posted is from the view results tree response? (and not from a tool like firebug) - this matters because in the DOM spaces get converted into a single one or maybe you have ' instead of " . In your exact value you have omitted the = b.

Re: regular expression extractor long page

2010-10-26 Thread black gaff
. 4. This will work without being overly greedy: (\d+?) 4a. \d is for any digit 4b. +? repeats the previous match as few times as possible 4c. the () store whatever is contained to the variable as defined in jmeter -- View this message in context: http://jmeter.512774.n5.nabble.com/regular-expre

Re: regular expression extractor long page

2010-10-26 Thread Michele Mase'
Even 1819 that is the "exact" value returns "dummy" On Tue, Oct 26, 2010 at 4:31 PM, Felix Frank wrote: > http://jakarta.apache.org/oro/demo.html says this should work, so I'm at > a loss. > > Are you sure you're using the variable correctly? Have you inserted a > Debug Sampler? > > On 10/26/201

Re: regular expression extractor long page

2010-10-26 Thread Felix Frank
http://jakarta.apache.org/oro/demo.html says this should work, so I'm at a loss. Are you sure you're using the variable correctly? Have you inserted a Debug Sampler? On 10/26/2010 04:04 PM, Michele Mase' wrote: > [0-9]{1,6} - To

Re: regular expression extractor long page

2010-10-26 Thread Felix Frank
On 10/26/2010 04:20 PM, Suresh Rajachar wrote: > try this.. > (.*) This is much too greedy. If anything, (.*?) or even ([^<]*) I don't see why the original won't work, though. Cheers, Felix - To unsubscribe, e-mail: jmeter-user

Re: regular expression extractor long page

2010-10-26 Thread Suresh Rajachar
04:36 PM Subject: regular expression extractor long page Hi folks, hi've a webapp that generates a very long html+jscript page (more than 60k) I want to capture the numerical value 1819 .a lot of definitions . Primoinvito1819.a lot of definitions I tried the following: Ref

regular expression extractor long page

2010-10-26 Thread Michele Mase'
Hi folks, hi've a webapp that generates a very long html+jscript page (more than 60k) I want to capture the numerical value 1819 .a lot of definitions . Primo invito1819.a lot of definitions I tried the following: Refernce name: conta_inviti Regular Expression: [0-9]{1,6} Template: $1