Bug 65611 - Add support for IPv6 addresses when specifying a remote worker node
Summary: Add support for IPv6 addresses when specifying a remote worker node
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.4.1
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
: 65288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-03 12:46 UTC by Peter Wong
Modified: 2022-01-24 15:52 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wong 2021-10-03 12:46:24 UTC
According to step 2 of the following URL, JMeter only accepts IPv4 addresses when specifying a remote worker node.

https://jmeter.apache.org/usermanual/remote-test.html


In this scenario, entering an IPv6 address will result in a NumberFormatException.
Comment 1 Felix Schumacher 2021-10-09 09:30:16 UTC
Currently discussed at ttps://github.com/apache/jmeter/pull/673
Comment 2 Felix Schumacher 2021-10-10 19:16:56 UTC
Should be fixed in trunk.
@Peter: Could you report back, whether this fixes your problem?


commit d0740914053bb74ac46edb586aa9a959f5015ac8
AuthorDate: Sun Oct 10 21:10:09 2021 +0200

    Add support for IPv6 addresses when specifying a remote worker node
    
    Now it should be possible to specify an IPv6 address with the bracketed notation:
      remote_host=[::1]:2001
    
    Based on a patch by Peter Wong
    Closes #673
    Bugzilla Id: 65611
---
 .../src/main/java/org/apache/jmeter/engine/ClientJMeterEngine.java     | 3 ++-
 xdocs/changes.xml                                                      | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)
Comment 3 Felix Schumacher 2021-10-16 11:54:43 UTC
*** Bug 65288 has been marked as a duplicate of this bug. ***
Comment 4 Felix Schumacher 2022-01-24 15:52:22 UTC
Closing as fixed, as user didn't respond, I assume, that it works now.
Comment 5 The ASF infrastructure team 2022-09-24 20:38:22 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5582