You are on page 1of 13

SQL UNIT TESTER

ABSTRACT
SQLUnitTester - a regression and unit testing harness for testing database stored
procedures. A SQLUnitTester test suite should be written as an XML file. The SQLUnitTester
harness, which will be written in Java, should use the JUnit unit testing framework to convert
the XML test specifications to JDBC calls and compare the results generated from the calls with
the specified results.

Stored procedures are often used to provide an object abstraction to the underlying
relational data store. The object abstractions are consumed by Java middleware programs. In
shops where this is the case, Java programmers often use the popular JUnit testing framework to
unit test their code. Using SQLUnitTester to unit test the database stored procedures thus
becomes a natural extension of the unit testing process, and provides unit testing coverage for a
layer that is often neglected in this respect.

Based on the realization that the stored procedure author need not be the same person
who writes the Java code, and may not even know Java or JUnit, SQLUnitTester provides an
XML language to write test suites. Even for those stored procedure authors who can write JUnit
tests, the repetitive nature of JDBC programming would, over time, encourage the author to
refactor the common parts of the tests into utility classes. SQLUnitTester should provide this
functionality, except it goes one step further and abstracts the test specification out of Java into
XML.

The XML itself is fairly small and easy to learn for anybody and should be instantly
intuitive to a person who is already familiar with JUnit.

SQLUnitTester will be written in Java and should use JDBC to communicate with the
database, it should be possible, at least in theory, to write unit tests for stored procedures for any
database that provides a JDBC driver. In reality, some porting may be
needed for each new database, based on proprietary database vendor-specific extensions made
over the SQL standard and the subset of the JDBC API implemented by the supplied JDBC
driver. However, the porting activity should be relatively painless.

A project titled, “SQLUnitTester” is proposed to be developed with WINDOWS-2000


Professional as the operating system and Java Technologies. This package will have provision
for creating your own filters and using those generated filters in appropriate places.

Existing System:

Every Database maintains or stores data in it’s own format. For example Oracle database
stores data in one format and Informix maintains data in another format. This is lack of
Interoperatability. Suppose if one database wants to read or process the data stored by another
database. Then it fails to read data because it can’t understand that format supported by later
database. This problem can be avoided by a common format called XML.

Now we can convert data from one format to common XML format. And then from that
format to our own required format supported by some other database. Once we converted in to
XML format we can use that on any database easily without thinking the format that desired
database supports format.

To do this task i.e. from X to XML format and XML to Y format different people follow
different tools or may do it manually. Here our project full fills this task very easily just by
assigning stored procedures, we can get XML file that stores the result set of that stored
procedure in xml format.

Proposed System:

The first step of analysis process involves the identification of need. The success of a
system depends largely on how accurately a problem is defined, thoroughly investigated and
properly carried out through the choice of solution.
Through our product we can automate the task of converting data from one
format to xml and from xml to another required format. We can embed this tool into any
other component friendly. We can store data exits in xml format in any required database.
By this we achieved the Interoperatability provided by XML language.

Project Scope and Objectives:

 SQLUnitTester - a regression and unit testing harness for testing database


stored procedures. A SQLUnitTester test suite should be written as an XML file. Lot
of effort was put to make it user friendly.
 Optimum utilization of tool is possible.
 Reduces the user interaction work.
 The wastage of time is reduced.
 It also helps in optimum distribution of funds by the management among
user groups for procurement of new equipment.

SoftWare Requirement:
Operating System : Windows2000 Server/
NT or any Mail server
Reports : Log files
Other Applications : James Server

WEB FORECAST TESTER


ABSTRACT
The goal of this project is to develope a load testing tool that simulates web-clients and
tests a given server URL for scalability, reliability and throughput. It is a complimentary tool to
manual test methods and will serve the purpose of running automated performance tests of web
severs and web sites. This tool does not test for functionality and should only concentrate on
verifying http type requests. The tool may replicate or resemble tools like Load Runner , Astra
Load test , etc. commercially available tools.
The idea behind the tool is to expose the student to the http request response pair, the
importance of testing and focus on load test and performance test (non-functional), servlets and
in general to execute a real life project. The solution schema can be a servlet, which spawns
several threads or applets which act as client to a specified web-site UTR given to the servlet.
The test runs should be configurable in terms of number of concurrent users to simulate, approx.
packet (http packet) size, volume of data, no. of pings per second, etc.

