Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 30469 invoked from network); 29 Jun 2006 18:39:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jun 2006 18:39:29 -0000 Received: (qmail 59269 invoked by uid 500); 29 Jun 2006 18:39:27 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 59249 invoked by uid 500); 29 Jun 2006 18:39:26 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 59238 invoked by uid 99); 29 Jun 2006 18:39:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2006 11:39:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.223.210.99] (HELO mail.inspireworksinc.com) (209.223.210.99) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2006 11:39:25 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C69BAB.489C6FC4" Subject: RE: Passing a file of http requests Date: Thu, 29 Jun 2006 14:34:45 -0400 Message-ID: <016075E928F9E94D8D332EB1C0E4A58C36991C@iwexchange.toontown> X-MS-Has-Attach: X-MS-TNEF-Correlator: <016075E928F9E94D8D332EB1C0E4A58C36991C@iwexchange.toontown> Thread-Topic: Passing a file of http requests Thread-Index: AcaZpcaRI9RGaxChQSCPmf3UzjSG/wCBOsQc From: "Jennifer R. Lee" To: "JMeter Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C69BAB.489C6FC4 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks Chinmoy - I tried this, but could not get it to work either. The = parameters in the file are really a list of URLs, so I wasn't quite sure = what to put in the parameter name field in this scenario.=20 =20 I wish I could figure out how to get rid of the %20 jmeter appears to = append to each line of the file, if I could do that, then the file = method as a variable would work.=20 =20 I think I will go back and try the access log method instead, I am = beginning to think a file of URLs won't work. =20 Thanks =20 Jennifer Lee InspireWorks Inc. (919)468-2073 x104 ________________________________ From: Chakraborty@labware.com [mailto:Chakraborty@labware.com] Sent: Tue 6/27/2006 12:54 AM To: JMeter Users List Subject: Re: Passing a file of http requests Hi Jennifer, You can try "Send a File With the Request" option for HTTP request. As = you mentioned, put all the content in a text file. Then browse the filename = in "Filename" textbox. Next enter your parameter name in the next fiels. = Put "text/plain" in MIME Type textbox. Hope this helps. Chinmoy "Jennifer R. Lee" 27-06-06 03:01 Please respond to "JMeter Users List" To cc Subject Passing a file of http requests Hi All - I am trying to pass a file containing all the paths for my URLs to a Jmeter test case. I setup a variable; Name: URL User_1: ${_StringFromFile(tutorials2.dat)} Then I created an HTTP request sample, with my server name and path as ${URL}. This works except for some reason a '%20' seems to be added to = the end of all the URLs. For example, in the dat file I have; /Tutorials/tutorial.xml /Tutorials/sounds.xml But what I see in the results tree is: GET https://www.mysite.com/Tutorials/tutorial.xml%20 < https://www.mysite.com/Tutorials/tutorial.xml%20> GET http://www.mysite.com/Tutorials/sounds.xml%20 < http://web.inspireworksinc.com/Tutorials/KM_Colors_tut/sounds.xml%20> I am trying to figure out where the %20 is coming from, its not in the = dat file as far as I can tell? And the request is failing with the %20 on there. Maybe I cannot do this? It would be great if I could pass the URLs in a text file(and not an access log which is not distinct to me) as I am hitting a production server and I only want to simulate what I have = done, which is easily captured thru the Fiddler tool. I see I could use an = http proxy to perhaps capture the results, but since I already had everything in a text file, I would prefer to go that route if possible. I have not used Jmeter in awhile, so maybe I am missing how to do this properly. Thank You! Jennifer Lee --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org ------_=_NextPart_001_01C69BAB.489C6FC4 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org ------_=_NextPart_001_01C69BAB.489C6FC4--