Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@apache.org Received: (qmail 47453 invoked from network); 23 May 2003 15:16:38 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 23 May 2003 15:16:38 -0000 Received: (qmail 1138 invoked by uid 97); 23 May 2003 15:18:48 -0000 Delivered-To: qmlist-jakarta-archive-jmeter-user@nagoya.betaversion.org Received: (qmail 1131 invoked from network); 23 May 2003 15:18:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 23 May 2003 15:18:47 -0000 Received: (qmail 46669 invoked by uid 500); 23 May 2003 15:16:28 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 46644 invoked from network); 23 May 2003 15:16:27 -0000 Received: from ms-smtp-02.nyroc.rr.com (24.92.226.49) by daedalus.apache.org with SMTP; 23 May 2003 15:16:27 -0000 Received: from CAPRICORN (roc-66-67-156-247.rochester.rr.com [66.67.156.247]) by ms-smtp-02.nyroc.rr.com (8.12.5/8.12.2) with ESMTP id h4NFGTpp008980 for ; Fri, 23 May 2003 11:16:30 -0400 (EDT) From: mstover1@apache.org To: JMeter Users List Date: Fri, 23 May 2003 11:16:53 -0400 MIME-Version: 1.0 Subject: RE: Error 404 Message-ID: <3ECE0325.9383.334C33FE@localhost> Priority: normal In-reply-to: <06BFAC413A74254BAE78B5AE72CA95C5371D5D@courriel02.rona.ca> X-mailer: Pegasus Mail for Windows (v4.11) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N what version of jmeter are you running? Are you defining the variable in = the Test Plan element? -Mike On 23 May 2003 at 9:48, Jonathan Kwadzo wrote: > Hi Mike, > > You adviced me, some times ago, to use a user-defined variable for the server before recording my test. I'm doing so, but the samplers are still = being recorded with the server name, and they're atill having browser-derived headers with the serevr name. How do I avoid this?.. > > -----Message d'origine----- > De : mstover1@apache.org [mailto:mstover1@apache.org] > Envoy=E9 : April 30, 2003 11:19 AM > =C0 : JMeter Users List > Objet : RE: Error 404 > > > Use User-defined variables and set the values prior to recording. > > -Mike > > On 30 Apr 2003 at 10:22, Jonathan Kwadzo wrote: > > > Thanks Mike! I have Browser-derived headers under each request. I removed some of them and they work fine. But to make sure I'm doing the right thing : Is there any proper way of fixing the problem, or should I j= ust remove the headers one by one?... Thanks again! > > > > -----Message d'origine----- > > De : mstover1@apache.org [mailto:mstover1@apache.org] > > Envoy=E9 : April 30, 2003 10:15 AM > > =C0 : JMeter Users List > > Objet : RE: Error 404 > > > > > > It's even easier to use a user-defined variable like ${server}. If yo= u set up > the > > value before you record from the proxy, the proxy will even replace al= l > > instances of the server's hostname for you. If you are using the hea= der > > managers the proxy records, that might be your current problem - your > > sampler is requesting a url from hostname2, but the header manager is still > > sending a referrer value from hostname1 (or whatever you recorded). T= he > > server may see this and send back 404 for some reason. > > > > Otherwise, it's hard to say from here. > > > > -Mike > > > > On 30 Apr 2003 at 9:59, Jonathan Kwadzo wrote: > > > > > NO, > > > In fact I have built the test plan using the proxy. Then I removed t= he > > Hostname from all requests. I added a default Http Request element to my > > plan. I only set the Hostname in my default element. Doing so, I'm abl= e to > > easily change hostnames. We have deployed the same application on > WAS > > 3.5 and WAS4. Each version has a different URL. So, I'm trying to test= both > > versions and compare. One of them is testing fine. The second one will= have > > error 404 for all requests, after I change the Hostname for the defaul= t > element. > > But both versions are working properly from a browser... > > > > > > -----Message d'origine----- > > > De : Eric Bamburg [mailto:ebamburg@infonow.com] > > > Envoy=E9 : April 30, 2003 9:55 AM > > > =C0 : 'JMeter Users List' > > > Objet : RE: Error 404 > > > > > > > > > Jmeter requires a URL to be broken down into method, hostname, path & > > port. > > > Perhaps you have the whole URL in the hostname field? > > > > > > For example, http://www.rona.ca/somefile.html would go into Jmeter a= s: > > > > > > Method: HTTP > > > Hostname: www.rona.ca > > > Path: /somefile.html (and note that the / may be important) > > > Port: 80 (corresponding to the standard for HTTP) > > > > > > I hope this helps... > > > > > > --Eric > > > > > > -----Original Message----- > > > From: Jonathan Kwadzo [mailto:Jonathan.Kwadzo@rona.ca] > > > Sent: Wednesday, April 30, 2003 7:47 AM > > > To: jmeter-user@jakarta.apache.org > > > Subject: Error 404 > > > > > > > > > Hi, > > > > > > I'm having an error 404 (Page not found) for all my requests in a JM= eter > > > Test. If I copy the same URLs and paste them to a browser the pages are > > > working fine. Any idea?... > > > > > > Jonathan Kwadzo > > > Rona Inc. - D=E9v. Technique / Technical Dev. > > > 220, Chemin du Tremblay > > > Boucherville (Qu=E9bec) J4B 8H7 > > > Tel : 514 599 5900 ext. 5360 > > > > > > > > > > > > --------------------------------------------------------------------= - > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > > --------------------------------------------------------------------= - > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > > > > -- > > Michael Stover > > mstover1@apache.org > > Yahoo IM: mstover_ya > > ICQ: 152975688 > > AIM: mstover777 > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > -- > Michael Stover > mstover1@apache.org > Yahoo IM: mstover_ya > ICQ: 152975688 > AIM: mstover777 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > -- Michael Stover mstover1@apache.org Yahoo IM: mstover_ya ICQ: 152975688 AIM: mstover777 --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org