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 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
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 id="x

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 at

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 m

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 from the J

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: 'http://www.brothersoft.com/the-regex-coach-download-65442.h

Re: Running a script where a value increments automatically

2010-10-04 Thread kiransiri
hi Din, use the function ${__counter(1,)} in the value where you want to increase the number Regards, Sree Kiran -- View this message in context: http://jmeter.512774.n5.nabble.com/Running-a-script-where-a-value-increments-automatically-tp3072564p3172900.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-cannot-extract-value-tp317301

Regarding the timers !!!!

2010-10-04 Thread Nithya Prakash
Hi Everyone I have a scenario where i need to give a 5 sec delay between each request. Say i have 10 threads(each thread for one user). He logs in and create a project and a solution. I need to have a delay of 5 sec between each HTTP request of each thread(as if the user is viewing the page for 5

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 th

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

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

Re: Regarding the timers !!!!

2010-10-04 Thread srinu1710
User constant timer, add a child to reach page POST. If you add the Constant timer to your thread group at last http request, it was applicable to all the requests above it. -- View this message in context: http://jmeter.512774.n5.nabble.com/Regarding-the-timers-tp3173193p3173197.html Sent fr