Skip to content

Test Conduction in Detail

ErgoTobi edited this page May 24, 2019 · 4 revisions

Scenario: Start Testset

The following describes the functional process of the GUI interacting with external systems within in the code.

  1. The lifecylce hook NgOnInit() starts readTestsetById() and receives the testsets incl. scenarios.
  2. A result based on the first scenario is produced.
  3. The GUI connects to the MQTT server and subscribes the data.
  4. The recurring part begins as per the set runQunatity attribute. A run based on the first scenario is produced.
  5. The test enviroment starts. As soon as the S/A VM is started, SpeedDreams begins and publishes data to the MQTT server.
  6. A buffer starts that sends 200 runDetails attributes with RunDetailBulk() in 1.5 seconds frequency.
  7. The fault injection happens according to the predefined time and QEMU Config JSON.
  8. A timeout stops the run, checks the state and running windows get closed.
  9. The lifecylce hook NgOnDestroy() ends the test and stops all subscriptions. The user is led to the Result screen.