Package org.apache.jmeter.assertions

Examples of org.apache.jmeter.assertions.XPathAssertion$XPathAssertionTest


    /**
     * Create test element
     */
    public TestElement createTestElement() {
        XPathAssertion el = new XPathAssertion();
        modifyTestElement(el);
        return el;
    }
View Full Code Here


    }

    @Override
    public void configure(TestElement el) {
        super.configure(el);
        XPathAssertion assertion = (XPathAssertion) el;
        xpath.setXPath(assertion.getXPathString());
        xpath.setNegated(assertion.isNegated());

        xml.configure(assertion);
    }
View Full Code Here

     * @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement)
     */
    public void modifyTestElement(TestElement el) {
        super.configureTestElement(el);
        if (el instanceof XPathAssertion) {
            XPathAssertion assertion = (XPathAssertion) el;
            assertion.setNegated(xpath.isNegated());
            assertion.setXPathString(xpath.getXPath());
            xml.modifyTestElement(assertion);
        }
    }
View Full Code Here

    /**
     * Create test element
     */
    @Override
    public TestElement createTestElement() {
        XPathAssertion el = new XPathAssertion();
        modifyTestElement(el);
        return el;
    }
View Full Code Here

    }

    @Override
    public void configure(TestElement el) {
        super.configure(el);
        XPathAssertion assertion = (XPathAssertion) el;
        showScopeSettings(assertion, true);
        xpath.setXPath(assertion.getXPathString());
        xpath.setNegated(assertion.isNegated());

        xml.configure(assertion);
    }
View Full Code Here

     */
    @Override
    public void modifyTestElement(TestElement el) {
        super.configureTestElement(el);
        if (el instanceof XPathAssertion) {
            XPathAssertion assertion = (XPathAssertion) el;
            saveScopeSettings(assertion);
            assertion.setNegated(xpath.isNegated());
            assertion.setXPathString(xpath.getXPath());
            xml.modifyTestElement(assertion);
        }
    }
View Full Code Here

  /**
   * Create test element
   */
  public TestElement createTestElement() {
    XPathAssertion el = new XPathAssertion();
    modifyTestElement(el);
    return el;
  }
View Full Code Here

    return JMeterUtils.getResString("xpath_assertion_test"); //$NON-NLS-1$
  }

  public void configure(TestElement el) {
    super.configure(el);
    XPathAssertion assertion = (XPathAssertion) el;
    xpath.setXPath(assertion.getXPathString());
    xpath.setNegated(assertion.isNegated());

    xml.configure(assertion);
  }
View Full Code Here

   * @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement)
   */
  public void modifyTestElement(TestElement el) {
    super.configureTestElement(el);
    if (el instanceof XPathAssertion) {
      XPathAssertion assertion = (XPathAssertion) el;
      assertion.setNegated(xpath.isNegated());
      assertion.setXPathString(xpath.getXPath());
      xml.modifyTestElement(assertion);
    }
  }
View Full Code Here

    /**
     * Create test element
     */
    public TestElement createTestElement() {
        XPathAssertion el = new XPathAssertion();
        modifyTestElement(el);
        return el;
    }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.assertions.XPathAssertion$XPathAssertionTest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.