DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32790>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32790





------- Additional Comments From [EMAIL PROTECTED]  2005-01-26 14:57 -------
I had the same Problem with Version 2.0.2.
The Prob is, that the CONDITION is not set to RunningVersion and recovered after
each evaluation. I set the Property correctly by modifying setCondition and
getCondition. Now it works correctly with my local patched version.

Here is the fixed code snippet:

          /**
           * Condition Accessor - this is gonna be like     ${count}<10
           */
          public void setCondition(String condition) {
              
              StringProperty prop=new StringProperty(CONDITION, condition);
              prop.setRunningVersion(true);
              logger.debug("    setCondition() : [" + condition + "]="+prop);
              setProperty(prop);
          }

          /**
           * Condition Accessor - this is gonna be like     ${count}<10
           */
          public String getCondition() {
                        JMeterProperty 
prop=(JMeterProperty)getProperty(CONDITION);
                        logger.debug("    getCondition() : [" + 
prop.getClass().getName() + "]");
                        String result=prop.getStringValue();
                        prop.recoverRunningVersion(null);
                        return result;
          }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to