Package org.apache.jmeter.reporters

Examples of org.apache.jmeter.reporters.Filer


    {
      // error!
    }
    else
    {
       Filer save = (Filer)saveObject;

      // validate filename
      String filename = save.getFile();
      if (filename == null)
      {
        System.err.println("Error. Missing filename in File Reporter.");
        filename = "";
      }

      out.write("<Filer type=\"");
      out.write(JMeterHandler.convertToXML(save.getClass().getName()));
      out.write("\" name=\"");
      out.write(JMeterHandler.convertToXML(save.getName()));
      out.write("\" verbose=\"");
      out.write(""+save.getVerbose());
      out.write("\" append=\"");
      out.write(""+save.getAppend());
      out.write("\" autoFlush=\"");
      out.write("" + save.getAutoFlush());
      out.write("\" viewSubmitData=\"");
      out.write("" + save.getViewSubmitData());
      out.write("\" file=\"");
      out.write(JMeterHandler.convertToXML(filename));
      out.write("\"/>");
    }
  }
View Full Code Here


  {
  }

  public void save(Saveable saveObject, Writer out) throws java.io.IOException
  {
    Filer save = (Filer)saveObject;
    out.write("<Filer type=\"");
    out.write(JMeterHandler.convertToXML(save.getClass().getName()));
    out.write("\" name=\"");
    out.write(JMeterHandler.convertToXML(save.getName()));
    out.write("\" verbose=\"");
    out.write(""+save.getVerbose());
    out.write("\" append=\"");
    out.write(""+save.getAppend());
    out.write("\" file=\"");
    out.write(JMeterHandler.convertToXML(save.getFile()));
    out.write("\"/>");
  }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.reporters.Filer

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.