I made autotest on Selenium. This test I will start on JMeter for load testing for 10, 20, 50+ users. What I should do. I create a property file (configuration file) and put there URL, Login, Password.
So I made a cycle and put there this code where I'll start my browser, login, visit link, logout and quit.
Here's what I have in property file:

```
URL:http://barracuda-qa.ko.kodak.com/d2l/faces/Login.jsp
Login:Test1, Test2, Tesr3
Password:Abc123

```

Here's my code in Java:

```
public class TestMultiply extends TestCase {
    File file = new File("C:/barracuda/prop.properties");
    private FileInputStream fileInput = null;
    private WebDriver driver;
    public FirefoxProfile profile = new FirefoxProfile();
    public int index=0;

    public TestMultiply(){}

    public TestMultiply(String testName){
        super(testName);
    }

    @Before
    public void setUp() throws Exception {
        super.setUp();
    }

    @Test
    public void testTestLoad() throws InterruptedException {

        try {
            fileInput = new FileInputStream(file);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        Properties prop = new Properties();
        try {
            prop.load(fileInput);
        } catch (IOException e) {
            e.printStackTrace();
        }
        driver = new FirefoxDriver();

        for (int i= 0; i<prop.getProperty("Login").length(); i++){
            //String login = prop.getProperty("Login"+i);
            Thread t1 = new Thread(new Runnable() {
                @Override
                public void run() {
                    driver = new FirefoxDriver();
                    driver.get(prop.getProperty("URL"));
                    driver.findElement(By.id("loginForm:authLogin")).sendKeys(login);
                    driver.findElement(By.id("loginForm:authPassword")).sendKeys(prop.getProperty(key));
                    driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
                    driver.findElement(By.id("loginForm:btnLogin")).click();
                    driver.manage().timeouts().implicitlyWait(2000, TimeUnit.SECONDS);
                    driver.findElement(By.id("settingsLink"));
                    driver.manage().timeouts().implicitlyWait(2000, TimeUnit.SECONDS);
                    driver.findElement(By.xpath("//a[@class='logout']")).click();
                    driver.quit();
                }
            }); t1.start();  Thread.sleep(10000);

        }
    }

    @After
    public void tearDown() throws Exception {
        super.tearDown();
    }

}

```

I need to make a cycle for multylogin. It should in cycle in Login field paste one login from my property file with the same password for all users.
For example my property file have structure:

```
URL:http://barracuda-qa.ko.kodak.com/d2l/faces/Login.jsp
Login:Test1, Test2
Password:Abc123

```

So we should start browser 2 times and it'll login as Test1 - Abc123 and Test2 - Abc123.