- Tests

- Test root initialization

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test root initialization

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=1

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:08 PM | [Run App] java -jar app/build/libs/app.jar 9999 10
  Pass | 6:57:11 PM | [Wait] 3000
  Pass | 6:57:11 PM | [Create Telnet Client] port = 9999, name = "client-1", host = "localhost" The module with name 'client-1' is running.
  Pass | 6:57:11 PM | [Create Telnet Client] port = 9999, name = "client-2", host = "localhost" The module with name 'client-2' is running.
  Pass | 6:57:11 PM | [Create Telnet Client] port = 9999, name = "client-3", host = "localhost" The module with name 'client-3' is running.
  Pass | 6:57:13 PM | [Wait] 2000
  Pass | 6:57:13 PM | [Module Send] name = "client-1", message = "Klient1" Message was successfully sent by module 'client-1'. Message content: Klient1
  Pass | 6:57:13 PM | [Module Send] name = "client-2", message = "Klient2" Message was successfully sent by module 'client-2'. Message content: Klient2
  Pass | 6:57:13 PM | [Module Send] name = "client-3", message = "Klient3" Message was successfully sent by module 'client-3'. Message content: Klient3
  Pass | 6:57:14 PM | [Wait] 800

- Test suite 'Testování běžné komunikace' initialization

  18:57:08 PM / 00:00:00:001 Pass

  ##### Test suite 'Testování běžné komunikace' initialization

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:001 · #test-id=2
  Testováníběžnékomunikace

- Test suite 'Testování diskuzních místností' initialization

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test suite 'Testování diskuzních místností' initialization

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=3
  Testovánídiskuzníchmístností

- Test suite 'Testování příkazu pro změnů jména' initialization

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test suite 'Testování příkazu pro změnů jména' initialization

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=4
  Testovánípříkazuprozměnůjména

- Zaklaní test komunikace 1

  18:57:08 PM / 00:00:00:000 Pass

  ##### Zaklaní test komunikace 1

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=5
  Testováníběžnékomunikace
  V tomto testovacím případě bude testováno, zda doručení ostatním klientům probíhá správně. Odesílání zpráv bude probíhat v základní diskuzní místnosti public.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:14 PM | [Module Send] name = "client-1", message = "Hello, world!" Message was successfully sent by module 'client-1'. Message content: Hello, world!
  Pass | 6:57:15 PM | [Wait] 1000
  Pass | 6:57:15 PM | [Assert String] mode = "contains", expected = "[Klient1] >> Hello, world!", var_name = "client-2-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient1] >> Hello, world!' must contains expected text '[Klient1] >> Hello, world!')
  Pass | 6:57:15 PM | [Assert String] mode = "contains", expected = "[Klient1] >> Hello, world!", var_name = "client-3-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient1] >> Hello, world!' must contains expected text '[Klient1] >> Hello, world!')

- Zaklaní test komunikace 2

  18:57:08 PM / 00:00:00:000 Pass

  ##### Zaklaní test komunikace 2

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=6
  Testováníběžnékomunikace
  V tomto testovacím případě bude testováno, zda doručení ostatním klientům probíhá správně. Odesílání zpráv bude probíhat v základní diskuzní místnosti public.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:15 PM | [Module Send] name = "client-1", message = "Testing 123" Message was successfully sent by module 'client-1'. Message content: Testing 123
  Pass | 6:57:15 PM | [Module Send] name = "client-2", message = "12345 - 67890" Message was successfully sent by module 'client-2'. Message content: 12345 - 67890
  Pass | 6:57:15 PM | [Module Send] name = "client-3", message = "This is a test message" Message was successfully sent by module 'client-3'. Message content: This is a test message
  Pass | 6:57:16 PM | [Wait] 1000
  Pass | 6:57:16 PM | [Store To Var] mode = "contains", module_name = "client-1", text = "[Klient2]", var_name = "var-1" The following value has been stored in a variable named [var-1]: '[Klient2] >> 12345 - 67890'
  Pass | 6:57:16 PM | [Assert String] mode = "equals", expected = "[Klient2] >> 12345 - 67890", var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient2] >> 12345 - 67890' must equals expected text '[Klient2] >> 12345 - 67890')
  Pass | 6:57:16 PM | [Store To Var] mode = "contains", module_name = "client-1", text = "[Klient3]", var_name = "var-1" The following value has been stored in a variable named [var-1]: '[Klient3] >> This is a test message'
  Pass | 6:57:16 PM | [Assert String] mode = "contains", expected = "[Klient3] >> This is a test message", var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient3] >> This is a test message' must contains expected text '[Klient3] >> This is a test message')
  Pass | 6:57:16 PM | [Store To Var] mode = "contains", module_name = "client-2", text = "[Klient1]", var_name = "var-1" The following value has been stored in a variable named [var-1]: '[Klient1] >> Testing 123'
  Pass | 6:57:16 PM | [Assert String] mode = "contains", expected = "[Klient1] >> Testing 123", var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient1] >> Testing 123' must contains expected text '[Klient1] >> Testing 123')

