You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/06/30 19:12:11 UTC

DO NOT REPLY [Bug 45314] New: jmeter-server does not bind to java.rmi. server.hostname address

https://issues.apache.org/bugzilla/show_bug.cgi?id=45314

           Summary: jmeter-server does not bind to java.rmi.server.hostname
                    address
           Product: JMeter
           Version: 2.3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: Brian.Rectanus@breach.com


When using -Djava.rmi.server.hostname=xxx.xxx.xxx.xxx with jmeter-server, I
expected the server to bind to that address.  Instead it binds to all
addresses. This means that if you run multiple jmeter-server processes (even
with different addresses), they each need a different port.  This is not so
much an issue, however, when sending requests, the jmeter-server uses the
default address and not the java.rmi.server.hostname as the client address. 
This makes it near impossible to have a single load generation machine that
generates traffic from multiple IP addresses.

Is there another way to generate traffic from multiple client IPs without
having multiple physical machines and/or NICs?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45314] jmeter-server does not bind to java.rmi.server.hostname address

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45314


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45314] jmeter-server does not bind to java.rmi.server. hostname address

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45314





--- Comment #1 from Sebb <se...@apache.org>  2008-07-01 05:25:46 PST ---
> however, when sending requests, the jmeter-server uses the
> default address and not the java.rmi.server.hostname as the client address. 
>
> This makes it near impossible to have a single load generation machine that
> generates traffic from multiple IP addresses.
> 
> Is there another way to generate traffic from multiple client IPs without
> having multiple physical machines and/or NICs?
> 

This is nothing to do with acting as a server - it is purely a client setting.

Use the HttpClient sampler and set the appropriate property for the client in
jmeter.properties:

# Define the local host address to be used for multi-homed hosts
#httpclient.localaddress=1.2.3.4


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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