Examples of RestSampler


Examples of smartrics.jmeter.sampler.RestSampler

    }

    public void configure(TestElement el) {
      log.debug("Congiguring for el: " + el.toString());
        super.configure(el);
        RestSampler sampler = (RestSampler) el;
        body.setText(sampler.getRequestBody());
        headers.setText(sampler.getRequestHeaders());
        useKeepAlive.setSelected(sampler.getUseKeepAlive());
        automaticRedirect.setSelected(sampler.getAutoRedirects());
        httpMethods.setText(sampler.getMethod());
        resource.setText(sampler.getResource());
        queryString.setText(sampler.getQueryString());
        encoding.setText(sampler.getContentEncoding());
        hostBaseUrl.setText(sampler.getHostBaseUrl());
    }
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.