Bug 45460 - JMS TestPlan elements depend on resource property
JMS TestPlan elements depend on resource property
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.3.2
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-07-22 09:13 UTC by Sebb
Modified: 2008-11-06 17:32 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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