jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51488] New: Assertion: Variable name scope is shared among all assertions
Date Fri, 08 Jul 2011 09:40:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51488

             Bug #: 51488
           Summary: Assertion: Variable name scope is shared among all
                    assertions
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: jens_0@hotmail.com
    Classification: Unclassified


In case two assertions (Response assertions) exist in a test tree, the text
value in "JMeter Variable" which was last displayed is also shown on other
assertions, in case "JMeter Variable" is not selected in "Apply to".

While this is no functional problem, this is awkward as variable names are
displayed in other assertions who have nothing to do with them.

Suggested resolution:

ScopePanel.java:
    public void setScopeAll() {
        allButton.setSelected(true);
        variableName.setText("");
    }

    public void setScopeChildren() {
        childButton.setSelected(true);
        variableName.setText("");
    }

    public void setScopeParent() {
        parentButton.setSelected(true);
        variableName.setText("");
    }

    public void setScopeVariable(String value) {
        variableButton.setSelected(true);
        variableName.setText(value);
    }
    }

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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message