Re: Regular expression extractor

2011-10-04 Thread ZK
.512774.n5.nabble.com/Regular-expression-extractor-tp4867973p4868389.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional comman

Re: Regular expression extractor

2011-10-04 Thread ZK
newaccountid=(\d*)&newpatientid=(\d*)&patientid=(\d*)&accountid=(\d*) ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-tp4867973p4868138.html Sent from the JMeter - User mailing list archive a

Re: Regular Expression Extractor behaving different from Results Tree RegEx Tester?

2011-09-07 Thread sebb
gt; View this message in context: > http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp475p4778471.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > -

Re: Regular Expression Extractor behaving different from Results Tree RegEx Tester?

2011-09-07 Thread SanderW
this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp475p4778471.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsu

Re: Regular Expression Extractor behaving different from Results Tree RegEx Tester?

2011-09-07 Thread sebb
> View this message in context: > http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp475p4777800.html > Sent from the JMeter - User mailing list archive at Nabble.com. > >

RE: Regular Expression Extractor behaving different from Results Tree RegEx Tester?

2011-09-07 Thread Nermin CALUK
gular expression (because that would result in a default value). Nermin -Original Message- From: SanderW [mailto:san...@performancearchitecten.nl] Sent: 7. septembar 2011 10:40 To: jmeter-user@jakarta.apache.org Subject: Regular Expression Extractor behaving different from Results Tree

Re: Regular Expression Extractor behaving different from Results Tree RegEx Tester?

2011-09-07 Thread SanderW
Hmmm, I finally got it. The regular expression /Geboorteplaats.*\n.*(.+?)/ does the trick. I needed to add another .* before the newline. If anybody have a different way of approach I would gladly hear it -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression

Regular Expression Extractor behaving different from Results Tree RegEx Tester?

2011-09-07 Thread SanderW
Hi All, The regular expression I'm using in the Regular Expression Extractor keeps getting the default value and I don't have a clue why it does that because when I do a search on the same regular expression in the Results Tree listener it comes back with the row I'm looking for.

Regular Expression Extractor behaving different from Results

2011-09-07 Thread SanderW
-- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-tp437p437.html Sent from the JMeter - User mailing list archive at Nabble.com. - To

Re: Regular expression Extractor : userid

2011-08-03 Thread Felix Frank
Why's there a trailing slash in the regexp? The response string ends in '">' so '" />' cannot ever match. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jaka

Re: Regular expression Extractor : userid

2011-08-03 Thread Oliver Lloyd
http://rubular.com/ http://rubular.com/ -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-Extractor-userid-tp4658356p4662010.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: How to disable Tidy warnings when using the Regular Expression Extractor?

2011-06-29 Thread Gmail
sebb het volgende geschreven: > On 29 June 2011 14:33, Marco Pas wrote: >> Hi there, >> >> recently we upgraded our JMeter versions > > From? To? > >> and we are now facing a >> specific issue. Previously we could extract data from returned HTML >&

Re: How to disable Tidy warnings when using the Regular Expression Extractor?

2011-06-29 Thread sebb
On 29 June 2011 14:33, Marco Pas wrote: > Hi there, > > recently we upgraded our JMeter versions From? To? > and we are now facing a > specific issue. Previously we could extract data from returned HTML > pages using the Regular Expression Extractor what worked fine. But

How to disable Tidy warnings when using the Regular Expression Extractor?

2011-06-29 Thread Marco Pas
Hi there, recently we upgraded our JMeter versions and we are now facing a specific issue. Previously we could extract data from returned HTML pages using the Regular Expression Extractor what worked fine. But now with the new version of JMeter we are getting HTML Assertion errors when we try to

Re: Running Regular Expression extractor on the results of JDBC Requests

2011-06-04 Thread sebb
having. > Thanks, Pavel > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Running-Regular-Expression-extractor-on-the-results-of-JDBC-Requests-tp522245p4453545.html > Sent from the JMeter - User mailing li

Re: Running Regular Expression extractor on the results of JDBC Requests

2011-06-04 Thread pavelz
Bumping up a question. Anybody can help with the issue? I am having the same problem myself.. Thanks, Pavel -- View this message in context: http://jmeter.512774.n5.nabble.com/Running-Regular-Expression-extractor-on-the-results-of-JDBC-Requests-tp522245p4453545.html Sent from the JMeter - User

