EMI Pseudonymity Test Plan

  • Component: Pseudonymity
  • Description: Pseudonymity Server and Client UI

Unit Tests

The unit tests are automatically run at build time, and the build will fail if a unit test is not successful. TestNG framework is used for unit testing.

If the RfC is a source code modification (bugs, ...), the developers are responsible to implement the required unit test for every RfCs implemented.

Deployment Tests

The repositories defined in the EMI-2, corresponding to the desired platform must be installed to the system.

As the 1.1 version of Pseudonymity is the first certified version, only clean installations are documented.

Client deployment

The client-side can be installed by installing the package pseudonymity-ui.

No configuration needed.

Server deployment

The server-side can be installed by installing the package pseudonymity-server.

See PseudonymiServerConfiguration for the configuration instructions.

Configuration is tested in the functional tests.

Basic Functionality Tests

Automatic tests have not been implemented as some of the tests require visible output verification from both command-line and Web interfaces.

Configuration

Test-Server-Config-1

Precondition

The configuration file pseudonymity-server.ini is invalid.

Test

Start the pseudonymity server.

Postcondition

The pseudonymity server is not running. The pseudonymity server logs indicate the error and prints all the information needed to find the cause of the error.

Test-Server-Config-2

Precondition

The configuration file pseudonymity-server.ini is valid.

Test

Start the pseudonymity server.

Postcondition

The pseudonymity server is running and it listens to the configured port.

Functionality

Test-Func-1

Precondition

The pseudonymity server is configured and running. The client has a valid VOMS proxy, trusted and authorized by the pseudonymity server. The client trusts the pseudonymity server's certificate and it's not revocated.

Test

Run the client tool, pointing to the endpoint of the pseudonymity server.

Postcondition

The client stores pseudonymous certificate and its corresponding private key to the filesystem.

Test-Func-2

Precondition

Test-Func-1 has been successfully run and the client has pseudonymous credentials.

Test

Verify that the pseudonymous certificate has anonymized subject DN.

Postcondition

The subject DN of the certificate is anonymized.

Test-Func-3

Precondition

Test-Func-1 has been successfully run and the client has pseudonymous credentials.

Test

Verify from the admin interface that the audit information has been stored into a database.

Postcondition

The admin interface shows the audit information for issuing and registering the pseudonym.

Test-Func-4

Precondition

Test-Func-3 has been successfully run.

Test

Verify from the admin interface that the audit information for administrator viewing has been stored into a database, claiming that one relationship between pseudonym identifier and real identity has been revealed.

Postcondition

The admin interface shows the audit information for the pseudonym, including information that an administrator has revealed the relationship between the true identity and the pseudonym.

Test and Certification Reports

Pseudonymity v1.1 (EMI-2):

-- HenriMikkonen - 23-Apr-2012

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2012-04-27 - HenriMikkonen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback