Is there anything that regular selenium can do to test a UI, that Jmeter still can't?
Marcee last edited by
Now that Jmeter has a webdriver sampler, is there anything that regular selenium can do to test a UI, that Jmeter still can't? For example, I use Selenium in Java to do things like getting html attributes of an element element.getAttribute("title"); and waiting for conditions up to a maximum time Wait<WebDriver> customWait = new FluentWait<WebDriver>(driver) .withTimeout(15L, TimeUnit.SECONDS) .pollingEvery(1, TimeUnit.SECONDS) .ignoring(NoSuchElementException.class); switching between windows, and more. I've seen some example code for the Webdriver sampler here: http://jmeter-plugins.org/wiki/WebDriverSampler/?utm_source=jpgc&utm_medium=link&utm_campaign=WebDriverSampler But it doesn't show how to accomplish tasks like the above - only how to send keys and click on elements.I can't find any documentation online regarding how to use the Webdriver sample to accomplish tasks like the above and others. Is it possible to do these using Jmeter's webdriver sampler? Besides these examples, what are other things you can do in Selenium, which Jmeter's webdriver sampler can't yet do?
Imagine a jackhammer with a Phillips-head screwdriver welded onto the handle. You could, in theory, use this modified jackhammer for screwing things together, but you probably wouldn't want to. JMeter is a tool for performance testing. Selenium is a tool for functional testing. I talk about the differences between the two kinds of testing here.