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 at Nabble.com

Re: Regular expression extractor

2011-10-04 Thread ZK
.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 commands, e-mail

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. First part

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

2011-09-07 Thread SanderW
-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp475p4777800.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org

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 SanderW
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 unsubscribe, e-mail

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

2011-09-07 Thread sebb
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 unsubscribe, e

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: 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:

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

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 marco.paso...@gmail.com 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 now

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

2011-06-29 Thread Gmail
Expression Extractor what worked fine. But now with the new version of JMeter we are getting HTML Assertion errors when we try to use the Regular Expression Extractor. Is there a way to disable the Tidy warnings? That does not make sense. The Regex Extractor does not use Tidy. Nor does

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

2011-06-04 Thread sebb
are 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 list archive at Nabble.com

Re: Regular expression extractor using escape character '\'

2011-05-10 Thread vthakur
=assignment / - 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

Re: Regular expression extractor using escape character '\'

2011-05-10 Thread zillakilla
this message in context: http://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

Re: Regular expression extractor using escape character '\'

2011-05-09 Thread zillakilla
;modtype=assignment'\); //\]\]gt; 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 - 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-tp4370013p4370056

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

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, fail

Re: Assert Regular Expression Extractor result

2011-03-23 Thread sebb
On 23 March 2011 14:54, Andrei Ghimus ghi...@gmail.com 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} is an integer, how can I verify

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 seb...@gmail.com wrote: On 23 March 2011 14:54, Andrei Ghimus ghi...@gmail.com 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

Re: Assert Regular Expression Extractor result

2011-03-23 Thread Andrei Ghimus
, Andrei Ghimus ghi...@gmail.com 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} is an integer, how can I verify that it is greater than

Re: Assert Regular Expression Extractor result

2011-03-23 Thread sebb
wrote: On 23 March 2011 14:54, Andrei Ghimus ghi...@gmail.com 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} is an integer, how

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 - 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 Query

2011-03-12 Thread Rajiv Nanduani
? -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 kapil.j...@logica.com wrote: Hi I have defined Regular Expression Extractor for my script

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 - keep

Re: Regular Expression Extractor Query

2011-03-10 Thread sebb
On 10 March 2011 16:02, Jain, Kapil kapil.j...@logica.com 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 Extractor. Any

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

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-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

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

2010-12-21 Thread sebb
On 21 December 2010 08:59, Felix Frank f...@mpexnet.de 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.

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 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 seeing is the variable is taking

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

2010-12-21 Thread sbhosale
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 requests. So it means that it is not capturing the membership number from the response. Now I will explain you what are the settings I

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 process in

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

2010-12-21 Thread Deepak Shetty
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 requests. So it means that it is not capturing the membership

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

2010-12-20 Thread sbhosale
want to capture the membershipnumber is form method=post action=/benefitsplus-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?membershipNumber=8881756375package=471380f7-29df-4e77-906e-1cd9e5a2f5a6listOfOptionalBenefits= id=frmMaster I am using the Regular Expression extractor post

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

2010-12-20 Thread Anthony Johnson
-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?membershipNumber=8881756375package=471380f7-29df-4e77-906e-1cd9e5a2f5a6listOfOptionalBenefits= id=frmMaster I am using the Regular Expression extractor post processor. I have tried number of regular expressions to capture this value

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 Nabble.com

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

2010-12-20 Thread sbhosale
-1cd9e5a2f5a6amp;lis tOfOptionalBenefits= id=frmMaster 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} in the subsequent requests

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

2010-12-20 Thread Deepak Shetty
. membershipNumber=(\d+) 4. form method=post action=/benefitsplus-travel-uk/en-gb/homepage/purchase/complete-payment.aspx?membershipNumber=(\d+)amp;package=471380f7-29df-4e77-906e-1cd9e5a2f5a6amp;lis tOfOptionalBenefits= id=frmMaster Basically I am using the Regular Expression Extractor post

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

2010-12-20 Thread sbhosale
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} in the subsequent requests. So what I want to achieve is using the Regular Expression Extractor I want

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

2010-12-20 Thread Deepak Shetty
-payment.aspx?membershipNumber=(\d+)package=471380f7-29df-4e77-906e-1cd9e5a2f5a6lis tOfOptionalBenefits= id=frmMaster 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

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

2010-12-20 Thread sandeep bhosale
-1cd9e5a2f5a6lis tOfOptionalBenefits= id=frmMaster 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

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.com

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-06 Thread SanderW
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 the JMeter - User mailing list archive

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-Expression-Extractor

Re: Problem with Regular Expression Extractor

2010-12-01 Thread Rob Schroder
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 string: 6yuQXuFV5rx2tE5/QL0V9jclw0HnWK+4madV9uAwOsg= Form

RE: Problem with Regular Expression Extractor

2010-12-01 Thread Steve Eckhart
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 regular

Re: Problem with Regular Expression Extractor

2010-12-01 Thread sebb
On 1 December 2010 16:37, Rob Schroder r...@manilla.com 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 csrf-token content= in the result. That depends on what you put in the Template. If

Re: Problem with Regular Expression Extractor

2010-12-01 Thread Rob Schroder
- 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 expression that you suggest, csrf-token content

Re: Problem with Regular Expression Extractor

2010-12-01 Thread sebb
To: JMeter Users List Subject: Re: Problem with Regular Expression Extractor Thanks for the tip about the combo box! The problem with the regular expression that you suggest, csrf-token content=([^]+), is that it leaves csrf-token content= in the result. What I need is to be able to just grab

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: meta name=csrf-param content=authenticity_token/ meta name

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 mailing list archive at Nabble.com

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 Regular Expression Extractor

regular expression extractor and HTML table

