Bug 51831 - Cannot disable UDP server or change the maximum UDP port
Cannot disable UDP server or change the maximum UDP port
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.5
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-09-15 22:49 UTC by Sebb
Modified: 2011-09-15 23:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2011-09-15 22:49:41 UTC
The JMeter startup class defines static fields UDP_PORT and UDP_PORT_MAX with default values.

However, JMeter properties have not been initialised when the class loads, so it is not possible to override the defaults.

The fields need to be calculated at runtime, after properties have been established.
Comment 1 Sebb 2011-09-15 23:07:38 UTC
URL: http://svn.apache.org/viewvc?rev=1171313&view=rev
Log:
Bug 51831 - Cannot disable UDP server or change the maximum UDP port
Also failed to check max port initially

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
   jakarta/jmeter/trunk/xdocs/changes.xml