- Test odeslání soukromé zprávy

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test odeslání soukromé zprávy

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=7
  Testováníběžnékomunikace
  V tomto testovacím případě bude testováno, zda server umožnuje posílání soukromých zpráv. Klient 2 soukromou zprávu odešle klientu 3.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:17 PM | [Module Send] name = "client-2", message = "#sendPrivate Klient3 This is a private message" Message was successfully sent by module 'client-2'. Message content: #sendPrivate Klient3 This is a private message
  Pass | 6:57:18 PM | [Wait] 1000
  Pass | 6:57:18 PM | [Store To Var] mode = "contains", module_name = "client-3", text = "[Klient2]", var_name = "var-1" The following value has been stored in a variable named [var-1]: '[Klient2] >> This is a private message'
  Pass | 6:57:18 PM | [Store To Var] mode = "contains", module_name = "client-2", text = "[Klient2]", var_name = "var-2" The following value has been stored in a variable named [var-2]: ''
  Pass | 6:57:18 PM | [Assert String] mode = "contains", expected = "[Klient2] >> This is a private message", var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient2] >> This is a private message' must contains expected text '[Klient2] >> This is a private message')
  Pass | 6:57:18 PM | [Assert String] mode = "contains", result = false, expected = "[Klient2] >> This is a private message", var_name = "var-2" Assertion succeeded. False was expected as the result. Condition: (Value of variable '' must contains expected text '[Klient2] >> This is a private message')

- Test vstoupení do diskuzní místnosti

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test vstoupení do diskuzní místnosti

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=8
  Testovánídiskuzníchmístností
  V rámci tohoto testovacího případu bude ověřena funkčnost příkazů #join a #groups.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:19 PM | [Module Send] name = "client-1", message = "#join MyGroup1" Message was successfully sent by module 'client-1'. Message content: #join MyGroup1
  Pass | 6:57:19 PM | [Module Send] name = "client-2", message = "#join MyGroup1" Message was successfully sent by module 'client-2'. Message content: #join MyGroup1
  Pass | 6:57:20 PM | [Wait] 1000
  Pass | 6:57:20 PM | [Module Send] name = "client-1", message = "#groups" Message was successfully sent by module 'client-1'. Message content: #groups
  Pass | 6:57:21 PM | [Wait] 1000
  Pass | 6:57:21 PM | [Assert String] mode = "contains", expected = "MyGroup1", var_name = "client-1-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[SERVER] groups: public,MyGroup1' must contains expected text 'MyGroup1')
  Pass | 6:57:21 PM | [Module Send] name = "client-1", message = "#leave public" Message was successfully sent by module 'client-1'. Message content: #leave public
  Pass | 6:57:21 PM | [Module Send] name = "client-2", message = "#leave public" Message was successfully sent by module 'client-2'. Message content: #leave public
  Pass | 6:57:22 PM | [Wait] 1000
  Pass | 6:57:22 PM | [Module Send] name = "client-1", message = "#groups" Message was successfully sent by module 'client-1'. Message content: #groups
  Pass | 6:57:23 PM | [Wait] 1000
  Pass | 6:57:23 PM | [Assert String] mode = "contains", result = false, expected = "public", var_name = "client-1-last-msg" Assertion succeeded. False was expected as the result. Condition: (Value of variable '[SERVER] groups: MyGroup1' must contains expected text 'public')

- Test komunikace v diskuzní místnosti

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test komunikace v diskuzní místnosti

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=9
  Testovánídiskuzníchmístností
  Tento testovací případ závisí na výsledku předchozího, kdy se dva klienti připojili k soukromé místnosti MyGroup1. Nyní bude ověřeno, že komunikace probíhá správně a členové, kteří nejsou v této místnosti, zprávu neobdrží.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:24 PM | [Module Send] name = "client-1", message = "This is private message" Message was successfully sent by module 'client-1'. Message content: This is private message
  Pass | 6:57:25 PM | [Wait] 1000
  Pass | 6:57:25 PM | [Assert String] mode = "contains", expected = "This is private message", var_name = "client-2-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient1] >> This is private message' must contains expected text 'This is private message')
  Pass | 6:57:25 PM | [Assert String] mode = "contains", result = false, expected = "This is private message", var_name = "client-3-last-msg" Assertion succeeded. False was expected as the result. Condition: (Value of variable '[Klient2] >> This is a private message' must contains expected text 'This is private message')
  Pass | 6:57:25 PM | [Module Send] name = "client-3", message = "#join MyGroup1" Message was successfully sent by module 'client-3'. Message content: #join MyGroup1
  Pass | 6:57:26 PM | [Wait] 1000
  Pass | 6:57:26 PM | [Module Send] name = "client-1", message = "This is private message" Message was successfully sent by module 'client-1'. Message content: This is private message
  Pass | 6:57:27 PM | [Wait] 1000
  Pass | 6:57:27 PM | [Assert String] mode = "contains", expected = "This is private message", var_name = "client-3-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[Klient1] >> This is private message' must contains expected text 'This is private message')

