Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
16 years ago

Detect Agent does not seem to work

Hello,
I have loadui and loadui agent in the same subnet

my loadui ip shows as

C:\Documents and Settings\araza>ipconfig

Windows IP Configuration
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.230.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.48.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection 5:
Connection-specific DNS Suffix . : corporate.local
IP Address. . . . . . . . . . . . : 10.182.13.143
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.182.13.1

My loadui agent ip shows as
Ethernet adapter Local Area Connection :
Connection-specific DNS Suffix . : corporate.local
IP Address. . . . . . . . . . . . : 10.182.13.167
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.182.13.1

However, I am not able to use the 'auto detect' functionality.

Thanks

Ali

4 Replies

  • Hi Ali!

    loadUI uses UDP port 13572 for discovery, so make sure that that port isn't being blocked in some firewall along the way. IP broadcast must also be enabled between the two nodes for discovery to work. Also, the discovery service sends out a discovery packet every 30 seconds, so it may take some time before your agent is discovered.

    Maybe you can use Wireshark or some other packet sniffer to find out where the packets are lost? Setting a filter of "udp.port==13572" should isolate the discovery packets.

    Regards,
    Dain
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    Hi Dain,
    I'll try to get deeper into the issue. However, I don't experience any such behavior in JMeter agents. Maybe it could be a feature request to have a better diagnostics in the loadUI console when adding agents?

    Ali
  • Hello!

    I'm a bit confused now. I didn't think that jMeter Agents had any auto-detection at all. I thought that you always had to add the IP address of the agent manually to a properties file. Are you able to add the agent manually in loadUI? This is done from the "New Agent" command in the Workspace menu, by dragging an Agent icon to the Agent list, or by right-clicking on the agent-list and selection "New Agent".

    If the agent is using the default settings, then the IP address will suffice in the "Agent URL" field.

    Regards,
    Dain
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    You are right. JMeter does not have auto-detect feature. Manually adding agent does seem to work on loadui. I will check with our IT to see if the port is blocked.