Re: Regular expression extractor using escape character '\'

2011-05-10 Thread zillakilla
ttp://jmeter.512774.n5.nabble.com/Regular-expression-extractor-using-escape-character-tp4382219p4384322.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakart

Re: Regular expression extractor using escape character '\'

2011-05-10 Thread vthakur
Problematic Reg#1 works for me but Reg#2 still giving me problem. - Vinay -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-using-escape-character-tp4382219p4384219.html Sent from the JMeter - User mailing list archive at Nabble.com. --

Re: Regular expression extractor using escape character '\'

2011-05-09 Thread zillakilla
t'\); //\]\]> however, why not just use?: modid=(\d*) Zilla -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-using-escape-character-tp4382219p4382286.html Sent from the JMeter -

Re: Regular expression extractor to capture hidden session value.

2011-05-04 Thread apc
:) Good luck! -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-to-capture-hidden-session-value-tp4370013p4370194.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: Regular expression extractor to capture hidden session value.

2011-05-04 Thread apc
I think Firebug operates parsed and re-generated HTML. You better use Jmeter's View Results Tree Response Data tab and try to debug regexp there. -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-extractor-to-capture-hidden-session-value-tp4370013p43

Re: Assert Regular Expression Extractor result

2011-03-23 Thread sebb
gt;>> >>> On Wed, Mar 23, 2011 at 4:56 PM, sebb wrote: >>> >>>> On 23 March 2011 14:54, Andrei Ghimus wrote: >>>> > Hi all. >>>> > >>>> > There's something I don't understand how to do in JMeter. >>>

Re: Assert Regular Expression Extractor result

2011-03-23 Thread sebb
nd this? > > On Wed, Mar 23, 2011 at 5:35 PM, Andrei Ghimus wrote: > >> Thank you, sebb! >> >> On Wed, Mar 23, 2011 at 4:56 PM, sebb wrote: >> >>> On 23 March 2011 14:54, Andrei Ghimus wrote: >>> > Hi all. >>> > >>> > Th

Re: Assert Regular Expression Extractor result

2011-03-23 Thread Andrei Ghimus
54, Andrei Ghimus wrote: >> > Hi all. >> > >> > There's something I don't understand how to do in JMeter. >> > >> > I have a Regular Expression Extractor: >> > >> > Ref name: folderItemsCount >> > Regex: folderItemsCo

Re: Assert Regular Expression Extractor result

2011-03-23 Thread Andrei Ghimus
Thank you, sebb! On Wed, Mar 23, 2011 at 4:56 PM, sebb wrote: > On 23 March 2011 14:54, Andrei Ghimus wrote: > > Hi all. > > > > There's something I don't understand how to do in JMeter. > > > > I have a Regular Expression Extractor: &

Re: Assert Regular Expression Extractor result

2011-03-23 Thread sebb
On 23 March 2011 14:54, Andrei Ghimus wrote: > Hi all. > > There's something I don't understand how to do in JMeter. > > I have a Regular Expression Extractor: > > Ref name: folderItemsCount > Regex: folderItemsCount=(.*) > > Assuming ${folderItemsCount} i

Assert Regular Expression Extractor result

2011-03-23 Thread Andrei Ghimus
Hi all. There's something I don't understand how to do in JMeter. I have a Regular Expression Extractor: Ref name: folderItemsCount Regex: folderItemsCount=(.*) Assuming ${folderItemsCount} is an integer, how can I verify that it is greater than 20 (or any other value), and if not

Re: Regular expression Extractor - Help

2011-03-21 Thread sandeep bhosale
Hi Ragini, Try this respondentid=(\d+) Thanks Sandeep On Mon, Mar 21, 2011 at 10:41 AM, zillakilla wrote: > respondentid = '([a-z0-9]*?)' > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Regular-expression-Extractor-Help-tp4209375p4221859.ht

Re: Regular expression Extractor - Help

2011-03-21 Thread zillakilla
respondentid = '([a-z0-9]*?)' -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-expression-Extractor-Help-tp4209375p4221859.html Sent from the JMeter - User mailing list archive at Nabble.com. --

Re: Regular expression Extractor - Help

2011-03-21 Thread dan
Thank you for your message. I will be unavailable until Tuesday March 29th. If you have any questions or need immediate attention please contact supp...@conceptual.ca or call 519.273.3377 I took the money and ran ;) Dan Heitbohmer ---

