Acceptance Test Plan Document REPortal Migration Team April 10, 2007 1
Contents 1 Introduction 4 1.1 Document Structure....................... 4 1.2 Refrences............................. 4 2 Approach 5 2.1 Introduction............................ 5 2.2 Objectives............................. 5 2.3 Structure............................. 5 2.4 Assumptions............................ 5 2.5 Exclusions............................. 5 3 Criteria 6 4 Responsibilities 7 4.1 Introduction............................ 7 4.2 Roles and Responsibilities.................... 7 4.3 Requirments............................ 7 4.4 Reporting............................. 7 5 Test Cases 8 5.1 Introduction............................ 8 5.2 User Inerface........................... 8 5.2.1 Login page......................... 8 5.2.2 Registration page..................... 8 5.2.3 Main page......................... 8 5.3 Dispatcher............................. 9 5.3.1 Communication...................... 9 5.3.2 Availability........................ 9 5.3.3 Connecting Services.................... 10 5.3.4 Logging.......................... 10 5.3.5 Choosing.......................... 10 5.3.6 Project Management................... 10 5.4 Services.............................. 11 5.4.1 WSDL........................... 11 5.4.2 JSP............................ 11 5.5 Logger............................... 12 2
5.5.1 Initial:........................... 12 5.5.2 Actions:.......................... 12 5.5.3 Consequences:....................... 12 5.6 Instrumentation.......................... 12 5.6.1 Initiate Aspect Insturmentation............. 12 5.6.2 Initiate Aspect Insturmentation During Runtime... 13 3
1 Introduction This document outlines the Acceptance test plan for the REportal Migration Project. The goal of this project is to make the REportal system more robust than its current iteration, incorporating modern programming techniques such as a Service Oriented Architecture, and Aspect Oriented Programming. This new version of REportal will also be made more modular to allow for future projects to expand upon its current programming. 1.1 Document Structure Section 2 explains the apporach of the acceptance test plan that we are using. It explains what is being tested in the acceptance test plan and what is not. Section 3 lists what requirements for the acceptance test plan to begin. Section 4 explains who has what responsibilites during the acceptance test. Section 5 is the test cases to be used during the acceptance test plan. The cases have an initial state REportal must be in, what actions must be done for the test, and the consequences of the actions. 1.2 Refrences 1. Requirements Document 4
2 Approach 2.1 Introduction This section describes the approach to the testing of reportal to ensure that it meets all requirements. 2.2 Objectives The Acceptance test will define how REportal is tested to ensure that it meets the requirements defined in the Requirements document by testing defined test cases. 2.3 Structure The tests are structured in a way so that each test checks to see if one requirement is met. This way we can ensure that all the requirements are met as listed in the Requirements Document. It is important that all tests pass and to record all results of testing. 2.4 Assumptions The Acceptance test assumes that all other tests are satisfactory. This test will cover the following. 1. The Functional Requirements as defined in the Requirements Document 2. Usability of the system 2.5 Exclusions The acceptance test will not cover the following because they will be covered by other tests. 1. The nonfunctional requirements defined in the Requirements Document 2. Integrity of the Source Code 5
3 Criteria The Acceptance test can begin after the following have been met. 1. All other tests are completed. 2. A proper enviorment to conduct the Acceptance Test is set up. 3. A copy of the latest version of the Requirements Document is aviable. 4. The latest version of REportal is aviable. 5. Consent from the Team Leader 6. Consent from the Client 7. Consent from the Project Leader 6
4 Responsibilities 4.1 Introduction This section describes the responsibilites of all parties during the Acceptance test. 4.2 Roles and Responsibilities Acceptance Test Leader: Justin Wilcox Acceptance Testers: Thomas Shortell Dan Cardillo Tim O Neill Umut Akdag Customer Representives: William Mongan Spiros Mancoridis 4.3 Requirments All parties during the testing of the Acceptance Test should be familure with the interface for REportal and basic understanding of how REportal works. 4.4 Reporting All tests done during the Acceptance Testing need to be recorded by the tester. Action will be taken reactivly as problems arise during the testing phase. 7
5 Test Cases 5.1 Introduction Each test case has a name, a state REportal should be in to initiate the case, what action(s) need to occur to preform the test, and what should happen after the actions are completed. 5.2 User Inerface 5.2.1 Login page 1. Initial state: User first views the login page. Both login and password fields are blank. 2. Actions: User enters a username and a password in the appropriate boxes. User then pressed the login button. 3. Consequences: If a valid username and password have been entered, the site will log the user in and take them to the main page. If there is a problem, they will be taken back to the login page where they will see an error message. 5.2.2 Registration page 1. Initial state: Clicking on the Sign Up button on the Login page brings the user to the Registration page. All fields are initially blank. 2. Actions: User enters appropriate information in each of the fields. 3. Consequences: If all boxes are correctly filled out, then the user will be sent an email with the pertinent login information. If there is a problem, they will receive an error message. 5.2.3 Main page 1. Initial state: Page loads, user views their uploaded project folders, including the default DEMO folder. 2. Actions: User uploads a new project. 8
3. Consequences: The page reloads and displays the new project folder, with files intact. 1. Initial state: Page loads, user vies their uploaded project folders, including the default DEMO folder. 2. Actions: User expands a folder. 3. Consequences: All of the files and subfolders inside the appropriate project folder are now viewable. Subfolders display the + icon next to them, indicating that they can be expanded. 1. Initial state: Page loads, user vies their uploaded project folders, including the default DEMO folder. 2. Actions: User double clicks on a project folder, or right-clicks and then selects OPEN from the menu. 3. Consequences: User is brought to the entity search page for the appropriate project. 5.3 Dispatcher 5.3.1 Communication 1. Initial: Source Code Uploaded 2. Actions: Activate at least 3 different services Verify in Source Code 3. Consequences: If the services produce the proper output, Requirement 2.2.1, 2.2.3 is satisfied. 5.3.2 Availability 1. Initial: One Service is running One Service is not running 2. Actions: Activate the need for one service and verify it runs 3. Consequences: If the services produce the proper output, Requirement 2.2.2 is satisfied. This requirement will not be verified in first release. 9
5.3.3 Connecting Services 1. Initial: All services are running. 2. Actions: Run a query that uses more than one service. 3. Consequences: If the services produce the proper output, Requirement 2.2.4 is satisfied. This requirement will not be verified in first release because BPEL is not being used. 5.3.4 Logging 1. Initial: All services are running. 2. Actions: Run multiple queries using multiple services 3. Consequences: If the dispatcher logs each of the requests with the logger, Requirement 2.2.5 is satisfied. 5.3.5 Choosing 1. Initial: All services are running. 2. Actions: Run a query that can be done in multiple ways 3. Consequences: Verify the dispatcher chooses the choice of less services, Requirement 2.2.6 is satisfied. This requirement will not be verified in first release because BPEL is not being used. 5.3.6 Project Management Test 1: 1. Initial: REPortal is running 2. Actions: The user uploads a project and can relog in and retrieve it. 10
3. Consequences: The user s project still remains when he/she relogs in. Requirement 2.2.7.1 and 2.2.7.2 are satisfied. Test 2: 1. Initial: REPortal is running 2. Actions: The user uploads a second project. 3. Consequences: Both projects are available on REPortal. Requirement 2.2.7.4 is satisfied. Test3: 1. Initial: REPortal is running 2. Actions: The user uses the project for a query. 3. Consequences: The output from the services is received by the user interface. Requirement 2.2.7.3 is satisfied. 5.4 Services 5.4.1 WSDL A WSDL test consists of successfully connecting to Reportal and completing a simple objective, or list of objectives. Trials are conducted varying by hardware and software specifications, including the user s operating system and browser. At least five successful repetitions of each test must be assessed before considered satisfactory. 5.4.2 JSP Working with WSDL, JSP is required to accomplish a satisfactory number of diverse test scenarios. The responsibilities of JSP also extend to successfully generating HTML and XML, and permitting the user to upload code. 11
5.5 Logger a Start up database b Logging server c Initiate service means start the service which needs to do the logging d Service reads in logging configuration e Service runs logging events Consequences: Data logged by service should get reflected in database 5.5.1 Initial: Start the database Start the logging server Start the service 5.5.2 Actions: Service registers with logging server Logging server provides logging configuration to service Service starts running and logging events on the logging server Logging server processes the log entries and updates to database/xml file 5.5.3 Consequences: Database/XML should have the relevant logged info by the service 5.6 Instrumentation 5.6.1 Initiate Aspect Insturmentation 1. Initial: Source Code Uploaded 2. Actions: Enable Aspect Instrumentation for entire source code, run the code 3. Consequences: User should be able to view graphs provided by the Instrumentation 12
5.6.2 Initiate Aspect Insturmentation During Runtime 1. Initial: Source code to be tested is running 2. Actions: Start the Insturmentation, Stop the Instrumentation after X time units 3. Consequences: User should be able to view graphs provided by the Insturmentation for the section of time selected 13