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 the

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

How to remove or loosen HTML Tidy messages?

2011-09-07 Thread Marco Pas
Hi there, we are trying to upgrade from JMeter 2.3.3 to release 2.5. Our tests normally went ok but now we are receiving HTML Assertion errors when we run the exact same tests on 2.5.. See the screenshots for that.. The part where it fails is a normal regular expression extractor that works ok

Re: How to remove or loosen HTML Tidy messages?

2011-09-07 Thread sebb
On 7 September 2011 13:23, Marco Pas marco.paso...@gmail.com wrote: Hi there, we are trying to upgrade from JMeter 2.3.3 to release 2.5. Our tests normally went ok but now we are receiving HTML Assertion errors when we run the exact same tests on 2.5.. See the screenshots for that.. Please

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

POST REST WebService in jmeter

2011-09-07 Thread testerinCO
I have to test some REST web services and I'm using the POSTER add on tool (Firefox). I'm successful running the services via the tool, but I'm not able to get a POST to work in jmeter using the HTTP Request sampler. Here are the parameters I input into the POSTER tool in the header: Name

Re: POST REST WebService in jmeter

2011-09-07 Thread Bruce Ide
I would swear that I've used the SOAP request for that in the past. My service wanted a post in XML format, but it doesn't seem to provide a WSDL or anything I'd normally associate with SOAP. If your service wants some XML, I'd suggest giving that a try. -- Bruce Ide flyingrhenqu...@gmail.com

Re: POST REST WebService in jmeter

2011-09-07 Thread David Levine
I just use a normal HTTP Request with Method=POST, and specify a file for the XML contents to send. Wish I could embed the XML contents in the JMeter test script instead of putting it in a separate file, but that's worked great for testing my RESTful service (built using Jersey). D On Wed, Sep

Re: POST REST WebService in jmeter

2011-09-07 Thread Deepak Shetty
I added the authorization into the send parameters with the request section. authorization is a header , not a parameter. - this will cause the 401 error - because your request is not authorized Typically you have to use the HTTP Authorization manager , but it did not AFAIK support custom schemes

HTTPS recording/running failing

2011-09-07 Thread Dan Nux
Hi Everyone, I am trying to record an script for a https landing and login page. I have used badboy and also Jmeter proxy server in order to record the test. However, I am getting an error when I try to run the test. javax.net.ssl.SSLException: Received fatal alert: unexpected_message at

Re: POST REST WebService in jmeter

2011-09-07 Thread sebb
On 7 September 2011 17:37, David Levine eniv...@gmail.com wrote: I just use a normal HTTP Request with Method=POST, and specify a file for the XML contents to send.  Wish I could embed the XML contents in the JMeter test script instead of putting it in a separate file, but that's worked

RE: POST REST WebService in jmeter

2011-09-07 Thread Ray Trejo
Try the HTTP Request HTTPClient vs the regular HTTP Request Sampler. I had a similar issue with the HTTP Request and REST. Ray -Original Message- From: testerinCO [mailto:cmola...@comcast.net] Sent: Wednesday, September 07, 2011 10:19 AM To: jmeter-user@jakarta.apache.org Subject:

Archive search

2011-09-07 Thread Shay Ginsbourg
Hi, Which is the best way to conduct a string search in http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/ ? Please advise. Shay Ginsbourg Regulatory Testing Affairs Consultant Formerly QA Manager of LoadRunner at Mercury Interactive M.Sc. cum laude in

Re: Archive search

2011-09-07 Thread Deepak Shetty
google? jmeter login site: http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/ On Wed, Sep 7, 2011 at 12:42 PM, Shay Ginsbourg sginsbo...@gmail.comwrote: Hi, Which is the best way to conduct a string search in http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/ ?

Re: Issue with Reular Expression

2011-09-07 Thread chanda
Though I am extracting the Regular Expression of the ViewState and EventValidation from the previous request and passin the Variable in the next request I am getting an error saying The state information is invalid for this page and might be corrupted, how do I know that the RegExp variable I am

Re: Issue with Reular Expression

2011-09-07 Thread Deepak Shetty
Compare what the regex extracts with the value attribute of the hidden field (from View Results tree listener you can get the latter, and from debug sampler you can see the former). Also check the value you are sending in View Results Tree in the next request regards deepak On Wed, Sep 7, 2011

Re: Java script not executing

2011-09-07 Thread chanda
I am also facing the same issue, I have generated the script for an ASP.Net application with viewstate and eventValidation, when I run the test once the data is not getting saved in the database. -- View this message in context:

Re: Java script not executing

2011-09-07 Thread Jeff
Was this resurrecting an old thread or what? See http://jakarta.apache.org/jmeter/ and read the section titled JMeter is not a browser. You must NOT think in terms of what you are doing in the browser (user interaction), but what the browser is sending / receiving at the HTTP protocol layer

Re: Problems in handling the AJAX request

2011-09-07 Thread chanda
can someone explain the lines mentioned below ie Next step is to very carefully compare the exact request headers that Jmeter sends (faulty?) and that your browser sends (correct). 1. How to compare the headers 2. How do we compare that we are passing the correct RegExp ViewState and

Re: Java script not executing

2011-09-07 Thread chanda
thanks for the immediate response however I did not understand what you ment by your answer to the question of mine. When I am executing the Jmeter th data I passed is not getting insrted into the database is what is my problem. -- View this message in context:

Re: Problems in handling the AJAX request

2011-09-07 Thread Deepak Shetty
please stop resurrecting old threads for the problem you have already raised on another thread. As mentioned by felix you need to compare it with the browser (firefox + live httpheaders or firebug or fiddler2 ). This allows you to compare whether you are passing the correct number of

Re: Issue with Reular Expression

2011-09-07 Thread Deepak Shetty
Hi here is a sample file https://skydrive.live.com/#!/?cid=1bd02fe33f80b8acsc=documentsuc=1id=1BD02FE33F80B8AC!868 run against a sample ASP.NET site(not mine, please do not abuse!) which has both viewstate and eventvalidation http://testdrive.barnyardbbs.com/ASP.Net-Gallery-Control-Open-Source