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
You need to extract those values from the 'page response' you get BEFORE navigating to: /framework/wc_servlet.jsp? ie: page 1 (extract values with regEx) page 2: /framework/wc_servlet.jsp?(populated with previous extracted values) ZK -- View this message in context:

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

2011-09-07 Thread SanderW
Hmmm, I finally got it. The regular expression /dtGeboorteplaats/dt.*\n.*dd(.+?)/dd/ 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:

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

2011-09-07 Thread sebb
On 7 September 2011 09:48, SanderW san...@performancearchitecten.nl wrote: Hmmm, I finally got it. The regular expression /dtGeboorteplaats/dt.*\n.*dd(.+?)/dd/ does the trick. I needed to add another .* before the newline. If anybody have a different way of approach I would gladly hear it

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

2011-09-07 Thread SanderW
Hi Nermin, I checked again for trailing spaces, but just a .* doesn't do the trick. Sebb, your suggestion works fine and is a much better way. I could provide a link, but it won't be of use because it's an internal application. Thanks both of you for your thoughts -- View this message in

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

2011-09-07 Thread sebb
On 7 September 2011 14:19, SanderW san...@performancearchitecten.nl wrote: Hi Nermin, I checked again for trailing spaces, but just a .* doesn't do the trick. Sebb, your suggestion works fine and is a much better way. I could provide a link, but it won't be of use because it's an internal

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:

Re: Regular expression extractor using escape character '\'

2011-05-10 Thread vthakur
Thanks Zilla for your reply! I have tried using modid=(\d*), but no luck for me. Looks like response code is unique one i.e. it is not part of HTML body, so within regular expression, I need to select 'Response field to check' = 'Body(unescaped)' etc. It works for one of my similar script but not

Re: Regular expression extractor using escape character '\'

2011-05-10 Thread zillakilla
For regEx 2 could you use?: meta http-equiv=refresh content=5; url=http://qa-2sc-usc\.2tor\.com/course/view\.php\?id=94amp;modid=(.+?) or even just: modid=(.+?) (btw all the regExs tried work for me maybe your response data is slightly different?... i.e modtype=assignment) Zilla -- View

Re: Regular expression extractor using escape character '\'

2011-05-09 Thread zillakilla
Your regEx 1 works like this: meta http-equiv=refresh content=5; url=http://qa-2sc-usc\.2tor\.com/course/view\.php\?id=94amp;modid=(\d*)amp;modtype=assignment / Your regEx 2 works like this: lt;!\[CDATA\[

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:

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

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

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

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
Few things: 1. You don't need to escape the quotes 2. In your original regex, you aren't storing the digits within the variable - they need to be enclosed with paren () ([0-9]{1,6}) 3. I don't believe PERL supports {1,6} the way you are using it. The regex fails in RegexBuddy. 4. This will

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)

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:

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:

Re: Regular Expression Extractor cannot extract value

2010-10-04 Thread kiransiri
hi cal, do you have The Regex Coach software, if u had then first find the reguler expression and keeep the same in the Jmeter Reguler expression extractor. see the url for reference: 'http://www.weitz.de/regex-coach/' download link:

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 the

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
Hi, be wary of Regex special characters like ?, which you will usually want to escape. I'm not sure, but '' may be actively hurting you in this expression. You may want to keep your expression as simple as possible, so long as it still matches your search string unambiguously. E.g. form

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
Hi If your regex is correct then the other problem that people run into is the location of the Post processor . You usually need to create this as the child of the sampler that is returning the values (sometimes it is created as the child of the controller which means it applies to every sample ).

Re: Regular Expression Extractor in Html

2009-07-23 Thread sebb
On 23/07/2009, S.D. sidd.da...@gmail.com wrote: Hi. I'm having some trouble with the regular expression extractor. I can't seem to get the right Jmeter regex to work, though other regex's do. I feel like the line breaks in the response might be messing me up .. See:

Re: Regular Expression Extractor in Html

2009-07-23 Thread S.D.
Thank you .. That worked perfectly ! \r only matches CR; you also need to match \n (LF) Try The current user is:[\r\n]+(.*) - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands,

Re: Regular Expression Extractor and its Variables

2009-06-15 Thread mattlamignat
I agree that would be more efficient to do all assertions useing BeanShell I have never used Controllers, not sure why would that be a better way? Thanks, mattlamignat hi if you have a simple text match then BeanShell Assertion(or java or bsf) even if you have regexes you could use the java

