- Tests

- Test root initialization

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test root initialization

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=1

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:46 PM | [Run App] java -jar app/build/libs/app.jar 9999 5
  Pass | 6:56:47 PM | [Wait] 800

- Test suite 'Testování serveru s jedním klientem' initialization

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test suite 'Testování serveru s jedním klientem' initialization

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=2
  Testováníserverusjednímklientem

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:47 PM | [Create Telnet Client] port = 9999, name = "client-1", host = "localhost" The module with name 'client-1' is running.
  Pass | 6:56:48 PM | [Wait] 600

- Test suite 'Testování serveru s více klienty' initialization

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test suite 'Testování serveru s více klienty' initialization

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=3
  Testováníserverusvíceklienty

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:51 PM | [Create Telnet Client] port = 9999, name = "client-1", host = "localhost" The module with name 'client-1' is running.
  Pass | 6:56:51 PM | [Create Telnet Client] port = 9999, name = "client-2", host = "localhost" The module with name 'client-2' is running.
  Pass | 6:56:51 PM | [Create Telnet Client] port = 9999, name = "client-3", host = "localhost" The module with name 'client-3' is running.
  Pass | 6:56:52 PM | [Wait] 800

- Test suite 'Testování omezení počtu připojení k server' initialization

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test suite 'Testování omezení počtu připojení k server' initialization

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=4
  Testováníomezenípočtupřipojeníkserver

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:56 PM | [Create Telnet Client] port = 9999, name = "client-1", host = "localhost" The module with name 'client-1' is running.
  Pass | 6:56:57 PM | [Wait] 500
  Pass | 6:56:57 PM | [Create Telnet Client] port = 9999, name = "client-2", host = "localhost" The module with name 'client-2' is running.
  Pass | 6:56:57 PM | [Wait] 500
  Pass | 6:56:57 PM | [Create Telnet Client] port = 9999, name = "client-3", host = "localhost" The module with name 'client-3' is running.
  Pass | 6:56:58 PM | [Wait] 500
  Pass | 6:56:58 PM | [Create Telnet Client] port = 9999, name = "client-4", host = "localhost" The module with name 'client-4' is running.
  Pass | 6:56:58 PM | [Wait] 500
  Pass | 6:56:58 PM | [Create Telnet Client] port = 9999, name = "client-5", host = "localhost" The module with name 'client-5' is running.
  Pass | 6:56:59 PM | [Wait] 500
  Pass | 6:56:59 PM | [Create Telnet Client] port = 9999, name = "client-6", host = "localhost" The module with name 'client-6' is running.
  Pass | 6:56:59 PM | [Wait] 500

- Test komunikace jednoho klienta 1

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test komunikace jednoho klienta 1

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=5
  Testováníserverusjednímklientem
  Bude testována komunikace mezi serverem a jedním telnet klientem. Klient odešle jednu zprávu a bude testováno, zda testovaný echo server odeslal tu stejnou zprávu zpět.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:48 PM | [Module Send] name = "client-1", message = "This is a test message" Message was successfully sent by module 'client-1'. Message content: This is a test message
  Pass | 6:56:48 PM | [Wait] 900
  Pass | 6:56:48 PM | [Buffer Get] index = 0, module_name = "client-1", var_name = "var-1" The following message has been stored in a variable named [var-1]: 'This is a test message'
  Pass | 6:56:48 PM | [Assert String] mode = "equals", expected = "This is a test message", case_sensitive = true, var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'This is a test message' must equals expected text 'This is a test message')

- Test komunikace jednoho klienta 2

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test komunikace jednoho klienta 2

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=6
  Testováníserverusjednímklientem
  Bude testována komunikace mezi serverem a jedním telnet klientem.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:49 PM | [Module Send] name = "client-1", message = "Testing message 123" Message was successfully sent by module 'client-1'. Message content: Testing message 123
  Pass | 6:56:50 PM | [Wait] 600
  Pass | 6:56:50 PM | [Module Send] name = "client-1", message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiu.." Message was successfully sent by module 'client-1'. Message content: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  Pass | 6:56:51 PM | [Wait] 900
  Pass | 6:56:51 PM | [Buffer Get] index = 0, module_name = "client-1", var_name = "var-1" The following message has been stored in a variable named [var-1]: 'Testing message 123'
  Pass | 6:56:51 PM | [Buffer Get] index = 1, module_name = "client-1", var_name = "var-2" The following message has been stored in a variable named [var-2]: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
  Pass | 6:56:51 PM | [Assert String] mode = "equals", expected = "Testing message 123", var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'Testing message 123' must equals expected text 'Testing message 123')
  Pass | 6:56:51 PM | [Assert String] mode = "equals", expected = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiu..", var_name = "var-2" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.' must equals expected text 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.')

