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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
