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/02/06 12:50:07 UTC
DO NOT REPLY [Bug 22820] -
max value on counter cannot be cleared
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=22820>.
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=22820
max value on counter cannot be cleared
------- Additional Comments From prabhuvarma1@yahoo.com 2004-02-06 11:50 -------
Yes your right , I found the problem in CounterConfigGui.java, this problem
would be solved by adding following patch.
/**
* Modifies a given TestElement to mirror the data in the gui components.
* @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement
(TestElement)
*/
public void modifyTestElement(TestElement c)
{
if (c instanceof CounterConfig)
{
CounterConfig config = (CounterConfig) c;
config.setStart(startField.getText());
/* if (endField.getText().length() > 0)
{
config.setEnd(endField.getText());
}*/
config.setEnd(endField.getText());
config.setIncrement(incrField.getText());
config.setVarName(varNameField.getText());
config.setIsPerUser(perUserField.isSelected());
}
super.configureTestElement(c);
}
Regards,
Prabhu
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org