Skip to main content

JMeter Backend Listener - 16th JMeter Training Video

This is 16th JMeter training video Session. You may like to watch all previous JMeter training video sessions before continuing with this video.


This JMeter Training session covers Live Test Run Reporting -

1. Setup JMeter BackEnd Listener


2. Test Plan
Deep dive into seleniumtests.com.jmx test plan

3. Enable View Results Tree listener and Run Test
Check that data is pushed in influx db > jmeter database - http://localhost:8083/

4. Disable View Results Tree listener and Run Test from command line.

5. Grafana Dashboard
Analyze Grafana Dashboard - http://localhost:3000/
Edit board and view query

6. Off line Analysis
One test run is over then update time stamp and view result of past run

7. Project files can be downloaded

You will find following files -

Test Plan
script2.sh
Grafana Dashbaord json file > to import and create Grafana dashboard


16th JMeter training session video can be watched online.

Popular posts from this blog

Verify email confirmation using Selenium

Email confirmation seems to be integral part of any registration process. I came across an application which lets you provide your email address. You can follow the sign up link in you mail and then complete the registration process. Lets consider we provide GMail address for it. Now if were to use only Selenium then we would have to follow following steps - Launch GMail using Selenium; Some how search for new mail in the list of available mails; Some how click on it; Parse the mail message; Get the registration link; Follow up with registration process What do you think of an approach in which you can

Return only first or last element from webelements collection

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 argument -   (getDriver().findElement(By. id ( "defaultElement" )))    in the me

Using xPath to reach parent of an element

Well, I am big fan of css locator my self there are times when css locators don't fit requirement. One such requirement is when you want to navigate to parent element of an element and may be parent of parent and even more. Unfortunately css locators don't provide any mechanism to navigate to parent of an element. See this for more. Of late I came across a scenario when I wanted to click on a link depending upon the text in a text box. Herein parent of text box and parent of link were at the same location. More over there could have been many such combinations in application. Fortunately I just need to pick first such instance and Web Driver any way considers only first instance when multiple locators are found matching an element. Element in question is in following html - Here I need to click on highlighted anchor on the basis of input element (which is also highlighted in image) Herein first I need to reach div parent (class = 'left couponmainarea