final int threads = getThreads(request.getParameter("threads"), browserType.capacity());
// launches browser with pre configured browser settings
if(browserType != null){
suite = prepareSuite(suitePath, base, browserType.path(), session.id(), browserType.options(),
browserType.processName(), (""+threads), browserType.useSystemProxy(), isSingleSession, request);
}
return suite;
}
private int getThreads(String threadsStr, int capacity) {