Skip to main content

Posts

Showing posts from January, 2015

JMeter and ajax request - 6th JMeter training video

This is 6th JMeter Training video tutorial in the series of learning performance testing. You can watch watch all   JMeter training video  sessions online. This JMeter training session covers - 1 Adding user defined variable in Test Plan, ex: App URL 2. Ajax request Example - zalando-UK site 3. Replay the ajaxified JMeter script and analyze failure 4. Analyze the ajax request again with firebug and observe headers 5. Observe - xsrfToken in Response Data for first request X-XSRF-Token passed in header manager of ajax request 6. Introducing Regular expression extractor - Post Processor Element 7. Rerun the modified script JMeter training video tutorial can be watched online. 

HTTP Sampler - 5th JMeter training video

This is 5th JMeter training video in the series of learning JMeter. You can watch watch all   JMeter training video  sessions online. This session covers - 1. jmeter.log file 2. Functional testing setting in test plan 3. JMeter HTTP Sampler 4. HTTP Default Config element 5. Response assertion JMeter training video can be watched online

Return only first or last element from webelements collection

Note: If you are new to java and selenium then start with selenium java training videos .     We often come across situation when there are multiple elements on a page and we probably like to exercise only a few of them using selenium webdriver. May be just first and last element. For example on a search result page we may like to click on only first and last link and not all. This is when Iterables API comes handy. (By the way I am assuming that you have already completed watching selenium training videos :)). Once we have collection of web element then we can use Iterables to get only first or last element as following - Consider that we fetch collection of element as - List< WebElement > webElements = getDriver().findElements(By. id ( "htmlID" ));   Now we can get the first web element from this collection as -  WebElement firstElement = Iterables. getFirst (webElements,  getDriver().findElement(By. id ( "defaultElement" )));   Herein second

JMeter Timer, Scoping Rules and jmeter.properties - 4th JMeter Training Video

This is the 4th JMeter training video in the series of JMeter training tutorials. You can watch watch all   JMeter training video  sessions online. This session covers - Timers, Scoping Rules, Execution Order, jmeter.properties file JMeter Training Video can be watched online. If you have any question then please post it in comment section herein.