Package org.apache.jmeter.sampler

Examples of org.apache.jmeter.sampler.DebugSampler.recoverRunningVersion()


        assertEquals(debugSampler.getProperty("HeaderManager.headers").getStringValue() ,"[1stLevelTestHeader  testValue1, 2ndLevelTestHeader  testValue2]");
        assertEquals(2, ((CollectionProperty)debugSampler.getProperty("HeaderManager.headers")).size());
       
        headerManager.recoverRunningVersion();
        headerManager2.recoverRunningVersion();
        debugSampler.recoverRunningVersion();

        assertEquals(1, headerManager.size());
        assertEquals(1, headerManager2.size());
        assertEquals(0, ((CollectionProperty)debugSampler.getProperty("HeaderManager.headers")).size());
        assertEquals(new Header("1stLevelTestHeader", "testValue1"), headerManager.get(0));
View Full Code Here


        assertEquals(debugSampler.getProperty("HeaderManager.headers").getStringValue() ,"[1stLevelTestHeader\ttestValue1, 2ndLevelTestHeader\ttestValue2]");
        assertEquals(2, ((CollectionProperty)debugSampler.getProperty("HeaderManager.headers")).size());
       
        headerManager.recoverRunningVersion();
        headerManager2.recoverRunningVersion();
        debugSampler.recoverRunningVersion();

        assertEquals(1, headerManager.size());
        assertEquals(1, headerManager2.size());
        assertEquals(0, ((CollectionProperty)debugSampler.getProperty("HeaderManager.headers")).size());
        assertEquals(new Header("1stLevelTestHeader", "testValue1"), headerManager.get(0));
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.