E-Ticketing Experiment-LAB
E-Ticketing Experiment-LAB
E-Ticketing
Question:
Task-6: Develop test cases for unit testing and integration testing.
Task-7: Develop test cases for various white box and black box testing techniques.
Solution:
AIM:
Our project is carried out to develop software for online Railway Reservation System. This
system has various options like reservation, cancellation and to view details about available
seats. Our project mainly simulates the role of a Railway ticket booking officer, in a
computerized way.
The reservation option enables a person to reserve for a ticket at their home itself. All he/ she
has to do is to just login and enter the required details. After this the reservation database is
updated with the person details, train name and also the source and destination place.
The cancellation option enables the passenger to cancel the tickets that has been already
booked by him/her.
The availability option prompts the person to enter train number, train name and date of
travel. After this the availability database is accessed and available positions are produced.
TASK-(II) SOFTWARE REQUIREMENT SPECIFICATION
2.0 INTRODUCTION
The manual system of ticket reservation takes more time and the number of reservations per
day is limited. To increase the efficiency of the process, we go for online ticket reservation
system. This system supports online ticket booking.
2.1 PURPOSE
If the entire process of reservation is done in a manual manner then it would takes several
months for reservation to reach the applicant. Considering the fact that the number of
passenger is increasing every year, an Automated System becomes essential to meet the
demand. So this system uses several programming and database techniques to elucidate the
work involved in this process. As this is a matter of National Security, the system has been
carefully verified and validated in order to satisfy it.
2.2 SCOPE
• The System provides an online interface to the user where they can fill in their personal
details and submit the necessary documents (may be by scanning).
• The authority concerned with the issue of railway can use this system to reduce his
workload and process the application in a speedy manner.
• Passenger will come to know their status of application and the date in which they must
subject themselves for manual document verification.
• Passenger – The person that who wishes to obtain the railway ticket.
• J2EE – Java 2 Enterprise Edition is a programming platform java platform for developing
and running distributed java applications.
2.4 REFERENCES
• HTML
• JSP
• Javascript
• Java
2.7 OVERVIEW
Overall Description will describe major role of the system components and inter-
connections.
This system tries to make the interface as simple as possible and at the same time not risking
the security of data stored in. This minimizes the time duration in which the user receives the
ticket.
• Front End Client - The passenger and System online interface is built using JSP and
HTML. The Administrators's local interface is built using Java.
The server is directly connected to the client systems. The client systems have access to the
database in the server.
• System can generate reports from the information and is the only authorized personnel to
add the eligible application information to the database.
• Display the requested pages to the user.
• Passenger - They are the people who desire to obtain the ticket and submit the information
to the database.
2.13 CONSTRAINTS
• Although the security is given high importance, there is always a chance of intrusion in the
web world which requires constant monitoring.
• The user has to be careful while submitting the information. Much care is required.
• The Passengers must have basic knowledge of computers and English Language.
TASK-(III)
1. Introduction:
2. Configuration Identification:
3. Configuration Control:
5. Configuration Audits:
6. Release Management:
8. Responsibilities:
9. Documentation:
1. Introduction:
2. Risk Identification:
3. Risk Assessment:
4. Risk Mitigation:
Strategies and actions for mitigating identified risks.
6. Contingency Planning:
7. Communication:
8. Documentation:
9. Continuous Improvement:
Procedures for learning from past risks and improving risk management processes.
Remember to involve relevant stakeholders in the creation and review of these documents,
and update them as needed throughout the project lifecycle. Additionally, the success of these
plans depends on regular reviews, assessments, and adjustments based on the evolving needs
of the project.
Unified Modeling Language (UML) is a general purpose modelling language. The main
aim of UML is to define a standard way to visualize the way a system has been designed.
UML is not a programming language, it is rather a visual language. We use UML diagrams
to portray the behavior and structure of a system.
UML helps software engineers, businessmen and system architects with modelling, design
and analysis.
The Object Management Group (OMG) adopted Unified Modelling Language as a standard
in 1997. Its been managed by OMG ever since. International Organization for
Standardization (ISO) published UML as an approved standard in 2005. UML has been
revised over the years and is reviewed periodically.
UML is linked with object oriented design and analysis. UML makes the use of elements
and forms associations between them to form diagrams. Diagrams in UML can be broadly
classified as:
1. Things
2. Relationships
3. Diagrams
1 Structural Things
2 Behavioral Things
3 Grouping Things
4 Annotational Things
Structual Things:
Static part of a model, representing elements that are either conceptual or physical.
1. classes
2. interfaces
3. collaborations
4. usecases
5. Active classes
6. Components
7. Nodes
Class:
Representation of class:
Interface
Usecase
A description of set of sequence of action that a system performs that yields to observable
result of value to a particular actor.
It is realized by collaboration.
Active class
It is just like a class except that its objects represent elements whose behavior is concurrent
with other elements.
Component
A physical and replaceable part of a system that confirms to and provides the realization of a
set of interfaces.
Node
A physical element that exists at run time and represents a computational resource, having
atleast some memory and, often processing capability.
A set of components may reside on a node & may also migrate from node to node.
Behavioral Things
These are the verbs of a model, representing behavior over time & space.
State machine − State machine is useful when the state of an object in its life cycle is
important. It defines the sequence of states an object goes through in response to events.
Events are external factors responsible for state change
Grouping Things:
Packages
These are the Comments you may apply to describe & remark about any element in a model.
Note:
UML Diagrams
All the elements, relationships are used to make a complete UML diagram and the diagram
represents a system.
The visual effect of the UML diagram is the most important part of the entire process. All the
other elements are used to make it complete.
Class diagram
Object diagram
Sequence diagram
Collaboration diagram
Activity diagram
Statechart diagram
Deployment diagram
Component diagram
USE-CASE DIAGRAM
The online ticket reservation system uses the following use cases:
ACTORS INVOLVED:
1) System
2) Passenger
The class diagram, also referred to as object modeling is the main static analysis
diagram. The main task of object modeling is to graphically show what each object will
do in the problem domain. The problem domain describes the structure and the
relationships among objects.
.
The online ticket reservation system makes use of the following classes:
1. ticketReservation
2. trainInfo
3. passengerInfo
4. seatAvailStatus
1. TICKETRESERVATION
It consists of twelve attributes and two operations. It records the details of every
ticket booked such as ticket number, passenger ID, source and destination station and etc.
2. TRAININFO
It stores the details of all the trains such as train number, train name, speed, source
and destination stations, etc.
3. PASSENGERINFO
It consists of seven attributes and three operations. This class is used to store
passenger details such as, passenger name, age, address and etc.
4. SEATAVAILSTATUS
This class is used to update the number of seats available for a particular train by
using updateStatus() operation.
INTERACTION DIAGRAM:
• Passenger are used to login the form. And then its verify the username and
password.
• If the password and username are correct then applicants are used to login the
filling details.
• Passenger are used to selecting the train and book the tickets.
• Now the E-Ticketing DataBase verify the filling Details.
• And then the E-Ticketing DataBase displays the ticket information.
• Incase of any sudden change of the plan, the applicant can cancel the ticket.
ACTIVITY DIAGRAM
• First state is login where the passenger login to the E-Ticketing system.
• The next state is filling details the passenger are used to fill the form.
• Then passenger used to selecting the flight.
• The passenger appears for book ticket and search details from E-Ticketing
DataBase.
DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM
A component diagram is used to break down a large object-oriented system into the smaller
components, so as to make them more manageable. It models the physical view of a system
such as executables, files, libraries, etc. that resides within the node.
It visualizes the relationships as well as the organization between the components present in
the system. It helps in forming an executable system. A component is a single unit of the
system, which is replaceable and executable. The implementation details of a component are
hidden, and it necessitates an interface to execute a function.
COMPONENT DIAGRAM