Package org.apache.jmeter.protocol.http.sampler

Examples of org.apache.jmeter.protocol.http.sampler.HTTPSampler2.addArgument()


        }
       
        public void testCloneSampler() throws Exception
        {
            HTTPSampler2 sampler = (HTTPSampler2)gui.createTestElement();
            sampler.addArgument("param","value");
            HTTPSampler2 clonedSampler = (HTTPSampler2)sampler.clone();
            clonedSampler.setRunningVersion(true);
            sampler.getArguments().getArgument(0).setValue("new value");
            assertEquals(
                "Sampler didn't clone correctly",
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.