Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test environment configuration

Module NameUsedConfiguration needed
AssertionXcitrus.properties (IAM Configuration section)
ResponseRepository

SeleniumRequest

AppiumRequest

tokenGenerator

An instance of your application must be available. (backend + gui)

Manual actions: These tests should be semi-automatic because the user has to identify him/herself on the CSAM portal via eID, TOTP or itsme and on the IDP (e.g. choosing a profile, choosing a mandate, etc.).

Operations

Test scriptOperation

TS-001

partially automatic

  1. Before running this test, configure the "citrus.properties" file with the right credentials of the user  (i.e. first name and the last name) and the desired profile
  2. Start the application and identify yourself depending on the information in the "citrus.properties" file.
  3. Update the "pom" of assertion module with "M2-IAM-Authentication.xml" test suite and run the project (mvn package)

TS-002

partially automatic

  1. Before running this test, configure the "citrus.properties" file with the right credentials of the user  (i.e. first name and the last name) and the desired profile
  2. Start the application and identify yourself depending on the information in the "citrus.properties" file.
  3. Logout locally from the application
  4. Update the "pom" of assertion module with "M2-IAM-LocalLogout.xml" test suite and run the project (mvn package)

TS-003

partially automatic

  1. Start the application and identify yourself with respect to the information in the "citrus.properties" file.
  2. Logout globally from the application
  3. Update the "pom" of assertion module with "M2-IAM-GlobalLogout.xml" test suite and run the project (mvn package)

TS-004

manual

Same as TS-001 but following the profile chosen the application must display a welcome page depending of the chosen profile

TS-005

deduction

Test succeeded if TS-001, TS-003 and TS-004 passed

TS-006

manual

Test succeeded if TS-001 and TS-004 passed with a mandate.

TS-007

deduction

Test succeeded if test TS-006 and TS-003 passed

TS-008

partially automatic

  1. Start the application and identify yourself with a revoked mandate. (it must fail)
  2. Update the "pom" of assertion module with "M2-IAM-FailedAuthentication.xml" test suite and run the project (mvn package)

3.2 Checking eHealth basic services (consent, therapeutic exclusion and therapeutic links)

...

Test environment configuration

Module Nameusedconfiguration needed
Assertion

ResponseRepositoryX
SeleniumRequestX

Generally you have to use Selenium or Appium, the choice depends on the nature of the application to test.

AppiumRequestX
tokenGenerator

An instance of your application must be available. (backend)

...

Test environment configuration

Module NameUsedConfiguration needed
AssertionX
ResponseRepositoryX
SeleniumRequest


AppiumRequest

tokenGeneratorX

Simulate a backend to give a token to the Assertion Module. The port of this module must be linked to the callback of your Realm (default 8080)

Your application doesn't run. Your backend neither. The tokenGenerator is used instead. 


Operations

Test suiteProfile tested (flow)Basic eHealth service tested Test script run

M2-BasicService-PatientFlow.xml

Patient

consent, therapeutic exclusion, therapeutic linksTS-101, TS-202, TS-302

M2-BasicService-Physician.xml

Physicianconsent, therapeutic linksTS-102, TS-203