- Test změny jména

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test změny jména

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=10
  Testovánípříkazuprozměnůjména
  Testuje funkčnost příkazu pro změnu jména uživatele. Jméno bude unikátní v rámci IM serveru.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:27 PM | [Module Send] name = "client-1", message = "#setMyName NoveJmeno1" Message was successfully sent by module 'client-1'. Message content: #setMyName NoveJmeno1
  Pass | 6:57:28 PM | [Wait] 1000
  Pass | 6:57:28 PM | [Module Send] name = "client-1", message = "This is new message" Message was successfully sent by module 'client-1'. Message content: This is new message
  Pass | 6:57:29 PM | [Wait] 1000
  Pass | 6:57:29 PM | [Assert String] mode = "contains", expected = "[NoveJmeno1] >> This is new message", var_name = "client-2-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[NoveJmeno1] >> This is new message' must contains expected text '[NoveJmeno1] >> This is new message')

- Test změny na neunikátní jméno

  18:57:08 PM / 00:00:00:000 Pass

  ##### Test změny na neunikátní jméno

  05.07.2024 18:57:08 05.07.2024 18:57:08 00:00:00:000 · #test-id=11
  Testovánípříkazuprozměnůjména
  Testuje funkčnost příkazu pro změnu jména uživatele. Jméno bude neunikátní v rámci IM serveru a tak se předpokládá, že mu nebude změněno, jelikož už jiný uživatel toto jméno má.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:30 PM | [Module Send] name = "client-1", message = "#setMyName Klient2" Message was successfully sent by module 'client-1'. Message content: #setMyName Klient2
  Pass | 6:57:31 PM | [Wait] 1000
  Pass | 6:57:31 PM | [Module Send] name = "client-1", message = "This is new message" Message was successfully sent by module 'client-1'. Message content: This is new message
  Pass | 6:57:32 PM | [Wait] 1000
  Pass | 6:57:32 PM | [Assert String] mode = "contains", expected = "[NoveJmeno1] >> This is new message", var_name = "client-2-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[NoveJmeno1] >> This is new message' must contains expected text '[NoveJmeno1] >> This is new message')

- Result score

  18:57:33 PM / 00:00:00:001 Pass

  ##### Result score

  05.07.2024 18:57:33 05.07.2024 18:57:33 00:00:00:001 · #test-id=12
  This is not a test case. This is an informative page containing the final score of the tested application.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:57:33 PM | Tested application for test suite 'Testování příkazu pro změnů jména' get 2.86 / 2.86 points
  Pass | 6:57:33 PM | Tested application for test suite 'Testování diskuzních místností' get 2.86 / 2.86 points
  Pass | 6:57:33 PM | Tested application for test suite 'Testování běžné komunikace' get 4.29 / 4.29 points
  Info | 6:57:33 PM | TOTAL SCORE: 10.00 / 10.00 points

- Category

- 3

- 3

  Testovánídiskuzníchmístností

  3 tests

  #### Testovánídiskuzníchmístností

  3 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:57:08 PM | Test suite 'Testování diskuzních místností' initialization
  Pass | 18:57:08 PM | Test vstoupení do diskuzní místnosti
  Pass | 18:57:08 PM | Test komunikace v diskuzní místnosti

- 3

  Testovánípříkazuprozměnůjména

  3 tests

  #### Testovánípříkazuprozměnůjména

  3 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:57:08 PM | Test suite 'Testování příkazu pro změnů jména' initialization
  Pass | 18:57:08 PM | Test změny jména
  Pass | 18:57:08 PM | Test změny na neunikátní jméno

- 4

  Testováníběžnékomunikace

  4 tests

  #### Testováníběžnékomunikace

  4 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:57:08 PM | Test suite 'Testování běžné komunikace' initialization
  Pass | 18:57:08 PM | Zaklaní test komunikace 1
  Pass | 18:57:08 PM | Zaklaní test komunikace 2
  Pass | 18:57:08 PM | Test odeslání soukromé zprávy

Started

### May 7, 2024 06:57:08 PM

Ended

### May 7, 2024 06:57:33 PM

Tests Passed

### 12

Tests Failed

### 0

###### Tests

###### Log events

Timeline

Tags

Name | Passed | Failed | Skipped | Others | Passed %
--- | --- | --- | --- | --- | ---
Testovánídiskuzníchmístností | 3 | 0 | 0 | 0 | 100%
Testovánípříkazuprozměnůjména | 3 | 0 | 0 | 0 | 100%
Testováníběžnékomunikace | 4 | 0 | 0 | 0 | 100%