Re: Regular Expression Extractor and its Variables

2009-06-15 Thread Deepak Shetty
independent of number of assertions to be made, more descriptive without needing to read the code regards deepak On Mon, Jun 15, 2009 at 11:29 AM, mattlamignat mateusz_grode...@o2.plwrote: I agree that would be more efficient to do all assertions useing BeanShell I have never used

Re: Regular Expression Extractor and its Variables

2009-06-15 Thread JdevEng
I agree. BeanShell is easy to setup, the scripts are relatively easy to debug and you can do [almost] anything with them. The problem with regular expressions is that you might get them to work but you can't be sure when they are going to fail. On the other hand there are tools that help write

Re: Regular Expression Extractor and its Variables

2009-06-15 Thread Tony Lotts
Try: - vars.get(city_10) or you could use ${city_10} - vars.put( city_10, a ) - print(${city_10}) or print(vars.get(city_10)) On Fri, Jun 5, 2009 at 12:19 PM, mattlamignat mateusz_grode...@o2.plwrote: This is my test plan: |-User Defined Variable |-HTTP Request |-Regular

Re: Regular Expression Extractor and its Variables

2009-06-05 Thread Deepak Shetty
if (vars.get(${city_10}) == null) is wrong should be vars.get(city_10) Im sure theres a better way to do what you want though :) regards deepak On Fri, Jun 5, 2009 at 9:19 AM, mattlamignat mateusz_grode...@o2.pl wrote: This is my test plan: |-User Defined Variable |-HTTP Request

Re: Regular Expression Extractor and its Variables

2009-06-05 Thread mattlamignat
I changed the code to if (vars.get(city_10) == null){ vars.put( city_10, a ); print(vars.get(city_10)); } and it's working! thank you Sir! I was suprised that this part was wrong because it was printing a.. :) anyway do you know that better way by any chance? :) Deepak Shetty wrote: if

Re: Regular Expression Extractor and its Variables

2009-06-05 Thread Deepak Shetty
hi if you have a simple text match then BeanShell Assertion(or java or bsf) even if you have regexes you could use the java API's. However I would still like to see if there was a way to use a test like HTTPRequest Regex Post processor For Each Controller on the regex returned value Once

Re: Regular expression extractor

2009-05-29 Thread Maya Hague
topic.*?(.*?)/topic worked like a charm. Thanks From: Deepak Shetty shet...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent: Thursday, May 28, 2009 9:39:33 PM Subject: Re: Regular expression extractor An XPATH extractor is probably

Re: Regular expression extractor

2009-05-29 Thread sebb
List jmeter-user@jakarta.apache.org Sent: Thursday, May 28, 2009 9:39:33 PM Subject: Re: Regular expression extractor An XPATH extractor is probably easier? If you still want to try regex Id prbably try something like topic.*?(.*?)/topic regards deepak On Thu, May 28, 2009 at 5

Re: Regular expression extractor

2009-05-29 Thread Deepak Shetty
a charm. Thanks From: Deepak Shetty shet...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent: Thursday, May 28, 2009 9:39:33 PM Subject: Re: Regular expression extractor An XPATH extractor is probably easier? If you

Re: Regular expression extractor

2009-05-28 Thread drubix
I don't think \d is supposed to be in square brackets. That would probably make it search for words consisting of only the characters d and \ try removing them. Maya Hague wrote: Hi, A xml/rpc soap response 3 responses. How do I get the third response into a regular expression. I tried

Re: Regular expression extractor

2009-05-28 Thread drubix
Actually, on second thought, I'm not sure that's right. Make sure the regex extractor is acting on the Body of the response. drubix wrote: I don't think \d is supposed to be in square brackets. That would probably make it search for words consisting of only the characters d and \ try

Re: Regular expression extractor

2009-05-28 Thread Deepak Shetty
An XPATH extractor is probably easier? If you still want to try regex Id prbably try something like topic.*?(.*?)/topic regards deepak On Thu, May 28, 2009 at 5:48 PM, Maya Hague mhague94...@yahoo.com wrote: Hi, A xml/rpc soap response 3 responses. How do I get the third response into a

Re: Regular expression extractor

2009-05-28 Thread Deepak Shetty
Hi you are right , the square brackets shouldnt be present regards deepak On Thu, May 28, 2009 at 6:32 PM, drubix andrew.schr...@gmail.com wrote: Actually, on second thought, I'm not sure that's right. Make sure the regex extractor is acting on the Body of the response. drubix wrote:

Re: Regular Expression Extractor - one more question

2009-04-30 Thread jmeter-user
unfortunately not work : Now I set regular expression : http://www.nabble.com/file/p23311290/regular1.png Response from previous jdbc request is : http://www.nabble.com/file/p23311290/response.png and regular expression should be read value where column name = NAME in this response is

Re: Regular Expression Extractor - one more question

2009-04-30 Thread jmeter-user
Yes, in Response have spaces here is screen shot : http://www.nabble.com/file/p23313538/space.png - http://www.nabble.com/file/p23311290/request.png This means the variable was not set. Check that you don't have leading or trailing spaces in the RE. And try adding a

Re: Regular Expression Extractor - one more question

2009-04-30 Thread sebb
I'll try once more. Please try adding a Debug Sampler. Also check that the Reference Name in the RE (Regular Expression Post Processor) does not have any leading or trailing spaces. On 30/04/2009, jmeter-user michal...@o2.pl wrote: Yes, in Response have spaces ( I need read value form

Re: Regular Expression Extractor - one more question

2009-04-30 Thread jmeter-user
ok IN Reference Name does not have any leading or trailing spaces : this copy 1:1 from RE PP_NAME ^(\d+)\s+(\S+) $2$ 1 here screen shot from debug sampler (lack PP_NAME ) : http://www.nabble.com/file/p23314117/debug1.png When I set in RE -- Default Value , here is screen shot :

Re: Regular Expression Extractor - one more question

2009-04-30 Thread sebb
On 30/04/2009, jmeter-user michal...@o2.pl wrote: ok IN Reference Name does not have any leading or trailing spaces : this copy 1:1 from RE PP_NAME ^(\d+)\s+(\S+) $2$ 1 here screen shot from debug sampler (lack PP_NAME ) : http://www.nabble.com/file/p23314117/debug1.png

Re: Regular Expression Extractor - one more question

2009-04-30 Thread sebb
On 30/04/2009, jmeter-user michal...@o2.pl wrote: unfortunately not work : Now I set regular expression : http://www.nabble.com/file/p23311290/regular1.png OK. Response from previous jdbc request is : http://www.nabble.com/file/p23311290/response.png No such file. and regular

Re: Regular Expression Extractor - one more question

2009-04-30 Thread jmeter-user
its WORK !!! :))) thank you very much ! :) sebb-2-2 wrote: On 30/04/2009, jmeter-user michal...@o2.pl wrote: ok IN Reference Name does not have any leading or trailing spaces : this copy 1:1 from RE PP_NAME ^(\d+)\s+(\S+) $2$ 1 here screen shot from debug sampler (lack

Re: Regular Expression Extractor - one more question

2009-04-29 Thread sebb
On 29/04/2009, jmeter-user michal...@o2.pl wrote: Thanks for solution of previous problem with all :)) I Have last question about Regex: http://www.nabble.com/file/p23295877/regular.png I Have in response : ID NAME BUSINESS_ID STATUS IP_BIDESCRIPTION

RE: regular expression extractor

2008-12-22 Thread PAULO LOURENCO (RE-ESI-Workflow)
...@gmail.com] Sent: sábado, 20 de Dezembro de 2008 1:47 To: JMeter Users List Subject: Re: regular expression extractor On 19/12/2008, Serpent_Guard bluegate...@gmail.com wrote: Whoops, that's '[\w^\d]+'. [^\d] means all but 0-9 but [\w^\d] means \w, ^, or \d so it will match more than is required

Re: regular expression extractor

2008-12-22 Thread sebb
! -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: sábado, 20 de Dezembro de 2008 1:47 To: JMeter Users List Subject: Re: regular expression extractor On 19/12/2008, Serpent_Guard bluegate...@gmail.com wrote: Whoops, that's '[\w^\d]+'. [^\d] means all but 0

Re: regular expression extractor

2008-12-19 Thread sebb
On 19/12/2008, Serpent_Guard bluegate...@gmail.com wrote: Whoops, that's '[\w^\d]+'. [^\d] means all but 0-9 but [\w^\d] means \w, ^, or \d so it will match more than is required. The ^ only negates a class if present at the start. This can be seen by using the demo at:

Re: regular expression extractor

2008-12-18 Thread Serpent_Guard
I think you want '[\w+] (\d+) .+' (w/o quotes). [\w+] - \w is a character class that matches any word character (alphanumeric plus underscores). '+' changes it from matching a single character to matching one or more characters. (\d+) - \d is a character class that matches digits. '+' makes

