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

Reply via email to