Skip to primary content
Skip to secondary content

Software Testing

Software Testing

Main menu

  • Home
  • About us
  • Mobile Application
    • Mobile Application Basic
  • Web Application
    • Web Application Basic
  • Performance Testing
    • Jmeter
      • Introduction
      • JMeter Working Environment
      • JMeter Report Analysis
      • Load Testing With JMeter
      • Record And PlayBack in JMeter
      • JMeter Login Feature
  • Testing Objective
    • Web Application Objective
    • Mobile Application Objective
  • MySQL
    • MySQL- Introduction
    • DDL-DML-DCL
    • MySQL- Data Types
    • MySQL- Create Table
    • MySQL- Drop Table
    • MySQL- Insert Query
    • MySQL- Select Query
    • MySQL- Where Clause
    • MySQL- Update Query
    • MySQL- Delete Query
    • MySQL- Like Clause
    • MySQL- Sorting Clause
  • Selenium

Tag Archives: JMeter test login page

Testing Login based Web Application using Apache JMeter

Posted on June 11, 2015 by Zahid Iqbal
4

ASP.NET Web application Login page testing with JMeter:

Here we will see that how to login in the ASP.Net by using JMeter tool for the purpose of Load Testing. In which we follow the simple step for more clarification-

Step 1: Need below software

  • Apache JMeter – Download and run the .bat/.sh file from the bin folder.(.bat for window & .sh for Linux)
  • Java 6 or later – Download and proper installation of Java.
  • Mozilla Firefox – Download and proper installation of Mozilla.

 Step 2: Add the Thread Group to Test Plan

  • Right-click on Test Plan> Add > Threads (Users)

Test Plan

Thread Group

Step 3: Add the HTTP Request Default

  • Right-click on Thread Group> Add > Config Element> HTTP Request Defaults

HTTP Request Default

  • Enter the server name or IP in which application you want to login. for example http://www.Zahid.com

Step 4: Add the HTTP Cookie Manager

  • Right-click on Thread Group> Add > Config Element> HTTP Cookie Manager
  • Cookie policy should be set to Compatibility.

HTTP Cookie Manager

Step 5: Add the Simple Controller

  • It’s better if you add the login page under the simple Controller.
  • Right-click on Thread Group> Add >Logic Controller> Simple Controller

Simple Controller

Step 6: Add the HTTP Request

  • Right-click on Simple Controller> Add >Sampler> HTTP Request
  • Here you can change the name according you.
  • Enter the /login.aspx in the path.

HOme Page

Step 7: Add the HTTP Request

  • Right-click on Simple Controller> Add >Sampler> HTTP Request
  • Here you can change the name according you.
  • Enter the /login.aspx in the path.
  • Enter the User Name & Password.

Login Page

Step 8: Add the listener as you want-

Step 9: Now save the test plan and run it.

Step 10: View the Result

  • Graph result
  • Aggregate Report
  • Aggregate Graph
  • View result Tree
  • View Result in Table

Graph Result

Aggregate GraphView Result Tree in Table

View Result Tree

 

********************************END******************************************

I hope that it’s fruitful for you……..

Advertisement
Posted in Jmeter, JMeter Login Feature | Tagged A simple JMeter test with login, ASP.Net by using JMeter tool, asp.net login testing with jmeter, How to use JMeter for Login Authentication, JMeter - How To Login into A Web Application, Jmeter for performance testing ASP.NET application, JMeter login example, JMeter test login page, Recording a Login Script with JMeter, Testing Login based Web Application using Apache JMeter | 4 Replies

Recent Posts

  • Introduction to Selenium June 16, 2016
  • How to use the update command in MySQL October 6, 2015
  • How to use ORDER BY query in MySQL September 29, 2015
  • How to insert data into table in MySQL September 22, 2015
  • How to create the table in MySQL September 18, 2015
February 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  
« Jun    

Facebook

Facebook

Social Media

  • Facebook
  • Twitter
  • LinkedIn
Follow Software Testing on WordPress.com

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 12 other subscribers

Menu Links

  • Home
  • About us
  • Mobile Application
    • Mobile Application Basic
  • Web Application
    • Web Application Basic
  • Performance Testing
    • Jmeter
      • Introduction
      • JMeter Working Environment
      • JMeter Report Analysis
      • Load Testing With JMeter
      • Record And PlayBack in JMeter
      • JMeter Login Feature
  • Testing Objective
    • Web Application Objective
    • Mobile Application Objective

Categories

  • DDL-DML-DCL (1)
  • Home (1)
  • Introduction (1)
  • Jmeter (12)
  • JMeter Login Feature (1)
  • JMeter Report Analysis (1)
  • JMeter Working Environment (4)
  • Load Testing With JMeter (2)
  • Mobile Application (1)
  • Mobile Application Basic (6)
  • MySQL (1)
  • MySQL- Create Table (1)
  • MySQL- Data Types (1)
  • MySQL- Insert Query (1)
  • MySQL- Introduction (1)
  • MySQL- Sorting Clause (1)
  • MySQL- Update Query (1)
  • Performance Testing (2)
  • Record And PlayBack in JMeter (2)
  • Selenium (1)
  • Testing Objective (9)
  • Uncategorized (2)
  • Web Application (1)
  • Web Application Basic (7)
  • Web Application Objective (9)
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Software Testing
    • Already have a WordPress.com account? Log in now.
    • Software Testing
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...