Re: regular expression extractor

2008-12-18 Thread Serpent_Guard
Whoops, that's '[\w^\d]+'. -- View this message in context: http://www.nabble.com/regular-expression-extractor-tp21074258p21086088.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: regular expression extractor

2008-12-18 Thread Serpent_Guard
Whoops, that's '[\w^\d]+'. -- View this message in context: http://www.nabble.com/regular-expression-extractor-tp21074258p21086104.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Regular Expression Extractor-Help Needed

2008-09-08 Thread sebb
On 08/09/2008, Mathumathi Palani Bommu, EAS-Chennai [EMAIL PROTECTED] wrote: Add Regular Expression extractor and provide the values as Reference name:session Regular Expression :input type=hidden name=userSession value=(.*) I think that will capture too much as . also matches any it

RE: Regular Expression Extractor-Help Needed

2008-09-08 Thread Mathumathi Palani Bommu, EAS-Chennai
Provide the regular expression as input type=hidden name=userSession value=(.*) -Original Message- From: Mathumathi Palani Bommu, EAS-Chennai [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2008 4:13 PM To: JMeter Users List Subject: RE: Regular Expression Extractor-Help Needed

RE: Regular Expression Extractor-Help Needed

2008-09-08 Thread Mathumathi Palani Bommu, EAS-Chennai
Add Regular Expression extractor and provide the values as Reference name:session Regular Expression :input type=hidden name=userSession value=(.*) Template:$1$ Match #:0 U can use the sessionid value captured Regular expression extractor as ${session} in the further requests -Original

Re: Regular Expression Extractor

2008-03-13 Thread Ronan Klyne
Sushit Roy wrote: Hi, I am using Regular Expression extractor and would like to collect an activation code for an user which is gennerated by our website. The line which displayed on the webpage is Their activation code is 57348957. How should I write the regular expression to get use the

RE: Regular Expression Extractor

2008-03-13 Thread Sushit Roy
reading from the file the username and activation code one after another. Any idea, how I can proceed. Thanks Sushit Date: Thu, 13 Mar 2008 07:52:29 + From: [EMAIL PROTECTED] To: jmeter-user@jakarta.apache.org Subject: Re: Regular Expression Extractor Sushit Roy wrote: Hi,I am using

Re: regular expression extractor HELP

2008-02-21 Thread sebb
Try skl'].value=([^;]+);document.+return false;${userParameter} as the Regular expression On 21/02/2008, Fulvio Guglielmelli [EMAIL PROTECTED] wrote: May be i'm not so clear, or are my UserParameter When in Jmeter console I configure UserParameter in = i

Re: regular expression extractor HELP

2008-02-20 Thread sebb
On 20/02/2008, Fulvio Guglielmelli [EMAIL PROTECTED] wrote: HI, i need an help on the regular expressio extractor i have a http request, with HTML responseData similar like this skl'].value='AA';document.return false; ..

Re: regular expression extractor HELP

2008-02-20 Thread sebb
On 20/02/2008, Fulvio Guglielmelli [EMAIL PROTECTED] wrote: thank the problem is the the HTML returned from server in responde is dynamic, so i cannot put into the RegularExpression field. Which other part is dynamic? I thought I already allowed for that. is possible use * or

Re: regular expression extractor HELP

2008-02-20 Thread Fulvio Guglielmelli
thank the problem is the the HTML returned from server in responde is dynamic, so i cannot put into the RegularExpression field. is possible use * or samethink like that? fulvio sebb [EMAIL PROTECTED] ha scritto: On 20/02/2008, Fulvio Guglielmelli wrote: HI, i need an

Re: regular expression extractor HELP

2008-02-20 Thread sebb
On 20/02/2008, Fulvio Guglielmelli [EMAIL PROTECTED] wrote: It's a table builded by the server after a SQL query is last column So you just need to extract the 11 and store it in the userParameter variable. I assumed this is what you were already doing, as you said: if

Re: regular expression extractor HELP

2008-02-20 Thread Fulvio Guglielmelli
May be i'm not so clear, or are my UserParameter When in Jmeter console I configure UserParameter in = i would like the extractor return 'AA' When i configure UserParameter= iwould like the extractor return BB

Re: regular expression extractor HELP

2008-02-20 Thread Fulvio Guglielmelli
May be i'm not so clear, or are my UserParameter When in Jmeter console I configure UserParameter in = i would like the extractor return 'AA' When i configure UserParameter= iwould like the extractor return BB

Re: Regular Expression Extractor Issue

2008-01-05 Thread gnr80
It seems to be that had to escape those characters to get the right values. I'll try again without those characters to be escaped. I am sure that had to escape them otherwise got problem in getting extractor to work. The version was using for testing is 2.3. -- View this message in context:

Re: Regular Expression Extractor Issue

2008-01-04 Thread gnr80
This is good to know escape character is '\' . I am trying to find what are the characters to be escaped. During testing, came across the following fields to be escaped. ()[]:%# Thanks,gnr80 -- View this message in context:

Re: Regular Expression Extractor Issue

2008-01-04 Thread sebb
:%# do not need to be escaped. However, . * + must be escaped. ^ and $ must be escaped unless at the start or end. On 04/01/2008, gnr80 [EMAIL PROTECTED] wrote: This is good to know escape character is '\' . I am trying to find what are the characters to be escaped. During testing, came

Re: Regular Expression Extractor Issue

2008-01-02 Thread sebb
On 03/01/2008, gnr80 [EMAIL PROTECTED] wrote: I am trying to extract following values from previous response and pass it to subsequent requests using Reguluar Expression Extractor. But it always returns defualt value defined in the Extractor. pre img id=_menuShow

Re: regular expression extractor question

2007-10-04 Thread sebb
On 04/10/2007, Sova [EMAIL PROTECTED] wrote: Hi there! Iam using regular expression extractor for extracting string (in this case mine string is 1660 ) to variable like this: Reference name: request_id Regular expression: name=requestID value='([0-9]+)' Template: $1$

Re: regular expression extractor question

2007-10-04 Thread Sova
Thank you for answer but we missunderstood each other, mine RE was allready a child of the request. Btw problem solved: I replaced Default value with: ${request_id} and its working :) Thank you anyway. sebb-2 wrote: On 04/10/2007, Sova [EMAIL PROTECTED] wrote: Hi there! Iam using

