Package hudson.plugins.performance

Examples of hudson.plugins.performance.HttpSample


  private UriReport uriReport;

  @Before
  public void setUp() {
    uriReport = new UriReport(null, null, null);
    HttpSample httpSample1 = new HttpSample();
    httpSample1.setDuration(MAX);
    Date date = new Date();
    httpSample1.setDate(date);
    httpSample1.setSuccessful(false);
    HttpSample httpSample2 = new HttpSample();
    httpSample2.setDuration(AVERAGE);
    httpSample2.setDate(date);
    httpSample2.setSuccessful(true);
    HttpSample httpSample3 = new HttpSample();
    httpSample3.setDuration(MIN);
    httpSample3.setDate(date);
    httpSample3.setSuccessful(false);
    uriReport.addHttpSample(httpSample1);
    uriReport.addHttpSample(httpSample2);
    uriReport.addHttpSample(httpSample3);
  }
View Full Code Here

TOP

Related Classes of hudson.plugins.performance.HttpSample

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.