Examples of UrlConfig


Examples of org.apache.jmeter.protocol.http.config.UrlConfig

  {
    Arguments args = new Arguments();
    args.addArgument("username","mstover");
    args.addArgument("password","pass");
    args.addArgument("action","login");
    config = new UrlConfig();
    config.setName("Full Config");
    config.putProperty(config.DOMAIN,"www.lazer.com");
    config.putProperty(config.PATH,"login.jsp");
    config.putProperty(config.METHOD,config.POST);
    config.putProperty(config.ARGUMENTS,args);

    defaultConfig = new UrlConfig();
    defaultConfig.setName("default");
    defaultConfig.putProperty(config.DOMAIN,"www.xerox.com");
    defaultConfig.putProperty(config.PATH,"default.html");

    partialConfig = new UrlConfig();
    partialConfig.putProperty(config.PATH,"main.jsp");
    partialConfig.putProperty(config.METHOD,config.GET);
  }
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.