Re: regular expression extractor question

2007-10-04 Thread sebb
On 04/10/2007, Sova [EMAIL PROTECTED] wrote: Thank you for answer but we missunderstood each other, mine RE was allready a child of the request. Btw problem solved: I replaced Default value with: ${request_id} and its working :) That should not be necessary: - if the RE is in the correct

Re: regular expression extractor question

2007-10-04 Thread Sova
Thank you for great answer it works very good without any default value sebb-2 wrote: On 04/10/2007, Sova [EMAIL PROTECTED] wrote: Thank you for answer but we missunderstood each other, mine RE was allready a child of the request. Btw problem solved: I replaced Default value with:

Re: Regular Expression Extractor

2007-07-03 Thread sebb
This is probably due to: Bug 41104: JMeterThread behaviour was changed so that PostProcessors are run in forward order (as they appear in the test plan) rather than reverse order as previously. The original behaviour can be restored by setting the following JMeter property:

Re: Regular Expression Extractor - get value from a popup window

2007-06-04 Thread tiffany
I just wondering maybe it's the problem of a hidden type, I try to get the first value from that source, Jmeter can't get the two values which have the type hidden, but Jmeter can get other values for me. For example, : INPUT type=hidden name=destType value=3 size=15, Jmeter can't get the

Re: Regular Expression Extractor - get value from a popup window

2007-06-04 Thread sebb
As far as JMeter is concerned, the HTML page is just text. If the text is there, it can be matched. There must be a problem with the RE. On 04/06/07, tiffany [EMAIL PROTECTED] wrote: I just wondering maybe it's the problem of a hidden type, I try to get the first value from that source,

Re: Regular Expression Extractor - get value from a popup window

2007-06-01 Thread sebb
On 01/06/07, tiffany [EMAIL PROTECTED] wrote: Hi, I try to get an userid from a popup window, but I never get it. Is there a sampler for the pop-up window? Check the content in the Tree View Listener. JMeter does not run Javascript in web-pages. My regular expression is very simple:

Re: Regular Expression Extractor

2007-05-16 Thread sebb
Try: (?s)name=userID value=(\d+)\s*input type=hidden name=userName value=User 1 See: http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html On 16/05/07, tiffany [EMAIL PROTECTED] wrote: Hi, I need to use a regular expression extractor to get my USERID, it works fine if I

  1   2   >