2010-11-25 Thread thanh nguyen
Hi all, I have the following table: table tr td1 /td td2 /td /tr tr td3 /td td4 /td /tr /table 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

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 td([^]*)/td 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

RE: regular expression extractor long page

2010-10-27 Thread jeanlouis.pasturel
regards Jean-Louis 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 span class=x61819/span so the walue is 1819 On Tue, Oct 26

Re: regular expression extractor long page

2010-10-27 Thread Michele Mase'
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 span class=x61819/span so the walue is 1819 On Tue, Oct 26, 2010 at 9:39 PM, Deepak Shetty shet...@gmail.com wrote: can you

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 span

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 f...@mpexnet.de wrote: Hi, black gaffer said that quite early yesterday, so cheers to him, and I'm glad you finally came around ;) Regards, Felix On

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 . /span/tdtd class=x1l x4xspan class=x4Primo invito/span/tdtd class=x1n x4xspan class=x61819/span/tdtd class=x1n x4x.a lot of

Re: regular expression extractor long page

2010-10-26 Thread Suresh Rajachar
try this.. span class=\x6\(.*)/span 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' michele.m...@gmail.com To: JMeter Users

Re: regular expression extractor long page

2010-10-26 Thread Felix Frank
On 10/26/2010 04:20 PM, Suresh Rajachar wrote: try this.. span class=\x6\(.*)/span This is much too greedy. If anything, span class=\x6\(.*?)/span or even span class=\x6\([^]*)/span I don't see why the original won't work, though. Cheers, Felix

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: span class=\x6\[0-9]{1,6}/span

Re: regular expression extractor long page

2010-10-26 Thread Michele Mase'
Even span class\x6\1819/span that is the exact value returns dummy On Tue, Oct 26, 2010 at 4:31 PM, Felix Frank f...@mpexnet.de 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

Re: regular expression extractor long page

2010-10-26 Thread black gaff
. 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-expression-extractor

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 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

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' michele.m...@gmail.comwrote: 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

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 - span\s*class=x6([^]*)/ span See

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 shet...@gmail.com wrote: hi Resending because got a spam notification works fine for me Sample script (change the location in the script to your HTML file)

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: form id=xxxForm action=http

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 Sent from

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-Expression-Extractor-cannot-extract

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-cannot-extract-value

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread kiransiri
.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 mailing list archive at Nabble.com

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 from

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 form tag in the document, that would take extra consideration. Cheers, Felix On

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

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 f...@mpexnet.de wrote: Probably not ;-) If you want a definitive answer, you will need to post the exact string from your

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 JMeter - User

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 Felix Frank
=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 can use for post methods but my regular expression extractor does not seem

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 Deepak Shetty
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 from the JMeter - User mailing list archive

Re: Using Regular Expression Extractor to extract the id

2010-06-17 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

Re: Using Regular Expression Extractor to extract the id

2010-06-17 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
in context: http://old.nabble.com/Using-Regular-Expression-Extractor-to-extract-the-%22id%22-tp28861851p28898958.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr

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 tried

Re: Using Regular Expression Extractor to extract the id

2010-06-15 Thread Nagusoft
Regards -- Nithya Prakash.L nithyaprakas...@gmail.com +919623320453 -- View this message in context: http://old.nabble.com/Using-Regular-Expression-Extractor-to-extract-the-%22id%22-tp28861851p28898958.html Sent from the JMeter - User mailing list archive at Nabble.com

Re: Using Regular Expression Extractor to extract the id

2010-06-13 Thread Nagusoft
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=orgManageUserid=30 _tabId_orgUserGrid=orgUserGrid_UsersshowOrgUserMode=addMode - The above url is the path which

Re: Using Regular Expression Extractor to extract the id

2010-06-12 Thread Adrian Speteanu
the exact expression which is to be used in regular expression extractor. i'll try out to find where am going wrong... meanwhile is there any possible solution for this issue please let me know... On Sat, Jun 12, 2010 at 8:15 AM, Deepak Shetty shet...@gmail.com wrote

Re: Using Regular Expression Extractor to extract the id

2010-06-12 Thread Deepak Shetty
to fetch the exact expression which is to be used in regular expression extractor. i'll try out to find where am going wrong... meanwhile is there any possible solution for this issue please let me know... On Sat, Jun 12, 2010 at 8:15 AM, Deepak Shetty shet...@gmail.com

Using Regular Expression Extractor to extract the id

2010-06-11 Thread Nithya Prakash
to fetch the syntax to be used in the regular expression extractor - http://172.18.10.1:3128/Web/performAction?view=orgManageUserid=30 _tabId_orgUserGrid=orgUserGrid_UsersshowOrgUserMode=addMode - The above url is the path which is coming while i create the user. The id=30 is the Org id

Re: Using Regular Expression Extractor to extract the id

2010-06-11 Thread Deepak Shetty
is the path which is coming while i create the user. The id=30 is the Org id. Now in order to extract the id i use a regular expression extractor. I make the following settings. Response Field to check : URL Regular Expression

Re: Using Regular Expression Extractor to extract the id

2010-06-11 Thread Nithya Prakash
Thanks Deepak Yea its the URL which is been redirected. am actually using HTTP fox to record the parameters and the checking the values in HTML format... able to get the id's but am not able to fetch the exact expression which is to be used in regular expression extractor. i'll try out

Re: Using Regular Expression Extractor to extract the id

2010-06-11 Thread Deepak Shetty
expression which is to be used in regular expression extractor. i'll try out to find where am going wrong... meanwhile is there any possible solution for this issue please let me know... On Sat, Jun 12, 2010 at 8:15 AM, Deepak Shetty shet...@gmail.com wrote: The above url is the path

  1   2   3   4   >