jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Bodnar <bbod...@cleversafe.com>
Subject Re: Question on __machineIP()
Date Fri, 01 May 2015 02:25:31 GMT
Thank you, Sebb.  Problem solved by editing /etc/hosts file.




On 4/30/15, 11:39 AM, "sebb" <sebbaz@gmail.com> wrote:

>The function uses
>
>InetAddress.getLocalHost()
>
>Try Googling for that
>
>On 30 April 2015 at 15:46, Bo Bodnar <bbodnar@cleversafe.com> wrote:
>> Greetings!
>>
>> I’ve a test script that uses this function call.  For diagnostic 
>>purposes, this script uses a Beanshell sampler that outputs the host’s 
>>name and its IP address (the latter using the function that’s in the 
>>“subject” part of this letter).  The intent is to eventually use this 
>>script in a distributed load generation environment, with the remote 
>>machines running Linux.  In stand-alone operation, I’ve tested this 
>>script under Windows 7, Mac, and older version of CENTOS.  It works as 
>>intended under Windows and Mac, but, on the CENTOS machine, the returned 
>>IP address is 127.0.0.1.  I seem to recall that others have run across 
>>this situation, but don’t recall the solution.  The Jmeter version 2.13 
>>and the Java version on the CENTOS box (running CENTOS 5.2) is 1.6.0_35. 
>> The Java version on the Mac is 1.6.0_65.  Any suggestions are greatly 
>>appreciated.
>>
>> Best regards,
>>
>> Bo
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>For additional commands, e-mail: user-help@jmeter.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Mime
View raw message