Package com.googlecode.jmeter.plugins.webdriver.config

Examples of com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig


    }

    @Test
    public void shouldSetHttpHost() {
        gui.httpProxyHost.setText("host");
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getHttpHost(), is("host"));
    }
View Full Code Here


    }

    @Test
    public void shouldSetHttpPort() {
        gui.httpProxyPort.setText("123");
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getHttpPort(), is(123));
    }
View Full Code Here

        assertThat(testElement.getHttpPort(), is(123));
    }

    @Test
    public void shouldSetHttpPortTo8080ByDefault() {
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getHttpPort(), is(8080));
    }
View Full Code Here

        assertThat(testElement.getHttpPort(), is(8080));
    }

    @Test
    public void shouldUseHttpSettingsForAllProtocolsByDefault() {
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.isUseHttpSettingsForAllProtocols(), is(true));
    }
View Full Code Here

    }

    @Test
    public void shouldBeAbleToDisableHttpSettingsForAllProtocols() {
        gui.useHttpSettingsForAllProtocols.setSelected(false);
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.isUseHttpSettingsForAllProtocols(), is(false));
    }
View Full Code Here

    }

    @Test
    public void shouldSetHttpsHost() {
        gui.httpsProxyHost.setText("host");
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getHttpsHost(), is("host"));
    }
View Full Code Here

    }

    @Test
    public void shouldSetHttpsPort() {
        gui.httpsProxyPort.setText("123");
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getHttpsPort(), is(123));
    }
View Full Code Here

        assertThat(testElement.getHttpsPort(), is(123));
    }

    @Test
    public void shouldSetHttpsPortTo8080ByDefault() {
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getHttpsPort(), is(8080));
    }
View Full Code Here

    }

    @Test
    public void shouldSetFtpHost() {
        gui.ftpProxyHost.setText("host");
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getFtpHost(), is("host"));
    }
View Full Code Here

    }

    @Test
    public void shouldSetFtpPort() {
        gui.ftpProxyPort.setText("123");
        final WebDriverConfig testElement = (WebDriverConfig) gui.createTestElement();
        assertThat(testElement.getFtpPort(), is(123));
    }
View Full Code Here

TOP

Related Classes of com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig

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.