|
System Test Specification
Revision A - 10 APR 1996
|
| Name | Position | E-mail address |
---|
Author(s): | Jim Håkansson Johan Ramestam | | pt93jha@pt.hk-r.se pt93jr@pt.hk-r.se |
Responsible: | Jim Håkansson | Test Manager | pt93jha@pt.hk-r.se |
To: | SAIDA | Project | saida@pt.hk-r.se |
Cc: | | | |
1 Features to be Tested
This is a test to make sure that the WWW-interface is working together with the Data Server and fulfil the requirements for the first delivery.
2 Test Units
All requirements in [SAIDA 96-1].
All requirements in [SAIDA 96-2].
3 Preconditions
Variable List
Path | Name | Type | Default Val. |
---|
/sweden/ronneby/ | lamp | unsigned long | 0 |
/sweden/karlskrona/lunchrum/ | toaster | signed long | 0 |
/sweden/ | iron_machine | unsigned short | 0 |
/sweden/ronneby/ | computer | signed short | 0 |
/italy/rome/ | aquarium | float | 0 |
/sweden/ronneby/ | doorbell | SNVT_char_ascii | 0 |
/ | radio | SNVT_freq_hz | 0 |
/sweden/malung/ | switch | SNVT_power | 0 |
/norway/oslo/museum/ | thermometer | SNVT_temp | 0 |
4 Postconditions
None.
5 Environmental Needs
Netscape 1.1 on both Windows NT and UNIX.
6 Special Requirements
6.1 Batch Script
The batch script shall call the cgi program ten times and measure the time.
The script shall do the following:
- Set the environment variable (REQUEST_METHOD) to be (GET)
- Start measure the time
- Call generate.exe with parameter: name=test&passwd=inget
- Repeat [3] ten times.
- Stop measure the time.
7 Test 1: Set/Get the Value for a Variable
7.1 Description
Change the value for a variable through the www-interface.
7.2 Procedure Steps
- Start Netscape.
- Go to URL http://saida.sikt.hk-r.se.
- Enter user name test.
- Enter password inget.
- Click on the generate button.
- Enter new values for the variables according to [Table 7-1:], "New values"
New values
Path | Name | Type | Value | Comment |
---|
/sweden/ronneby/ | lamp | unsigned long | 10 | Ok |
/sweden/karlskrona/lunchrum/ | toaster | signed long | 32768 | Error: too high |
/sweden/ | iron_machine | unsigned short | -1 | Error: too low |
/sweden/ronneby/ | computer | signed short | - 10 | Ok |
/italy/rome/ | aquarium | float | 3.14 | Ok |
/sweden/ronneby/ | doorbell | SNVT_char_ascii | S | Ok |
/ | radio | SNVT_freq_hz | 20 | Ok |
/sweden/malung/ | switch | SNVT_power | 7000 | Error: too high |
/norway/oslo/museum/ | thermometer | SNVT_temp | 6279.5 | Ok |
- Click on the SUBMIT button.
- The new page shall give you three errors.
- Click on the BACK button.
- Examine the new values according to [Table 7-1:], "New values". All values shall be as in the table, except for they how went wrong they shall be 0.
7.3 Feature Pass/Fail Criteria
The shall pass if everything works all right.
8 Test 2: Response Time
8.1 Description
In order to test the response time in the CCN, the time between the cgi program has started and the request is fulfilled shall be measured.
8.2 Procedure Steps
- Start the batch script. [6.1], "Batch Script"
- Note the time.
8.3 Feature Pass/Fail Criteria
The test shall fail if the time is more than worst case in the Requirements Specification [SAGA 96-1]
9 Approvals
The Test Manager shall approve the test.
10 Appendix A
10.1 References
[SAIDA 96-1] Sassner J., "Requirements Specification WWW Interface" -reva -University of Karlsk rona/Ronneby, 1996.
[SAIDA 96-2] Puhv M.., "Requirements Specification Data Server" - revb -University of Karlsk rona/Ronneby, 1996.
- System Test Specification
-
- 1 - Features to be Tested
-
- 2 - Test Units
-
- 3 - Preconditions
-
- 4 - Postconditions
-
- 5 - Environmental Needs
-
- 6 - Special Requirements
-
- 6.1 - Batch Script
-
- 7 Test 1: - Set/Get the Value for a Variable
-
- 7.1 - Description
-
- 7.2 - Procedure Steps
-
- 7.3 - Feature Pass/Fail Criteria
-
- 8 Test 2: - Response Time
-
- 8.1 - Description
-
- 8.2 - Procedure Steps
-
- 8.3 - Feature Pass/Fail Criteria
-
- 9 - Approvals
-
- 10 - Appendix A
-
- 10.1 - References
-
Info
Team
WebCam
Documents
Schedule
CustomerOnly
© 1996, The SAIDA Project