- Test komunikace více klientů 1

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test komunikace více klientů 1

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=7
  Testováníserverusvíceklienty
  Bude testována komunikace mezi serverem a více telnet klienty. Každý klient odešle jednu zprávu a bude testováno, zda testovaný echo server odeslal všem klientům tu stejnou zprávu zpět.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:52 PM | [Module Send] name = "client-1", message = "This is testing message 987654321" Message was successfully sent by module 'client-1'. Message content: This is testing message 987654321
  Pass | 6:56:52 PM | [Module Send] name = "client-2", message = "This is testing message from client #2" Message was successfully sent by module 'client-2'. Message content: This is testing message from client #2
  Pass | 6:56:52 PM | [Module Send] name = "client-3", message = "Next testing message from client 3!!" Message was successfully sent by module 'client-3'. Message content: Next testing message from client 3!!
  Pass | 6:56:53 PM | [Wait] 900
  Pass | 6:56:53 PM | [Buffer Get] index = 0, module_name = "client-1", var_name = "var-1" The following message has been stored in a variable named [var-1]: 'This is testing message 987654321'
  Pass | 6:56:53 PM | [Buffer Get] index = 0, module_name = "client-2", var_name = "var-2" The following message has been stored in a variable named [var-2]: 'This is testing message from client #2'
  Pass | 6:56:53 PM | [Buffer Get] index = 0, module_name = "client-3", var_name = "var-3" The following message has been stored in a variable named [var-3]: 'Next testing message from client 3!!'
  Pass | 6:56:53 PM | [Assert String] mode = "equals", expected = "This is testing message 987654321", var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'This is testing message 987654321' must equals expected text 'This is testing message 987654321')
  Pass | 6:56:53 PM | [Assert String] mode = "equals", expected = "This is testing message from client #2", var_name = "var-2" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'This is testing message from client #2' must equals expected text 'This is testing message from client #2')
  Pass | 6:56:53 PM | [Assert String] mode = "equals", expected = "Next testing message from client 3!!", var_name = "var-3" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'Next testing message from client 3!!' must equals expected text 'Next testing message from client 3!!')

- Test komunikace více klientů 2

  18:56:46 PM / 00:00:00:000 Pass

  ##### Test komunikace více klientů 2

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=8
  Testováníserverusvíceklienty
  Bude testována komunikace mezi serverem a více telnet klienty. Každý klient odešle několik zpráv a bude ověřováno, zda odpověděl na všechny z nich.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:54 PM | [Module Send] name = "client-1", message = "This is testing message 1" Message was successfully sent by module 'client-1'. Message content: This is testing message 1
  Pass | 6:56:54 PM | [Module Send] name = "client-1", message = "This is testing message 2" Message was successfully sent by module 'client-1'. Message content: This is testing message 2
  Pass | 6:56:54 PM | [Module Send] name = "client-1", message = "This is testing message 3" Message was successfully sent by module 'client-1'. Message content: This is testing message 3
  Pass | 6:56:54 PM | [Module Send] name = "client-2", message = "This is testing message 1" Message was successfully sent by module 'client-2'. Message content: This is testing message 1
  Pass | 6:56:54 PM | [Module Send] name = "client-2", message = "This is testing message 2" Message was successfully sent by module 'client-2'. Message content: This is testing message 2
  Pass | 6:56:54 PM | [Module Send] name = "client-2", message = "This is testing message 3" Message was successfully sent by module 'client-2'. Message content: This is testing message 3
  Pass | 6:56:54 PM | [Module Send] name = "client-2", message = "This is testing message 4" Message was successfully sent by module 'client-2'. Message content: This is testing message 4
  Pass | 6:56:54 PM | [Module Send] name = "client-3", message = "This is testing message 1" Message was successfully sent by module 'client-3'. Message content: This is testing message 1
  Pass | 6:56:54 PM | [Module Send] name = "client-3", message = "This is testing message 2" Message was successfully sent by module 'client-3'. Message content: This is testing message 2
  Pass | 6:56:55 PM | [Wait] 1400
  Pass | 6:56:55 PM | [Count And Store] module_name = "client-1", var_name = "var-1" The following value has been stored in a variable named [var-1]: '3'
  Pass | 6:56:55 PM | [Count And Store] module_name = "client-2", var_name = "var-2" The following value has been stored in a variable named [var-2]: '4'
  Pass | 6:56:55 PM | [Count And Store] module_name = "client-3", var_name = "var-3" The following value has been stored in a variable named [var-3]: '2'
  Pass | 6:56:55 PM | [Assert Equals] value = 3.0, var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Expected value '3.000000' must be same as the value of the variable '3')
  Pass | 6:56:55 PM | [Assert Equals] value = 4.0, var_name = "var-2" Assertion succeeded. True was expected as the result. Condition: (Expected value '4.000000' must be same as the value of the variable '4')
  Pass | 6:56:55 PM | [Assert Equals] value = 2.0, var_name = "var-3" Assertion succeeded. True was expected as the result. Condition: (Expected value '2.000000' must be same as the value of the variable '2')

