Wednesday, 30 November 2016

how to find xpath in chrome - Solved

Steps to find Xpath in Google Chrome Browser.

- Just open a Chrome browser,
- Open the specific webpage url,
- right click on the element (button, link etc.,) for which you want to find Xpath,

xpath in google chrome


- now select Inspect , it will open as below image.

xpath in google chrome
- now right click on highlighted area of inspected element.
- click on copy and select Xpath.

xpath in google chrome

Thank You :)

Wednesday, 16 November 2016

JMeter Meaning and Installing

JMeter


What is JMeter

Open Source Tool from Apache, mainly for performance testing but JMeter is designed to cover categories of tests like load, functional, regression, etc.

·         Java Based Window Application.

·         Support many type of applications like HTTP, Web Service, LDAP, JDBC, Java, FTP etc.

·         Support Distributed Testing: So that we can distribute load on multiple machine, so that we can simulate load on server, network or object which are coming from different machine to implement real world scenario.

·         Record & Playback – Record the user activity on the browser and simulate them in web application using JMeter.

How does JMeter works
JMeter simulates a group of users sending requests to a target server, and returns statistics data/information of the target server/application via tables, graphs, etc.

Performance Testing
In Performance testing, we analyze the system over a period of time under different conditions.
Condition can be Normal and Abnormal
Under Large number of user, Database size constant.
Under constant number of users with increase DB size.
Increase both, number of users and database size.

Load Testing : It is performed in normal conditions like if application is supposed to work on 100 users then we perform load testing from 90-110 users.
The aim of this testing is to find out at what point application performance will start to degrade.

Stress Testing : It is performed in abnormal conditions, like if application is designed for 100 users, we will apply much more users than 100.
The aim of this type of testing is to find at what point application will break.

Volume testing : In volume testing application is tested under heavy database size.

Steps to Install JMeter

Step 1: Check / Install JAVA
Check, Java is installed in your system, should have jvm1.4+, and Environment variable JAVA_HOME is set.

Step 2: Download JMeter : Download zip from http://jmeter.apache.org/download_jmeter.cgi

Step 3: Unzip it.

Step 4: Launch JMeter
Once the unzipping is done go to Jmeter Folder, Bin Directory, click on Jmeter.bat file, Jmeter will run.