Title: Online MusicCD Store MSE Project Presentation II Presented by: Reshma Sawant Major Professor: Dr. Daniel Andresen
1 Online MusicCD Store MSE Project
Presentation II Presented by
Reshma Sawant Major Professor Dr. Daniel
Andresen
2Phase II Presentation Outline
- Action Items from Phase I
- Architecture Design
- Formal Requirement Specification
- Formal Inspection Checklist
- Test Plan
- Questions
3Action Items from Phase I
- 1) Additions to Vision Document
- Description of Pagination feature on
Product.aspx Web Page - Specify Browser requirements IE or Mozilla
Firefox - More flexibility when searching a Music CD
- Search by AlbumName, Artist, Style, Price range
4Action Items from Phase I
- 2) Goals for Performance Testing (Test Plan)
- Tests to be performed
- Different environments for testing
- Expected load (number of concurrent users and
requests)
5Additional Functionality
- 1) Song Recommendation feature for User Actor
- Based on Purchase History of past Users
- Order details of each product will be saved in
order table
6Song Recommendation
Based on Purchase History
7Additional Functionality
- 1) Song Recommendation feature for Customer
Actor - Based on data gathered from other users with
similar preferences - Data Mining Technique called Case-Based Reasoning
Process - Retrieve
- Reuse
- Revise
- Retain
8Song Recommendation
- Based on similar preferences of other users
9Additional Functionality
- 2) Manage Orders functionality for
Administrator - View User Order History
- Update Order status to completed, uncompleted,
verified, unverified - Delete Orders having status uncompleted and
unverified
10Architecture Design
- The architecture design of the system is based on
a three-tier architecture which consists of three
logical tiers - Presentation
- Business (Middle)
- Data
11 12ASP.NET Forms and Classes Used
ASP.NET Web Forms Classes Used
Default.aspx N.A.
Register.aspx User, SessionManager
Login.aspx User, SessionManager
CustomerDetails.aspx Customer, User
Catalog.aspx SessionManager, Genre
Product.aspx Product, Genre
Recommendation.aspx Product. productSet, RecommendationSet
Search.aspx Product, searchFacade, keyword, productSet
ShoppingCart.aspx ShoppingCart, CartItem, Product
Checkout.aspx ShoppingCart, Product
OrderPlaced.aspx Customer, Order
Index.aspx N.A.
CatalogAdmin.aspx Administrator, Genre, Product
OrdersAdmin.aspx Administrator, Order
13Architecture Design
- Page Flow Diagram for User
Login.aspx
Recommendation.aspx
Search.aspx
Default.aspx
Catalog.aspx
Product.aspx
Logout.aspx
ShoppingCart.aspx
Checkout.aspx
OrderPlaced.aspx
14Architecture Design
- Page Flow Diagram for Administrator
CatalogAdmin.aspx
Login.aspx
Index.aspx
OrdersAdmin.aspx
Logout.aspx
ShoppingCartAdmin.aspx
15Formal Requirement Specification
- Constraints
- The UserId for each user must be unique
- Products are not shared across Genres
- Price of the product should be positive
- Each Shopping Cart belongs to exactly one user
- Shopping Cart exists only when it contains a cart
item - Each Order belongs to exactly one user
- Each Order must have a status as completed,
uncompleted, verified, unverified.
16Inspection Checklist
- The symbols used in Class diagrams conform to UML
standards. - The classes in the Class diagram have a
corresponding description provided in
Architecture Design Document - Classes in the Architecture Design correspond to
the classes in USE Model -
17Inspection Checklist
- The multiplicities in the USE Model are reflected
in Class diagram - The attributes in the USE Model are compatible
with attributes of the corresponding class
diagram - All the requirements on Software Requirement
Specification have been covered in Architecture
Design document - Sequence Diagram matches Class diagram
18Test Plan
- Unit Testing using NUNIT tool
- Performance Testing using JMeter tool
19Test Plan Sample UNIT Test Case
Edit shopping Cart
Purpose Test that clicking Update Quantities will update the cart summary accordingly.
Incorrect Input Negative input number or input other than integer number, input number greater than max count specified in Quantity field
Pass criteria An appropriate message should be displayed and information should not be updated in Shopping Cart.
Correct Input Positive integer number. within the max count specified.
Pass criteria The product quantity should be updated or deleted according to the specified input number.
Steps Visit ShoppingCart.aspx Web page Check after entering incorrect input, an appropriate message should be displayed. If entered a valid number, check if the total quantity and relative price is updated after clicking update or delete button.
20Test Plan UNIT Test Cases
Test Cases
USER System Register
System Login
Add to Cart
Edit Shopping Cart
Place Order
ADMINISTRATOR System Login
Delete Product from a Genre
Delete Genre from the Catalog
Manage Orders
Manage Shopping Carts
21Performance Testing
- 1) Tool to be used - JMETER
- 2) System components to test
- Buying Includes browsing, add to cart, enter
personal details and checkout - Searching
- Getting song recommendations
22Performance Testing
- 3) What to measure
- Response time for each component
- Eg. approx. 100 concurrent users and minimum 50
requests/user - Local Connection of 54Mbps
- LAN Connection of 100Mbps
- Wired connection
23 Questions?