- Testování omezení počtu klientů 1

  18:56:46 PM / 00:00:00:000 Pass

  ##### Testování omezení počtu klientů 1

  05.07.2024 18:56:46 05.07.2024 18:56:46 00:00:00:000 · #test-id=9
  Testováníomezenípočtupřipojeníkserver
  Server byl spušten s paramater, který určuje, že k serveru se může připojit pouze 5 klientů. K tomuto serveru bylo následně připojeno 6 klientu. U posledního klienta 'client-6' se očekavá, že nebude zpět přijímat zprávy od serveru, protože se nemuže připojit.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:56:59 PM | [Module Send] name = "client-5", message = "This is testing message 1" Message was successfully sent by module 'client-5'. Message content: This is testing message 1
  Pass | 6:56:59 PM | [Module Send] name = "client-6", message = "This is testing message 1" Message was successfully sent by module 'client-6'. Message content: This is testing message 1
  Pass | 6:56:59 PM | [Module Send] name = "client-5", message = "This is testing message 2" Message was successfully sent by module 'client-5'. Message content: This is testing message 2
  Pass | 6:56:59 PM | [Module Send] name = "client-6", message = "This is testing message 2" Message was successfully sent by module 'client-6'. Message content: This is testing message 2
  Pass | 6:57:00 PM | [Wait] 1200
  Pass | 6:57:00 PM | [Count And Store] module_name = "client-5", var_name = "var-1" The following value has been stored in a variable named [var-1]: '2'
  Pass | 6:57:00 PM | [Count And Store] module_name = "client-6", var_name = "var-2" The following value has been stored in a variable named [var-2]: '0'
  Pass | 6:57:00 PM | [Assert Equals] value = 2.0, var_name = "var-1" Assertion succeeded. True was expected as the result. Condition: (Expected value '2.000000' must be same as the value of the variable '2')
  Pass | 6:57:00 PM | [Assert Equals] value = 0.0, var_name = "var-2" Assertion succeeded. True was expected as the result. Condition: (Expected value '0.000000' must be same as the value of the variable '0')

- Result score

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

  ##### Result score

  05.07.2024 18:57:01 05.07.2024 18:57:01 00:00:00:000 · #test-id=10
  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:01 PM | Tested application for test suite 'Testování serveru s více klienty' get 1.60 / 1.60 points
  Pass | 6:57:01 PM | Tested application for test suite 'Testování serveru s jedním klientem' get 1.60 / 1.60 points
  Pass | 6:57:01 PM | Tested application for test suite 'Testování omezení počtu připojení k server' get 0.80 / 0.80 points
  Info | 6:57:01 PM | TOTAL SCORE: 4.00 / 4.00 points

- Category

- 3

- 3

  Testováníserverusvíceklienty

  3 tests

  #### Testováníserverusvíceklienty

  3 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:56:46 PM | Test suite 'Testování serveru s více klienty' initialization
  Pass | 18:56:46 PM | Test komunikace více klientů 1
  Pass | 18:56:46 PM | Test komunikace více klientů 2

- 2

  Testováníomezenípočtupřipojeníkserver

  2 tests

  #### Testováníomezenípočtupřipojeníkserver

  2 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:56:46 PM | Test suite 'Testování omezení počtu připojení k server' initialization
  Pass | 18:56:46 PM | Testování omezení počtu klientů 1

- 3

  Testováníserverusjednímklientem

  3 tests

  #### Testováníserverusjednímklientem

  3 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:56:46 PM | Test suite 'Testování serveru s jedním klientem' initialization
  Pass | 18:56:46 PM | Test komunikace jednoho klienta 1
  Pass | 18:56:46 PM | Test komunikace jednoho klienta 2

Started

### May 7, 2024 06:56:46 PM

Ended

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

Tests Passed

### 10

Tests Failed

### 0

###### Tests

###### Log events

Timeline

Tags

Name | Passed | Failed | Skipped | Others | Passed %
--- | --- | --- | --- | --- | ---
Testováníserverusvíceklienty | 3 | 0 | 0 | 0 | 100%
Testováníomezenípočtupřipojeníkserver | 2 | 0 | 0 | 0 | 100%
Testováníserverusjednímklientem | 3 | 0 | 0 | 0 | 100%