JMSSubscriberGui and JMSPublisherGui use the value of the Authentication radio buttons as the string passed to the sampler#setUseAuth() method, and the values are compared later to determine whether or not to use authentication. However, the values of the strings are not fixed, as they are read from the properties file. This means that test plans are not portable across languages, and even if the language does not change, test plans may fail if the resource string is ever changed. The dependency on the value of resource string needs to be removed. In this case, it looks as though the Authentication radio button could be replaced with a check-box (defaulting to the existing value if present in the plan). Or the Authentication field could be dropped altogether (the code already checks to see if the user name and password are present) though that would make it less easy to swap between the two.
Fixed by using a checkbox. URL: http://svn.apache.org/viewvc?rev=712032&view=rev Log: Bug 45460 - JMS TestPlan elements depend on resource property
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2139