On 14/07/2008, Fitzpatrick, Adrian <[EMAIL PROTECTED]> wrote: > > If this URL gets a 404 response in JMeter, then it should also get the same > using a browser. You say you get a blank page when using the browser - is it > completely blank or is a standard browser error. If you do not get an error > page returned in the browser, its strange behaviour. > > Am I correct in thinking that you expect the application to return a 404 HTTP > status code in response to this HTTP GET request? If that is the case (and > its seems like strange application behaviour - how would you tell real errors > from successes?) then you have a problem using JMeter I think. As far as I am > aware the HTTP sampler behaviour is that it will consider any HTTP 404 to be > a failure. You could try overriding this by adding an assertion to the > sampler which checks the status code and asserts success if 404, but I dont > know (and kinda doubt) if this will work. >
That does work and is what I suggested earlier. > > Adrian > > -----Original Message----- > From: Paule Zaksauskiene [mailto:[EMAIL PROTECTED] > > Sent: 14 July 2008 15:31 > To: JMeter Users List > Subject: RE: Asynchronous HTTP request > > > > ************************************* > > This e-mail has been received by the Revenue Internet e-mail service. (IP) > > ************************************* > > > Hi, > > Thanks for a quick response. > Basically, the url (if I type it manually on the browser), returns empty > page. The url format is the following: > > http://localhost:8443/opath/blueprintAccess/commission(id,parameters)?id > ={"oid":{"type":"com.enigmatec.ems.server.dtoImpl.BlueprintImpl","key":0 > }}¶meters={"java.io.Serializable:[]} > The request does not return any response. Therefore, Page Info shows "0 > kB". > > The sampler results are successful for other same style requests, which > return at least one char. > > Thanks, > Paule > > -----Original Message----- > From: Fitzpatrick, Adrian [mailto:[EMAIL PROTECTED] > Sent: 14 July 2008 15:10 > To: JMeter Users List > Subject: RE: Asynchronous HTTP request > > > Hi, > > HTTP GET should return a response - can you provide a bit more detail on > what > you are trying to do? > > Rgds, > > Adrian > > -----Original Message----- > From: Paule Zaksauskiene [mailto:[EMAIL PROTECTED] > Sent: 14 July 2008 15:06 > To: [email protected] > Subject: Asynchronous HTTP request > > > Hello, > > > > In my Test Plan, I have got the GET HTTP request, which is not supposed > to return any response. > > However, when I run the test, the Sampler Result returns error as it > looks for a response, but receives the 404. > > Please, see the answer below: > > > > Thread Name: Thread Group 1-2 > > Sample Start: 2008-07-14 14:58:48 BST > > Load time: 5 > > Latency: 0 > > Size in bytes: 0 > > Sample Count: 1 > > Error Count: 1 > > Response code: 404 > > Response message: Not Found > > > > Response headers: > > HTTP/1.1 404 Not Found > > Date: Mon, 14 Jul 2008 13:58:48 GMT > > Server: Jetty/5.1.3 (Windows XP/5.1 x86 java/1.5.0_14 > > Content-Type: text/javascript;charset=ISO-8859-1 > > Connection: close > > > > How can I change HTTP request settings to make this request not to fail > in such case? > > > > Thanks, > > Paule Zaksauskiene > > > > > > ************************ > > This message has been delivered to the Internet by the Revenue Internet > e-mail service (OP) > > ************************* > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > ************************ > > This message has been delivered to the Internet by the Revenue Internet > e-mail service (OP) > > ************************* > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

