You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Carl Shaulis <cs...@homeaway.com> on 2010/01/20 19:57:14 UTC

Cannot assign requested address

Hello,

I have had no luck finding anything meaningful on Google searches so I am
reaching out to the experts.

We are running JMeter headless on a single Linux machine.  We are using
jmeter 2.3.4.  We have run a zillion successful tests.

I created a very simple test to hit the home page of a new application.
Every time I execute the test from the Linux machine I get this error in
jmeter.log:

jmeter.protocol.http.sampler.HTTPSampler: Cause:
java.net.NoRouteToHostException: Cannot assign requested address

Everything seems to run fine from my local GUI instance.

What parameters do I need to tweak on the Linux machine?

If I do a wget from the linux machine I am getting the home page returned.

Any guidance on what this might be or how to troubleshoot would be greatly
appreciated.

Thanks,

Carl

Re: Cannot assign requested address

Posted by Deepak Shetty <sh...@gmail.com>.
hi
There seem to be multiple possible causes for NoRouteToHostException

http://www.google.com/search?q=java.net.NoRouteToHostException%3A+Cannot+assign+requested+address&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

I'd probably write a standalone java program which uses a HTTPURLConnection
and connects to the same url and see if you get the same error. if yes then
the problem isnt with JMeter.

regards
deepak



On Wed, Jan 20, 2010 at 10:57 AM, Carl Shaulis <cs...@homeaway.com>wrote:

> Hello,
>
> I have had no luck finding anything meaningful on Google searches so I am
> reaching out to the experts.
>
> We are running JMeter headless on a single Linux machine.  We are using
> jmeter 2.3.4.  We have run a zillion successful tests.
>
> I created a very simple test to hit the home page of a new application.
> Every time I execute the test from the Linux machine I get this error in
> jmeter.log:
>
> jmeter.protocol.http.sampler.HTTPSampler: Cause:
> java.net.NoRouteToHostException: Cannot assign requested address
>
> Everything seems to run fine from my local GUI instance.
>
> What parameters do I need to tweak on the Linux machine?
>
> If I do a wget from the linux machine I am getting the home page returned.
>
> Any guidance on what this might be or how to troubleshoot would be greatly
> appreciated.
>
> Thanks,
>
> Carl
>

Re: Cannot assign requested address

Posted by Deepak Goel <de...@gmail.com>.
It might be a DNS issue

On Thu, Jan 21, 2010 at 12:27 AM, Carl Shaulis <cs...@homeaway.com> wrote:
> Hello,
>
> I have had no luck finding anything meaningful on Google searches so I am
> reaching out to the experts.
>
> We are running JMeter headless on a single Linux machine.  We are using
> jmeter 2.3.4.  We have run a zillion successful tests.
>
> I created a very simple test to hit the home page of a new application.
> Every time I execute the test from the Linux machine I get this error in
> jmeter.log:
>
> jmeter.protocol.http.sampler.HTTPSampler: Cause:
> java.net.NoRouteToHostException: Cannot assign requested address
>
> Everything seems to run fine from my local GUI instance.
>
> What parameters do I need to tweak on the Linux machine?
>
> If I do a wget from the linux machine I am getting the home page returned.
>
> Any guidance on what this might be or how to troubleshoot would be greatly
> appreciated.
>
> Thanks,
>
> Carl
>



-- 
Guten Tag


   --
Keigu

Deepak
+91-9765089593
deicool@gmail.com

Skype: thumsupdeicool
Google talk: deicool
Blog: http://loveandfearless.wordpress.com

Check out my Work at:
LinkedIn: http://in.linkedin.com/in/thumsupdeicool

"Contribute to the world, environment and more : http://www.gridrepublic.org"

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org