System Test Specification

Revision A - 10 APR 1996

 NamePositionE-mail address
Author(s):Jim Håkansson
Johan Ramestam
 pt93jha@pt.hk-r.se
pt93jr@pt.hk-r.se
Responsible:Jim HåkanssonTest Managerpt93jha@pt.hk-r.se
To:SAIDAProjectsaida@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
PathNameTypeDefault Val.
/sweden/ronneby/lampunsigned long0
/sweden/karlskrona/lunchrum/toastersigned long0
/sweden/iron_machineunsigned short0
/sweden/ronneby/computersigned short0
/italy/rome/aquariumfloat0
/sweden/ronneby/doorbellSNVT_char_ascii0
/radioSNVT_freq_hz0
/sweden/malung/switchSNVT_power0
/norway/oslo/museum/thermometerSNVT_temp0

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:

  1. Set the environment variable (REQUEST_METHOD) to be (GET)

  2. Start measure the time

  3. Call generate.exe with parameter: name=test&passwd=inget

  4. Repeat [3] ten times.

  5. 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

  1. Start Netscape.

  2. Go to URL http://saida.sikt.hk-r.se.

  3. Enter user name test.

  4. Enter password inget.

  5. Click on the generate button.

  6. Enter new values for the variables according to [Table 7-1:], "New values"

New values
PathNameTypeValueComment
/sweden/ronneby/lampunsigned long10Ok
/sweden/karlskrona/lunchrum/toastersigned long32768Error: too high
/sweden/iron_machineunsigned short-1Error: too low
/sweden/ronneby/computersigned short- 10Ok
/italy/rome/aquariumfloat3.14Ok
/sweden/ronneby/doorbellSNVT_char_asciiSOk
/radioSNVT_freq_hz20Ok
/sweden/malung/switchSNVT_power7000Error: too high
/norway/oslo/museum/thermometerSNVT_temp6279.5Ok

  1. Click on the SUBMIT button.

  2. The new page shall give you three errors.

  3. Click on the BACK button.

  4. 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

  1. Start the batch script. [6.1], "Batch Script"

  2. 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