Examples of XPathAssertion


Examples of org.apache.jmeter.assertions.XPathAssertion

   * @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.setValidating(xml.isValidate());
      assertion.setWhitespace(xml.isWhitespace());
      assertion.setTolerant(xml.isTolerant());
      assertion.setNamespace(xml.isNamespace());
      assertion.setNegated(xpath.isNegated());
      assertion.setXPathString(xpath.getXPath());
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.