sugan san wrote:Add regular expression extractor and give exp as value='[*+?]', for detailed answer
please visit the below URL
http://www.technix.in/jmeter-problems-and-solutions/
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Max White wrote:I have the following content in the html response
Max White wrote:
I have to extract the value of the above input tag.I have tried both regexp and xpath extractor but neither is working for me.
regexp pattern
Max White wrote:xpath query
In XPATH Assertion listener I got the error -> No node matched
I modified the xpath query to below
The above does not give any error.The moment I add the actual name,I get the error -> No node matched.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
sugan san wrote:Sorry,
You have to give value='[.+?]'.This will work.
This is the one I'm using , it works for me
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
sugan san wrote:That should work with preprocessor=> regular expression extractor in jmeter.
sugan san wrote:Please check once again. And add that to your http request from where you have to extract the content. And use "Regex Tester" to find it is working or not.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Andrew Monkhouse wrote:I tried your examples both with and without the single quotes in all 3 tools. As expected, according to the rules of regular expressions, they failed in every case.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
sugan san wrote:In Regular Expression text box give value='[.+?]'.
You gave only [.?+].
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
sugan san wrote:First let me know ,Where are you adding Regex expression extractor?
sugan san wrote: and no need to check in debug post processor,
sugan san wrote:In view results tree select 'RegExp Tester' ,give the expression I gave and enter , and share the screenshot
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Consider Paul's rocket mass heater. |