Package org.apache.jorphan.util

Examples of org.apache.jorphan.util.XMLBuffer.tag()


    }

    try {
      xmlBuffer.openTag("operation"); // $NON-NLS-1$
      final String testType = getTest();
      xmlBuffer.tag("opertype", testType); // $NON-NLS-1$
      log.debug("performing test: " + testType);
      if (testType.equals(UNBIND)) {
        res.setSamplerData("Unbind");
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
View Full Code Here


      final String testType = getTest();
      xmlBuffer.tag("opertype", testType); // $NON-NLS-1$
      log.debug("performing test: " + testType);
      if (testType.equals(UNBIND)) {
        res.setSamplerData("Unbind");
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        unbindOp(temp_client, dirContext, res);
      } else if (testType.equals(BIND)) {
        res.setSamplerData("Bind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
View Full Code Here

      xmlBuffer.tag("opertype", testType); // $NON-NLS-1$
      log.debug("performing test: " + testType);
      if (testType.equals(UNBIND)) {
        res.setSamplerData("Unbind");
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        unbindOp(temp_client, dirContext, res);
      } else if (testType.equals(BIND)) {
        res.setSamplerData("Bind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
View Full Code Here

        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        unbindOp(temp_client, dirContext, res);
      } else if (testType.equals(BIND)) {
        res.setSamplerData("Bind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        bindOp(temp_client, dirContext, res);
      } else if (testType.equals(SBIND)) {
        res.setSamplerData("SingleBind as "+getUserDN());
View Full Code Here

        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        unbindOp(temp_client, dirContext, res);
      } else if (testType.equals(BIND)) {
        res.setSamplerData("Bind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        bindOp(temp_client, dirContext, res);
      } else if (testType.equals(SBIND)) {
        res.setSamplerData("SingleBind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
View Full Code Here

        unbindOp(temp_client, dirContext, res);
      } else if (testType.equals(BIND)) {
        res.setSamplerData("Bind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        bindOp(temp_client, dirContext, res);
      } else if (testType.equals(SBIND)) {
        res.setSamplerData("SingleBind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
View Full Code Here

        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        bindOp(temp_client, dirContext, res);
      } else if (testType.equals(SBIND)) {
        res.setSamplerData("SingleBind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        singleBindOp(res);
      } else if (testType.equals(COMPARE)) {
        res.setSamplerData("Compare "+getPropertyAsString(COMPAREFILT) + " "
View Full Code Here

        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        bindOp(temp_client, dirContext, res);
      } else if (testType.equals(SBIND)) {
        res.setSamplerData("SingleBind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        singleBindOp(res);
      } else if (testType.equals(COMPARE)) {
        res.setSamplerData("Compare "+getPropertyAsString(COMPAREFILT) + " "
                + getPropertyAsString(COMPAREDN));
View Full Code Here

        bindOp(temp_client, dirContext, res);
      } else if (testType.equals(SBIND)) {
        res.setSamplerData("SingleBind as "+getUserDN());
        xmlBuffer.tag("baseobj",getRootdn()); // $NON-NLS-1$
        xmlBuffer.tag("binddn",getUserDN()); // $NON-NLS-1$
        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        singleBindOp(res);
      } else if (testType.equals(COMPARE)) {
        res.setSamplerData("Compare "+getPropertyAsString(COMPAREFILT) + " "
                + getPropertyAsString(COMPAREDN));
        xmlBuffer.tag("comparedn",getPropertyAsString(COMPAREDN)); // $NON-NLS-1$
View Full Code Here

        xmlBuffer.tag("connectionTO",getConnTimeOut()); // $NON-NLS-1$
        singleBindOp(res);
      } else if (testType.equals(COMPARE)) {
        res.setSamplerData("Compare "+getPropertyAsString(COMPAREFILT) + " "
                + getPropertyAsString(COMPAREDN));
        xmlBuffer.tag("comparedn",getPropertyAsString(COMPAREDN)); // $NON-NLS-1$
        xmlBuffer.tag("comparefilter",getPropertyAsString(COMPAREFILT)); // $NON-NLS-1$
                NamingEnumeration cmp;
        try {
          res.sampleStart();
          cmp = temp_client.compare(dirContext, getPropertyAsString(COMPAREFILT),
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.