You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2004/01/26 18:41:38 UTC
DO NOT REPLY [Bug 26440] New: -
[PATCH] sizeassertionGUI not properly initialized
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26440>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26440
[PATCH] sizeassertionGUI not properly initialized
Summary: [PATCH] sizeassertionGUI not properly initialized
Product: JMeter
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: jh@domek.be
The sizeassertionGUI is created with the default radiobutton being the
equalButton ie equalButton.setSelected(true);
The execState of the component is set in the ActionPerformed method. Setting the
buttonselectedstate to true does not call ActionPerformed hence the execState is
left to its default value. Once the user clicks around it's fine, the bug only
appears when he leaves the default untouched. You can reproduce this by creating
a sizeassertion of any size and saving it, you will see this
<property xml:space="preserve"
propType="org.apache.jmeter.testelement.property.IntegerProperty"
name="SizeAssertion.operator">0</property>
in the jmx file. The sizeassertion operator value is then during runtime checked
in compareSize() of the sizeassertionclass. (and 0 is not a valid value in the
switch statement so the assertion fails).
There are various options of fixing this, but i think the attached patch is
isolated the most.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org