The URL of the server for a predefined action may be taken into account at the initial
stage and later depending upon the time and skill level the project scope may be extended to
record and replay actions from the web-application.

Critical factors to perform the load test :

 Response time & Throughput


 Scalability (No. of concurrent users)
 Reliability ( Whether the server keeps giving valid responses)

It is a application designed to test and measure performance.


It is designed to load test client/server software. It may be used to test performance both
on static and dynamic resources such as static files, Java Servlets, CGI scripts, databases and
more. It can be used to simulate a heavy load on a server, network or object to test its strength
or to analyze overall performance under different load types.

Additionally, can help you regression test your application by letting you create test
scripts with assertions to validate that your application is returning the results you expect. For
maximum flexibility, Web Test Tool lets you create these assertions using regular expressions.

Features:

Load and performance test on HTTP.


Complete portability and 100% Java purity
Full Swing and lightweight component support
Full multithreading framework allows concurrent sampling by many threads and
simultaneous sampling of different functions by separate thread groups.

We hope to see 's capabilities rapidly expand as developers take advantage


of its pluggable architecture. The primary goal of further development is to make the most
useful regression-testing tool as possible, without compromising 's load-testing capabilities.

A project titled, “” is web-based distributed application. An integration of JSP/Java-


Servlets, application server and relational database.

Jawa OpenEyes
Jawa Open Eyes is a Multi Threaded Java Application, a network monitoring tool using
SNMPv1/2/2c for collecting MIB-II of Traffic and Process information. The main features cover
Visual monitoring for unlimited number of nodes (depends on available memory), Multi-Layer
network topology designer,Email alert, Data logging into text file and DB via JDBC v2.0, Trap
sending/receiving, Snmp walking, Load, Save and Print network topology, Basic MIB Info, and
Log publishing via WWW.
Jawa Open Eyes is also a tool to measure time response of web server. It supports Packet
Capturing,TCP/UDP Port Scanning, HTTP/HTTPS web page response measurement with Basic
Authentication.

REQUIREMENTS
Sun JDK 1.5.x or higher / JEE 1.4 or higher
Netbeans or Eclipse IDE’s.
Jakarta Ant 1.6.x or higher
Log4J of a compatible version to the JDK used
JUnit of a compatible version against the JDK used.

Secure Data Manager (SDM)


The SDM application was created to help you manage your passwords and other private
information for web sites, computers, contacts, and other programs within one secure
application. A fully functional, open source, free, password manager! No limit or restrictions to
the application. We are currently using SunJCE crypto (specifically DES 56-bit encryption with
a 1024 bit MD5 hash algorithm)... with more algorithms to come. In the near future, you will be
able to pick the algorithm of your choice if it has been plugged into our application.
SALIENT FEATURES :
• each data entry contains: title, category, username, password, email, url, notes, other,
expire date, date created, date modified
• add, update, delete entries
• entries can be folders automatically by adding entries to them
• save and open encrypted data
• configure the emails and categories in one place so they can be easily added to the
entries
• application configuration information stored in XML file
• save emails, categories and types with the encrypted data
• search / find next within any text field and date field
• internationalization - language support added for: DK, DT, IT
• data export - to comma delimited file (CSV) and XML
• data import - from comma delimited file (CSV) and XML
• generate random passwords
• lock application when unattended
• hide passwords from view (turns passwords to '****')
• print an entry and list
• table view of the data with sorting
• plugin architecture to support selectable encryption algorithms
• plugin architecture for Preferences - all preferences will be stored as XML and loaded
on startup
• types feature - organize entries by type. show only the data you need. customize user
defined types via typeMapping.xml file
• improved usability - Preferences (Apply / Cancel), Auto Add on Enter key for Category
and Email, Confirm Delete, etc
• link on URL - launch browser
• improved GUI - a new look that is more intuitive to use
• undo/redo
• right-click popup menu for entries
• easy paste to web page (from entry view panel, right click on your text - you'll see an +
icon appear with your mouse pointer)
• "other" field becomes mult-line edit when pressing enter
• table columns remember their location and size