Re: Regular Expression Extractor Query

2011-03-12 Thread Rajiv Nanduani
gt; > -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: 10 March 2011 16:08 > To: JMeter Users List > Subject: Re: Regular Expression Extractor Query > > On 10 March 2011 16:02, Jain, Kapil wrote: > > Hi > > > > I have defined Regular Expre

RE: Regular Expression Extractor Query

2011-03-10 Thread Jain, Kapil
Yes I am sure value exists and it's dynamic value and can capture this value for first few user and after that it's failing? -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: 10 March 2011 16:08 To: JMeter Users List Subject: Re: Regular Expression Extractor Qu

Re: Regular Expression Extractor Query

2011-03-10 Thread sebb
On 10 March 2011 16:02, Jain, Kapil wrote: > Hi > > I have defined Regular Expression Extractor for my script and it's working > fine when running script for 2-5 user after that it's failing and the reason > is it couldn't find the value for Regular Expression E

Regular Expression Extractor Query

2011-03-10 Thread Jain, Kapil
Hi I have defined Regular Expression Extractor for my script and it's working fine when running script for 2-5 user after that it's failing and the reason is it couldn't find the value for Regular Expression Extractor. Any suggestion on this please? Thanks KJ Think green -

Re: ***Need help in regular expression extractor***

2010-12-22 Thread Felix Frank
On 12/22/2010 06:06 AM, sbhosale wrote: > > Hi Felix below response was of the post processor debugger where i am not > able to find the value of the variable. I cannot see a Debug Sampler paste in the rest of your message. Not matter. Anthony's reply is solid gold. Use his example and go from t

Re: ***Need help in regular expression extractor***

2010-12-21 Thread Deepak Shetty
t; > > On Tue, Dec 21, 2010 at 7:37 PM, Felix Frank-2 [via JMeter] < > ml-node+3313558-1467399334-146...@n5.nabble.com > > > > > wrote: > > > On 12/21/2010 02:58 PM, sbhosale wrote: > > > > > > > > Hi > > > > > > I ha

Re: ***Need help in regular expression extractor***

2010-12-21 Thread Felix Frank
On 12/21/2010 03:49 PM, sbhosale wrote: > > Hi, > > I have checked the response and I am getting the string what i am expecting. > But still it's capturing the default value of the RE Extractor. I have also > applied the debug postprocessor to check what value it takes. But the debug > post proce

Re: ***Need help in regular expression extractor***

2010-12-21 Thread sbhosale
)* which is correct as i > have > > checked with the tool "Regex Coach". I have also added the default value > as > > 111 in the Regular Expression extractor. Now what I am seeing is the > > variable is taking the defulat value and it is using it in the subsequent >

Re: ***Need help in regular expression extractor***

2010-12-21 Thread Felix Frank
On 12/21/2010 02:58 PM, sbhosale wrote: > > Hi > > I have used the regex as* membershipNumber=(\d+)* which is correct as i have > checked with the tool "Regex Coach". I have also added the default value as > 111 in the Regular Expression extractor. Now what I am

Re: ***Need help in regular expression extractor***

2010-12-21 Thread sbhosale
Hi I have used the regex as* membershipNumber=(\d+)* which is correct as i have checked with the tool "Regex Coach". I have also added the default value as 111 in the Regular Expression extractor. Now what I am seeing is the variable is taking the defulat value and it is using

Re: ***Need help in regular expression extractor***

2010-12-21 Thread sebb
On 21 December 2010 08:59, Felix Frank wrote: > To clear this up a bit, this is what the test plan should roughly look like: > > + HTTPSampler1 > ++ RegularExpressionExtractor > + HTTPSampler2 > > where HTTPSampler1 is probably a GET request for the page containing the > form you posted. HTTPSampl

Re: ***Need help in regular expression extractor***

2010-12-21 Thread Felix Frank
To clear this up a bit, this is what the test plan should roughly look like: + HTTPSampler1 ++ RegularExpressionExtractor + HTTPSampler2 where HTTPSampler1 is probably a GET request for the page containing the form you posted. HTTPSampler2 is the POST in which you use the extracted value. Use Ant

Re: ***Need help in regular expression extractor***

