Bug 45460

Summary: JMS TestPlan elements depend on resource property
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Sebb 2008-07-22 09:13:27 UTC
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.
Comment 1 Sebb 2008-11-06 17:32:09 UTC
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:41 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2139