• browswer link or copy/paste option on http:// link

How SDM works: The simple explanation is that you enter your data as 'Entries' into the
application. These Entries can act as a folder or not (leaf node). You can hide the passwords
when you don't want anyone to see them. You can lock the application so that you don't have to
shut it down, but are still safe from intrusion from your desktop. Cut, Copy, Paste Entries around
to better organize your data. Assign Entries to specific categories chosen by you. Manage the
configurable settings from the Configuration Panel.

Your username and password create a unique passcode that is then used to encrypt the data --
only after we change it to binary format. The longer your passcode, the harder it would be for
anyone to break into your data file. Your data file will be secure and stored where ever you'd like
to put it. Eventually, we will offer a service for storing your file on our network -- where only
you would have access to it (via another different username/password combo of course). This
service will allow you to have multiple machines to access the data -- a 'cached' copy would be
available in case you are not on the network if you are so inclined. Finally, tell us how great we
are doing via the online comments and let us know if you have any new feature requests.

SDM main window described:

1. Application name + Version#: filename when saved or loaded


2. Split pane allowing the Tree or Table view to be moved or closed from view
3. A selected Entry (which happens to be a folder since it contains other Entries). When
selected, it automatically updates the table and Entry tab views.
4. Table view shows all the data underneath the selected folder. This data can be sorted.
Table columns can be moved around.
5. Within the Entry Tab view, this area shows the selected data
6. Edit or create a new entry in this area
7. Add Entry to the selected location.
8. Update the selected entry with the data in the edit view (#6)
9. Moves data from selected entry view (#5) to the edit view (#6)
10. Clears the edit view (#6)
11. Messages show the status of the application
12. Expiry date enables you to track when an Entry should expire (days, months, years away
or a particular date).

REQUIREMENTS
Sun JDK 1.5.x or higher / JEE 1.4 or higher
Netbeans or Eclipse IDE’s.
Jakarta Ant 1.6.x or higher
Log4J of a compatible version to the JDK used
JUnit of a compatible version against the JDK used.

Sharp Redskaper
Thank you for choosing Sharp Tools Spreadsheet. Sharp Tools Spreadsheet is a Pure Java
product written primarily for grade keeping purposes. This user manual can help you get the
most out of our product. Sharp Tools Spreadsheet features

• File Operations
o Open and Save files using a tab-delimited format (*.sts) that is compatible with
other existing spreadsheet applications
• Editing Operations
o Undo and Redo functionality, allowing for the recovery of changes up to the last
file load
o Cut, Copy, and Paste functions
o One-click cell deletion
o Find and Find Next, allowing for easy searching
• Table Operations
o Row and column range selection
o Insert and Delete Row and Column operations, allowing for table resizing
o Fill Range, allowing for simple input of repetitive entries
o Sort Row and Column, for easier analysis of data
• Printing
o Windows and Unix printing capability
• Histograms
o Multiple Histograms
o Regraphable
o Configurable

• Help
o Built-in Help Browser
o Function Help
• Formula Operations
o Dynamic formula value updating
o Variable-length parameter input to formulas (using string literals, relative
addressing, absolute addressing, and range specification)
o Symbolic formula operations, including: addition, subtraction, floating-point
division, multiplication, modulo, and exponent
o Formula functions include: summation (SUM), average (AVERAGE), count (COUNT),
minimum (MIN), maximum(MAX), absolute value (ABS), range (RANGE), sine (SIN),
cosine (COS), tangent (TAN), arcsine (ASIN), arccosine (ACOS), arctangent (ATAN),
rounding (ROUND), square root (SQRT), logarithm (LOG), mean deviation
(MEANDEV), standard deviation (STDDEV), pi (PI), and e (E)
• Security
o A user-defined password option
• Preferences
o User-specified startup options via the sharptools.cfg file

REQUIREMENTS

Sun JDK 1.5.x or higher / JEE 1.4 or higher


Netbeans or Eclipse IDE’s.
Jakarta Ant 1.6.x or higher
Log4J of a compatible version to the JDK used
JUnit of a compatible version against the JDK used.

HAZARD ANALYSER
Objective:
Verification and Validation is a part of S/W Quality Assurance. Verification refers
to the set of activities that ensure correctly implements a specific function. Validation
refers to a different set of activities that ensure that the software that has been built is
traceable to customer requirements.

Verification:” Are we building the product right”


Validation: “Are we building the right product”

The project entitled Independent Hazard Analyser is an effort, to develop a


tool to manage the Verification and Validation process.

The specific purpose of the Independent Verification and Validation Process of


Hazard Analyser is to bring out the various Verification and validation tasks to be
performed. The scope of the Hazard Analyser is to cover the developed for system.

The goals of the V&V effort is to ensure that the software and the
documents are developed are of high quality as expected from any mission critical
software. This project generates the plan for Verification and validation process. This
project maintain the document names, source code module names, version number,
released date, receiving date size of document and source code modules of receiving
projects for Verification and validation.

Using this application we assign the tasks/activities to different persons and


also calculate the expected efforts and actual efforts. The V&V co-coordinator does this
work. This application is used Relational Software Project Solutions.
The Hazard Analyser project contains the 5 modules.
PlanModule: This module should maintain the task names, task numbers according to the
projects. If any new project came for verification and validation then project name, task name,
task number will be stored.
Plannermodule:This module should maintain the required inputs for Verification and validation
and assigning the tasks/activities to team members. In this module we will check, required
documents are available for performing a task/activity on a particular project.
Configure Module: This module should maintain the total tasks, task id’s and total team
members name, personal numbers, designation, phone number information.
Efforts Estimation: Efforts Estimation module should maintain the estimated time and actual
time for performing the tasks on documents and software.
Estimated Efforts: Estimation of Verification effort for a document should include calculation
of manpower to complete the verification of document. Estimation of Verification efforts for
source code against the design document.
Actual Efforts: Actual efforts should includes, actually how much of time is taken to verify the
document and source code.

MOTIVATION:

Now a days all companies automate their operation. That’s why this system has
been developed to reduce to manual work. To reduce the work involved at categorizing
the information an generating reports. This project has been developed. This package
stores information effectively and efficiently reports as when needed.

This is able to achieve to speed up the all operations of the organization.


Existing System :
Present system is manual. The Hazard Analyser has to enter all the details of project,
documents, and tasks. It also maintenance the team information and also efforts estimation. For
this purpose the organization maintain the size of the document, source code and update the
information about team member’s details manually. Which is much of time consuming process
and more importantly it is error prone.

Limitations Of the Manual system

1. It is time consuming
2. It leads to error prone results
3. It consumes lot of manpower to better results
4. It lacks of data security
5. Retrieval of data takes lot of time
6. Percentage of accuracy is less
7. Reports take time to produce

Hence Computerization of the existing system is proposed. The new system completely
removes all manual burdens and provide efficient on the entry system.

Proposed system:

Objectives Of the Proposed System


1. To generate the quick reports
2. To make accuracy and efficient calculations
3. To provide proper information briefly
4. To provide data security
5. To provide huge maintenance of records
6. Flexibility of transactions can be completed in time

After understanding the existing system and understanding the need for developing a new
system different people involved in the related activities have been consulted. The data needed
for the study has been collected from company records.
The computerization of this system would avoid the wrong interpretation and bad
calculation of data .The system help the user to see any documents, sourcecode, tasks, activities,
team information with details at the click of a button. The record data is maintained and backed
up such a way that data is not loss. The speed of the system could also increased.

REQUIREMENTS:

Software Requirements
Operating system : Windows 2000
Back End : ORACLE8i
Front End : JAVA,Servlets SCRIPT,HTML

Hardware Requirements:

Intel core2duo 1.5GHz or above

1GB RAM

60GB HDD Minimum

You might also like