2010-12-21 Thread sbhosale
Hi garvita, Still no luck :(. Is there any way to do this other than the Regular Expression extractor. I am checking the Response Message option from the response field to check section and selecting main sample and sub samples option from the Apply To section of the regular expression extractor

Re: ***Need help in regular expression extractor***

2010-12-20 Thread Garvita
Try this regular expression : (membershipNumber=)(.*)([&]) Templete= $2$ Match No. 0 -- View this message in context: http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313118.html Sent from the JMeter - User mailing list archive at Nabble

Re: ***Need help in regular expression extractor***

2010-12-20 Thread sandeep bhosale
somehow > > > its > > > > not working. I have tried ur expression in following ways > > > > 1. (membershipNumber">)(.+?)(<) > > > > 2.> > > > > > > > > > > > > action="/benefitsplus-travel-uk/en-

Re: ***Need help in regular expression extractor***

2010-12-20 Thread Deepak Shetty
?)(<) > > > > > &package=471380f7-29df-4e77-906e-1cd9e5a2f5a6&lis > > > tOfOptionalBenefits=" id="frmMaster"> > > > 3. membershipNumber=(\d+) > > > 4. > > > > > > > > action="/benef

Re: ***Need help in regular expression extractor***

2010-12-20 Thread sbhosale
uot;/benefitsplus-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?membershipNumber=(\d+)&package=471380f7-29df-4e77-906e-1cd9e5a2f5a6&lis > > > tOfOptionalBenefits=" id="frmMaster"> > > > > Basically I am using the Regular Expression Extrac

Re: ***Need help in regular expression extractor***

2010-12-20 Thread Deepak Shetty
tOfOptionalBenefits=" id="frmMaster"> > 3. membershipNumber=(\d+) > 4. > action="/benefitsplus-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?membershipNumber=(\d+)&package=471380f7-29df-4e77-906e-1cd9e5a2f5a6&lis > tOfOptionalBenefits=" id=&quo

Re: ***Need help in regular expression extractor***

2010-12-20 Thread sbhosale
ts=" id="frmMaster"> 3. membershipNumber=(\d+) 4. Basically I am using the Regular Expression Extractor post processor. I am giving the Reference name as Nextmembershipnumber. And I am using this reference name as a variable in the subsequent requests like ${Nextmembershipnumber

Re: ***Need help in regular expression extractor***

2010-12-20 Thread Garvita
Try this regular expression (membershipNumber">)(.+?)(<) with template $2$ and match no. 0 -- View this message in context: http://jmeter.512774.n5.nabble.com/Need-help-in-regular-expression-extractor-tp3313052p3313065.html Sent from the JMeter - User mailing list archive at

Re: ***Need help in regular expression extractor***

2010-12-20 Thread Anthony Johnson
ber is > >   action="/benefitsplus-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?membershipNumber=8881756375&package=471380f7-29df-4e77-906e-1cd9e5a2f5a6&listOfOptionalBenefits=" > id="frmMaster"> > > I am using the Regular Expression extractor p

***Need help in regular expression extractor***

2010-12-20 Thread sbhosale
om which i want to capture the membershipnumber is I am using the Regular Expression extractor post processor. I have tried number of regular expressions to capture this value but not able to capture it. I have tried below ways Reference Name = Nextmembershipnumber Regular

Re: Problem with Regular Expression Extractor

2010-12-06 Thread SanderW
ly no idea how I came up with this? In my scripts I'm automatically escaping the double quotes.for nothing I apologise for the wrong advice -- View this message in context: http://jmeter.512774.n5.nabble.com/Problem-with-Regular-Expression-Extractor-tp3287090p3294056.html Sent from th

Re: Problem with Regular Expression Extractor

2010-12-06 Thread Felix Frank
On 12/01/2010 08:10 AM, SanderW wrote: > > Double quotes are special characters. They need to be escaped. This notion keeps coming up on the list. I'm wondering what Regex engine treats quotes specially. I'm sure that neither POSIX nor Perl do, neither ORO. What others are out there to be wary of

Re: Problem with Regular Expression Extractor

2010-12-01 Thread sebb
his > communication in error, please destroy it and immediately notify us by return > email.  Thank you. > > > > -Original Message- > From: Rob Schroder [mailto:r...@manilla.com] > Sent: Wednesday, December 01, 2010 10:38 AM > To: JMeter Users List > Subject: Re: Pro

Re: Problem with Regular Expression Extractor

2010-12-01 Thread Rob Schroder
by return email. Thank you. -Original Message- From: Rob Schroder [mailto:r...@manilla.com] Sent: Wednesday, December 01, 2010 10:38 AM To: JMeter Users List Subject: Re: Problem with Regular Expression Extractor Thanks for the tip about the combo box! The problem with the regular ex

Re: Problem with Regular Expression Extractor

2010-12-01 Thread sebb
On 1 December 2010 16:37, Rob Schroder wrote: > Thanks for the tip about the combo box! > > The problem with the regular expression that you suggest, csrf-token" > content="([^"]+), is that it leaves content="6yuQXuFV5rx2tE5/QL0V9jclw0HnWK+4madV9uAwOsg="/> > > Like I said, the string is a dynami

RE: Problem with Regular Expression Extractor

2010-12-01 Thread Steve Eckhart
otify us by return email.  Thank you. -Original Message- From: Rob Schroder [mailto:r...@manilla.com] Sent: Wednesday, December 01, 2010 10:38 AM To: JMeter Users List Subject: Re: Problem with Regular Expression Extractor Thanks for the tip about the combo box! The problem with the re

Re: Problem with Regular Expression Extractor

2010-12-01 Thread Rob Schroder
csrf-token" content="([^"]+) Milamber Le 01/12/2010 01:51, Rob Schroder a ecrit : > Hi, > > I'm trying to use the Regular Expression Extractor. I've verified that I can > use it to parse out simple text. But, when I try to parse the following >

Re: Problem with Regular Expression Extractor

2010-12-01 Thread sebb
*(?=\") However, according to the end of the following page: http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summary.html (?<= - i.e. lookbehind is not supported. > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Problem-with-Regular-Exp

Re: Problem with Regular Expression Extractor

2010-11-30 Thread Milamber
Hello, Regexp can be testing directly on JMeter in View Results Tree with Regexp tester view (combo list). JMeter use ORO as regexp engine. Try this : csrf-token" content="([^"]+) Milamber Le 01/12/2010 01:51, Rob Schroder a ecrit : > Hi, > > I'm trying to use the

Re: Problem with Regular Expression Extractor

2010-11-30 Thread SanderW
Double quotes are special characters. They need to be escaped. (?<=\"csrf-token\" content=\").*(?=\") -- View this message in context: http://jmeter.512774.n5.nabble.com/Problem-with-Regular-Expression-Extractor-tp3287090p3287284.html Sent from the JMeter - User

Problem with Regular Expression Extractor

2010-11-30 Thread Rob Schroder
Hi, I'm trying to use the Regular Expression Extractor. I've verified that I can use it to parse out simple text. But, when I try to parse the following string: 6yuQXuFV5rx2tE5/QL0V9jclw0HnWK+4madV9uAwOsg= Form this HTML snippet: The Regular Expression Extractor doesn't

Re: regular expression extractor and HTML table

2010-11-25 Thread Deepak Shetty
Hi http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html well if your regular expression is something like ([^<]*) Then $1$ represents the template (i.e. each () expression is assigned a number and you use $number$ to represent what you want returned) The matchNo represents which va

regular expression extractor and HTML table

2010-11-25 Thread thanh nguyen
Hi all, I have the following table: 1 2 3 4 the number of rows are dynamic, but the columns are static. I want to extract data 1 to 4 and put them in a variable that is an array of 2 dimensions. I'd use the row and column number to get my data. I succeeded to build a regular expressio

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
try this.. (.*) There are number of free regular expression extractor tools available you can use them, that will help you in building the reg exp. Regards, Suresh R From: Michele Mase' To: JMeter Users List Sent: Tue, October 26, 2010 3:

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

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread Deepak Shetty
use in the > post methods. Its quite weird why it won't get the value > > -Caloy > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173116.html > Sent from the JMeter - User ma

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread cal0y
Tried (.*?) just now and i still did not get any value. Thanks -caloy -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173061.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread Felix Frank
unambiguously. E.g. form id="xxxForm".*?p_auth=(.+?).amp; Note that I worked around possible '&' awkwardness using . instead. HTH, Felix On 10/04/2010 10:41 AM, cal0y wrote: > > Good day, > > I am trying to extract an authentication token from a url so i ca

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread kiransiri
hi cal, use the expression (.*?) instead of (.+?) and keep the default is blank Regards, Sree Kiran -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173048.html Sent from the JMeter - User mailing list archive

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread SanderW
Hi Cal, The dot in the ip-adres is a special character as well. Can't you use p_auth=(.+?)& instead? Kind regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173244.html Sent from the JMet

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread sebb
Note also that JMeter 2.4 includes a Regex tester on the View Results Tree Listener. Download the page, and experiment with the REs. On 4 October 2010 11:11, Felix Frank wrote: > Probably not ;-) > > If you want a definitive answer, you will need to post the exact string > from your document. We

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread Felix Frank
Probably not ;-) If you want a definitive answer, you will need to post the exact string from your document. We could then suggest a working regex for your use case. E.g., make sure there is no newline in the tag in the document, that would take extra consideration. Cheers, Felix On 10/04/2010

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread cal0y
Im trying to get a dynamic authentication token which i have to use in the post methods. Its quite weird why it won't get the value -Caloy -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173116.html Sent fro

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread kiransiri
egex-coach-download-65442.html' Regards, Sree Kiran -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173115.html Sent from the JMeter - User mail

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread cal0y
Hi Felix, i used "form id="xxxForm".*?p_auth=(.+?).amp;" in the regular expression but still did not extract any value. Could there be other workarounds? Thanks -Caloy -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread cal0y
hi kiran, Tried http://172.22.52.57:9082/en/xxx\?p_auth=(.*?)&p_p_id= and blank default value, but it still can't extract a its value -Caloy -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173104.html

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread kiransiri
"http://172.22.52.57:9082/en/xxx\?p_auth=(.*?)&p_p_id=" instead of "http://172.22.52.57:9082/en/xxx?p_auth=(.+?)&p_p_id=" and try once put the default value as blank Regards, Sree Kiran -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread Felix Frank
Hi, I can't see where the problem is, but then I don't know what you're really trying to match. Make sure to read http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html carefully and take a shot at http://jakarta.apache.org/oro/demo.html which is quite helpful. Good luck! Felix O

Regular Expression Extractor cannot extract value

2010-10-04 Thread cal0y
Good day, I am trying to extract an authentication token from a url so i can use for post methods but my regular expression extractor does not seem to get the value. Here are the contents of the regular expression extractor. Reference Name: TOKEN Regular Expression: http://172.22.52.57:9082/en

Re: Using Regular Expression Extractor to extract the "id"

2010-06-16 Thread Felix Frank
Hi, I'm not sure I understand your exact problem. The regex extractor that's applied to the response you posted could use the expression "editOrgUser\((.*?)\)", without the quotes. (Yes, I do presume there can be not closing parenthesis in the ID, which I consider a fair guess). Cheers - Felix

Re: Using Regular Expression Extractor to extract the "id"

2010-06-16 Thread Nithya Prakash
Hi I have another scenaio for the same User ID. 1. I Create an Organization. An org id and user id is generated automatically. 2. I sign in as Organization Admin. 3. I have to edit the access profile of the org admin. Am unable to extract the Org admin id and use it in my Reg exp Extractor.

Re: Using Regular Expression Extractor to extract the "id"

2010-06-15 Thread Nithya Prakash
;(\d+)",displayName:"(.+?)"},{id:"(\d+)",displayName:"(.+?)"}] " > > > > I'm not able to get the required output. Could you held me out please. > > > > Thanks & Regards > >

Re: Using Regular Expression Extractor to extract the "id"

2010-06-15 Thread Nagusoft
ayName:"(.+?)"},{id:"(\d+)",displayName:"(.+?)"}] " > > I'm not able to get the required output. Could you held me out please. > > Thanks & Regards > -- > Nithya Prakash.L > nithyaprakas...@gmail.com > +919623320453 > >

Re: Using Regular Expression Extractor to extract the "id"

2010-06-15 Thread Nithya Prakash
Hello People, Thanks for your solutions. Am finding difficulty in using the Regular Expression Extraction for the following syntax " [{id:"94",displayName:"sa,sa"},{id:"134",displayName:"rrr,sss"}] " Which expression exactly we should in order to get the required output. I

Re: Using Regular Expression Extractor to extract the "id"

2010-06-13 Thread Nagusoft
which i'll be using it for > further HTTP requests The problem am facing is i'm unable to fetch the > "syntax" to be used in the regular expression extractor > > - > http://172.18.10.1:3128/Web/performAction?view=orgManageUser&id=30 > &_tabId_orgU

  1   2   3   4   >