All of the requests fueled by the CSV file were returning the null HTTP
response code.  There weren't any characters common to all the requests.

I was hoping to make the argument that Unicode URIs are valid, and in my
search I found the following Wikipedia article which discusses unicode in
domain names:
http://en.wikipedia.org/wiki/Internationalized_domain_name

This article mentions that Unicode domain names are encoded in ASCII... So,
yes, you're right, I was giving JMeter invalid URLs.

Cheers.


On 10/10/07 1:02 PM, "sebb" <[EMAIL PROTECTED]> wrote:

> Ah - so presumably what looked like a valid URL was not?
> 
> Were there any particular characters which caused the problem?
> 
> On 10/10/2007, David Leston <[EMAIL PROTECTED]> wrote:
>> Hi Sebb,
>> 
>> Turns out the trouble was with the CSV file I was pulling data from.  It was
>> in Unicode, and once I switched it to ASCII all was fine.  I've entered the
>> lack of documentation of supported encodings as bug 43590:
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=43590
>> 
>> Again, thanks for your help.
>> 
>> Cheers.
>> 
>> 
>> On 10/4/07 5:20 AM, "sebb" <[EMAIL PROTECTED]> wrote:
>> 
>>> On 04/10/2007, David Leston <[EMAIL PROTECTED]> wrote:
>>>> Yep, I jumped the gun.  I replaced the braces and here's some more results
>>>> for you.
>>>> 
>>>> Here's the info out of my jmeter.log.  For brevity, I removed the logs of
>>>> the other 99 threads starting up, and left just one 404... They're all 404s
>>>> here, but (null) in the log.jtl specified with the -l command line flag,
>>>> and
>>>> (null) in the file being wrtten to by my Simple Data Writer.
>>>> 
>>>> 
>>>> 2007/10/03 16:27:49 INFO  - jmeter.util.JMeterUtils: Setting Locale to
>>>> en_US
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: Loading user properties from:
>>>> /home/dleston/jakarta-jmeter-2.3/bin/user.propertie
>>>> s
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: Loading system properties from:
>>>> /home/dleston/jakarta-jmeter-2.3/bin/system.prope
>>>> rties
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: Copyright (c) 1998-2007 The
>>>> Apache Software Foundation
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: Version 2.3
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: java.version=1.5.0_12
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: os.name=Linux
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: os.arch=i386
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: os.version=(removed for
>>>> security)
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: file.encoding=UTF-8
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: Default Locale=English (United
>>>> States)
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: JMeter  Locale=English (United
>>>> States)
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter:
>>>> JMeterHome=/home/dleston/jakarta-jmeter-2.3
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: user.dir
>>>> =/home/dleston/jakarta-jmeter-2.3/bin
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: PWD
>>>> =/home/dleston/jakarta-jmeter-2.3/bin
>>>> 2007/10/03 16:27:49 INFO  - jmeter.JMeter: Loading file:
>>>> /home/dleston/jmeter.jmx
>>>> 2007/10/03 16:27:49 INFO  - jmeter.save.SaveService: Testplan (JMX)
>>>> version:
>>>> 2.2. Testlog (JTL) version: 2.2
>>>> 2007/10/03 16:27:49 INFO  - jmeter.save.SaveService: Using SaveService
>>>> properties file encoding UTF-8
>>>> 2007/10/03 16:27:49 INFO  - jmeter.samplers.SampleResult: Note: Sample
>>>> TimeStamps are START times
>>>> 2007/10/03 16:27:49 INFO  - jmeter.samplers.SampleResult:
>>>> sampleresult.default.encoding is set to ISO-8859-1
>>>> 2007/10/03 16:27:49 INFO  - jmeter.save.SaveService: Using SaveService
>>>> properties file version 545311
>>>> 2007/10/03 16:27:49 WARN  - jmeter.save.SaveService: Could not set up alias
>>>> MailerModel java.lang.NoClassDefFoundError: java
>>>> x/mail/Message
>>>> 2007/10/03 16:27:49 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>>>> Cannot find .className property for htmlParser, us
>>>> ing default
>>>> 2007/10/03 16:27:49 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>>>> Parser for text/html is
>>>> 2007/10/03 16:27:49 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>>>> Parser for application/xhtml+xml is
>>>> 2007/10/03 16:27:49 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>>>> Parser for application/xml is
>>>> 2007/10/03 16:27:49 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>>>> Parser for text/xml is
>>>> 2007/10/03 16:27:49 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>>>> Parser for text/vnd.wap.wml is org.apache.jmeter.p
>>>> rotocol.http.parser.RegexpHTMLParser
>>>> 2007/10/03 16:27:49 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
>>>> Local
>>>> host = qa-admin
>>>> 2007/10/03 16:27:50 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
>>>> Maximum connection retries = 10
>>>> 2007/10/03 16:27:50 WARN  - jmeter.save.SaveService: Could not set up alias
>>>> JMSSampler java.lang.NoClassDefFoundError: javax
>>>> /jms/JMSException
>>>> 2007/10/03 16:27:50 WARN  - jmeter.save.SaveService: Could not set up alias
>>>> SubscriberSampler java.lang.NoClassDefFoundError
>>>> : javax/jms/MessageListener
>>>> 2007/10/03 16:27:50 WARN  - jmeter.save.SaveService: Could not set up alias
>>>> MailerVisualizer java.lang.NoClassDefFoundError:
>>>>  javax/mail/MessagingException
>>>> 2007/10/03 16:27:50 INFO  - jmeter.save.SaveService: Using SaveService
>>>> properties version 1.8
>>>> 2007/10/03 16:27:50 INFO  - jmeter.save.SaveService: All converter versions
>>>> present and correct
>>>> 2007/10/03 16:27:50 INFO  - jmeter.engine.StandardJMeterEngine: Listeners
>>>> will be started after enabling running version
>>>> 2007/10/03 16:27:50 INFO  - jmeter.engine.StandardJMeterEngine: To revert
>>>> to
>>>> the earlier behaviour, define jmeterengine.star
>>>> tlistenerslater=false
>>>> 2007/10/03 16:27:50 INFO  - jmeter.engine.StandardJMeterEngine: Running the
>>>> test!
>>>> 2007/10/03 16:27:50 WARN  - jmeter.reporters.ResultCollector: Unexpected
>>>> EOF
>>>> trying to find XML end marker in /home/dleston/log.jtl
>>>> 2007/10/03 16:27:50 INFO  - jmeter.JMeter: Running test (1191454070865)
>>>> 2007/10/03 16:27:50 INFO  - jmeter.engine.StandardJMeterEngine: Starting
>>>> 100
>>>> threads for group Thread Group. Ramp up = 2.
>>> 
>>> That's quite a small ramp-up for 100 threads.
>>> 
>>>> 2007/10/03 16:27:50 INFO  - jmeter.engine.StandardJMeterEngine: Continue on
>>>> error
>>>> 2007/10/03 16:27:50 INFO  - jmeter.threads.JMeterThread:
>>>> jmeterthread.startearlier=true (see jmeter.properties)
>>>> 2007/10/03 16:27:50 INFO  - jmeter.threads.JMeterThread: Running
>>>> PostProcessors in forward order
>>>> 2007/10/03 16:27:51 INFO  - jmeter.threads.JMeterThread: Thread Thread
>>>> Group
>>>> 1-1 started
>>>> 2007/10/03 16:27:51 INFO  - jmeter.services.FileServer: Stored:
>>>> /home/dleston/9.24.2007.csv
>>>> 2007/10/03 16:27:51 INFO  - jmeter.util.JsseSSLManager: Using default SSL
>>>> protocol: TLS
>>>> 2007/10/03 16:27:51 INFO  - jmeter.util.JsseSSLManager: SSL session
>>>> context:
>>>> per-thread
>>>> 2007/10/03 16:27:52 INFO  - jmeter.protocol.http.sampler.HTTPSampler: Error
>>>> Response Code: 404
>>> 
>>> This is only logged if the HTTP Java sampler detects an I/O error,
>>> which is not usually the case for 404s. However as far as I can see
>>> from the code they should still be set in this case. I don't know what
>>> is happening. Are there any other sites for which this is a problem?
>>> Or just ebates?
>>> 
>>> Try using the HttpClient sampler instead.
>>> 
>>>> 
>>>> On 10/3/07 4:32 PM, "sebb" <[EMAIL PROTECTED]> wrote:
>>>> 
>>>>> On 04/10/2007, David Leston <[EMAIL PROTECTED]> wrote:
>>>>>> Hi Sebb,
>>>>>> 
>>>>>> I was following your advice and trying the other HTTP Request when I
>>>>>> noticed
>>>>>> I had used {} around my variables rather than ().  Fixing this error
>>>>>> fixed
>>>>>> my problem.
>>>>> 
>>>>> Variables need {}, not (), e.g. ${VAR}, not $(VAR).
>>>>> 
>>>>> 
>>>>>> Thank you for your help.
>>>>>> 
>>>>>> 
>>>>>> On 10/3/07 3:48 PM, "sebb" <[EMAIL PROTECTED]> wrote:
>>>>>> 
>>>>>>> Any messages in the jmeter log file?
>>>>>>> 
>>>>>>> Might be worth trying the other HTTP sampler.
>>>>>>> 
>>>>>>> On 03/10/2007, David Leston <[EMAIL PROTECTED]> wrote:
>>>>>>>> I am receiving a Null HTTP response code on nearly all my requests.  I
>>>>>>>> spot
>>>>>>>> checked the URLs I am requesting for validity.  Here's one for example:
>>>>>>>> http://www.ebates.com/search/products.htm?store_name=boat%20seats&page=
>>>>>>>> ne
>>>>>>>> xt
>>>>>>>> 
>>>>>>>> What could lead to a null HTTP response code?
>>>>>>>> 
>>>>>>>> I'm using JMeter 2.3 (the September 24 release). I get the same result
>>>>>>>> on
>>>>>>>> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing) and
>>>>>>>> Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
>>>>>>>> 
>>>>>>>> --
>>>>>>>> David Leston
>>>>>>>> 
>>>>>>>> 
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> 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]
>>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> David Leston
>>>>>> 415.908.2200 x2271
>>>>>> 
>>>>>> 
>>>>>> ---------------------------------------------------------------------
>>>>>> 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]
>>>>> 
>>>> 
>>>> --
>>>> David Leston
>>>> 415.908.2200 x2271
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> 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]
>>> 
>> 
>> --
>> David Leston
>> 415.908.2200 x2271
>> 
>> 
>> ---------------------------------------------------------------------
>> 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]
> 

--
David Leston
415.908.2200 x2271


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to