Professional Documents
Culture Documents
ON
IN PARTIAL FULFILLMENT OF
BY
2017-2020
SUBMITTED TO
PUNE-411 041
1
INTRODUCTION
Introduction
The purpose of the Test Plan is to gather all the information necessary to plan and
control the test effort for testing Latur Police Website. It describes the approach to
testing the software, and will be top-level plan used by testers to direct the test effort.
This test plan for Testing Latur Police Website supports the following objectives:
2
1.2 Scope of Work
This test plan describes the unit, subsystem integration and system level tests that will
be performed on the components of a website
Unit tests will be done through the test driver program that perform boundary checking
and basic black box testing.
Subsystem tests will be define interfaces between the following packages:
1) GUI
2) Main Application
3
1.3 Operating Environment- Hardware and Software
Hardware Specifications:-
Software Specifications;-
4
1.4 Detailed Description of Tools Used in Testing
Apache Jmeter:
Apache JMeter is an apache project that can be used as a load testing tool for
analyzing and measuring the performance of a variety of services, with a focus on web
applications.
JMeter Plugins is an independent project for Apache JMeter. Each plugin serves
different purpose and expedites the process of creating and executing JMeter Test Plan.
Users can install plugins via the Plugin Manager.
jMeter is an Open Source testing software. It is 100% pure Java application for load
and performance testing.
jMeter is designed to cover various categories of tests such as load testing, functional
testing, performance testing, regression testing, etc., and it requires JDK 5 or higher.
This tutorial provides an in-depth coverage of jMeter framework including its test
plans, listeners, functions, and regular expressions.
JMeter is a Java desktop application with a graphical interface that uses the Swing
graphical API. It can therefore run on any environment / workstation that accepts a
Java virtual machine, for example − Windows, Linux, Mac, etc.
Web − HTTP, HTTPS sites 'web 1.0' web 2.0 (ajax, flex and flex-ws-amf)
Directory − LDAP
FTP Service
5
How it works:
JMeter simulates a group of users sending requests to a target server, and returns
statistics that show the performance/functionality of the target server/application via
tables, graphs, etc.
Take a look at the following figure that depicts how JMeter works −
6
Step 4: Run JMeter
After downloading JMeter, go to the bin directory. In this case, it
is/home/manisha/apache-jmeter-2.9/bin
Windows jmeter.bat
Alternatively, you can load an element from a file and add it by choosing the "merge"
or "open" option.
For example, let us add a Thread Group element to a Test Plan as shown below −
To remove an element, make sure the element is selected, right-click on the element,
and choose the "remove" option.
Right-click on the existing tree element to which you want to add the loaded
element.
Select Merge.
7
Choose the file where you saved the elements.
By default, JMeter does not save the element, you need to explicitly save it.
JMeter will save the element selected, plus all the child elements beneath it. By default,
JMeter doesn't save the elements, you need to explicitly save it as mentioned earlier.
Using Shutdown (Control + ','). It requests the threads to stop at the end of any
current work.
8
TEST PLANNING
Finding defects which may get created by the website developer while
developing the website.
To Test weather the website is performing its functioning correctly
To prevent the website from defect and make it error free.
To make sure that end result meets the user requirement.
To gain the confidence from the customer by providing them the quality
website.
9
2.2 Software Requirement Specification
1. Introduction
1.1 Purpose
1.2 Scope of Testing
2. Non-functional Requirements
1. Introduction
1.1 Purpose
Testing the form to ensure its consistency and integrity throughout the
website.
Testing various links present or defined for a website
Website validation is done to ensure website is authorized or not and
established standards, which is used to optimize the website at SEO
level.
Response time, throughput and speed of the website under different load
Testing design, layout and presentation of the website as per the user’s
need & expectation.
10
1.2 Scope of Testing
The scope of software testing itself is to cover both functional and non—
functional aspects of the entire product under test.
The functional requirements are the use cases relevant to the user visible
features of the system.
Non-functional requirements are the ones that needed to have the system
functioning correctly.
Testing provides over system error free with the help of:
Modules of Testing:
1) Missing Persons
2) Stolen Vehicles
3) Accident Compensation
4) Report/Complaint
Manual Testing:
Test Scenario
Test Cases Design
Defect Report
Test Summary Report
Automation Testing:
Performance Testing
Load Testing
11
2. Non-functional Requirements
Security
The security related to the website that only the authorised users can access
the
Website and make the order or use the facility.
Reliability
The system provides storage of all database on redundant computers with
automatic switchover. The reliability of the separate components. The main
pillars of reliability of the system is the backup of the database witch is
continuously maintained and updated to reflect the most recent changes.
Thus the overall stability of the system depends on the stability of the
container and its underlying OS.
Availability
The system should be available all the all times, meaning the user can access
it using a web browser , only restricted by the down time of the server on
which the system runs. In case of a hardware failure or database corruption,
a replacement page will be shown. Also in case of a hardware failure or
database corruption, backups of the database should be retrieved from the
server and saved by the administrator. Then the service will be restarted. It
means 24*7 availability .
Maintainability
A commercial database is used for maintaining the database and the
application server takes care of the site. In case of a failure, a initialization of
the program will be done. Also the software design is begin done with
modularity in mind so that maintainability can be done efficiently.
Portability
An end-user is using this system on any OS, either it is Windows or Linux.
The system shall run on PC, Laptops, and Tablets, Smartphone’s etc.
12
2.3 Master Test Plan (IEEE Format)
Team Interaction:
The Test Team will work closely with the Development Team to achieve a high
quality design and user interface specifications based on customer requirements.
The Test Team will work closely with Development Team to determine whether
or not the application meets standards for completeness. If an area is not
acceptable for testing, the code complete date will be pushed out, giving the
developers additional time to stabilize the area.
Since the application interacts with a back-end system component, the Test
Team will need to include a plan for integration testing.
13
Test Objective
Process Overview
UNIT TESTING
MODULE TESTING
Component Testing
SUB-SYSTEM TESING
ACCEPTANCE TESTING
User Testing
Performance testing
This test will be conducted to evaluate the fulfilment of a system with specified
performance requirements. It will be done using apache Jmeter tool.
14
Functionality Testing:-
Test web applications/web sites to ensure that all aspects of your site functions properly
such as images, text, form elements, dialogs, menus appear correctly, HTML links
work, form submissions succeed, etc.
Integration Testing
Load Testing
Test Web Services to ensure that the functionality works correctly by validating the
responses sent to each HTTP request.
Test Web Services to gather the performance and stability information of web services
by realistically simulating the load on your web site
15
Sr. Requirements Typical Components Detailed Description
b) Test Scope
1) Introduction
c) Test Assumptions
b) Improvement Ideas
c) Structured
d) Language Standards
e) Development
Documentation Standards
Test Cases
b) Initial Conditions
3) (Dynamic
Testing)
c) Expected Results
16
d) Test Log Status
b) Platform
c) Libraries
Environment
4)
Requirements
d) Tools
e) Test Procedures
f) Status Reporting
It ensure that we built the right application. In doing this test, we will try to find the
errors in the inputs and outputs, that is, we will test each function to ensure that it
properly implements the
During testing, the testing team members normally encounter behavior that goes against
a specified or implied design requirement in the product When this happens, we will
document and reproduce the bugs for the developers
17
Test Schedule
It is section contains the overall project schedule. It discusses the phases and key
milestones as they relate to quality assurance. e.g., Usability Testing, Code Complete
Acceptance, Beta Testing, Integration Testing, Regression Testing, System Testing.
Test plan document - this document should address testing objectives, criteria,
standards, schedule and assignments, and testing tools.
Unit Testing Plan
Integration Plan
System Testing Plan
18
2.4 Review of Test Basis (prototype testing)
Test Basis is defined as the source for creation of test Cases. It can be the Application
itself or the requirement documents like SRS (Software Requirement Specification),
BRS (Business Requirement Specification), etc.
A few test cases among the many you could have thought of are listed below
Check the response when valid Email ID is entered, and send is pressed
Check the response when invalid Email ID are entered and send is pressed
Check the response when Email ID is empty and send is pressed
You may have also realized that to create test cases you need to look at something to
base your test. This is nothing but Test Basis. This test basis could be the actual
Application Under Test(AUT), or maybe even by experience but most of the times,
like, in this case, would be based on documents. Where test plans are created using the
corresponding documents, and once the code is ready, it is ready for testing.
19