- Tests

- Test root initialization

  18:58:11 PM / 00:00:00:001 Pass

  ##### Test root initialization

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:001 · #test-id=1

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:11 PM | [Run App] java -jar build/libs/RESTAPIServer-0.0.1-SNAPSHOT.jar
  Pass | 6:58:11 PM | [Create Filter Action] mode = "contains", case_sensitive = false, name = "app-std-out", text = "Started RestapiServerApplication in"
  Pass | 6:58:18 PM | [Wait Until] module_name = "app-std-out", time_out = 30000 Action was invoked. Elapsed time: 6560 ms
  Pass | 6:58:18 PM | [Create Rest Tester] request_type = "DELETE", name = "module-1", url = "http://localhost:8080/deleteAll" The module with name 'module-1' is running.
  Pass | 6:58:19 PM | [Module Send] name = "module-1", message = "" Message was successfully sent by module 'module-1'. Message content:

- Test suite 'Testování vytváření uživatelů' initialization

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test suite 'Testování vytváření uživatelů' initialization

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=2
  Testovánívytvářeníuživatelů

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:19 PM | [Create Rest Tester] request_type = "POST", content_type = "application/json", name = "user-create", url = "http://localhost:8080/createUser" The module with name 'user-create' is running.
  Pass | 6:58:19 PM | [Create Rest Tester] request_type = "GET", name = "user-get", url = "http://localhost:8080/getUser" The module with name 'user-get' is running.

- Test suite 'Testování aktualizace uživatelů' initialization

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test suite 'Testování aktualizace uživatelů' initialization

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=3
  Testováníaktualizaceuživatelů

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:22 PM | [Create Rest Tester] request_type = "PUT", content_type = "application/json", name = "user-edit", url = "http://localhost:8080/editUser" The module with name 'user-edit' is running.
  Pass | 6:58:22 PM | [Create Rest Tester] request_type = "GET", name = "user-get", url = "http://localhost:8080/getUser" The module with name 'user-get' is running.
  Pass | 6:58:22 PM | [Create Rest Tester] request_type = "GET", name = "user-all", url = "http://localhost:8080/users" The module with name 'user-all' is running.

- Test suite 'Testování požadavků pro odstranění' initialization

  18:58:11 PM / 00:00:00:001 Pass

  ##### Test suite 'Testování požadavků pro odstranění' initialization

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:001 · #test-id=4
  Testovánípožadavkůproodstranění

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:25 PM | [Create Rest Tester] request_type = "DELETE", name = "user-delete", url = "http://localhost:8080/deleteUser" The module with name 'user-delete' is running.
  Pass | 6:58:25 PM | [Create Rest Tester] request_type = "DELETE", name = "user-delete-all", url = "http://localhost:8080/deleteAll" The module with name 'user-delete-all' is running.
  Pass | 6:58:25 PM | [Create Rest Tester] request_type = "GET", name = "user-all", url = "http://localhost:8080/users" The module with name 'user-all' is running.
  Pass | 6:58:25 PM | [Create Rest Tester] request_type = "GET", name = "user-get", url = "http://localhost:8080/getUser" The module with name 'user-get' is running.
  Pass | 6:58:25 PM | [Create Rest Tester] request_type = "POST", name = "user-create", url = "http://localhost:8080/createUser" The module with name 'user-create' is running.
  Pass | 6:58:26 PM | [Module Send] name = "user-create", message = "#body={"id": 0, "name": "TestUser1", "email": "test1@email.com", "p.." Message was successfully sent by module 'user-create'. Message content: #body={"id": 0, "name": "TestUser1", "email": "test1@email.com", "phoneNumber": "+420777666555"}
  Pass | 6:58:26 PM | [Module Send] name = "user-create", message = "#body={"id": 0, "name": "TestUser2", "email": "test2@email.com", "p.." Message was successfully sent by module 'user-create'. Message content: #body={"id": 0, "name": "TestUser2", "email": "test2@email.com", "phoneNumber": "+420777666555"}

- Test vytvoření uživatele

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test vytvoření uživatele

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=5
  Testovánívytvářeníuživatelů
  V tomto testovacím případě bude odeslan požadavek na vytvoření jednoho uživatele. Naslědně v další požadavku bude ověřeno, zda tento uživatel byl opravu vytvořen.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:19 PM | [Module Send] name = "user-create", message = "#body={"id": 0, "name": "User1", "email": "test@email.com", "phoneN.." Message was successfully sent by module 'user-create'. Message content: #body={"id": 0, "name": "User1", "email": "test@email.com", "phoneNumber": "+420666555444"}
  Pass | 6:58:19 PM | [Json Get] from_var = "user-create-last-msg", to_var = "var-id", param_name = "id" The following json content has been stored in a variable named [var-id]: '57'
  Pass | 6:58:19 PM | [Module Send] name = "user-get", message = "id=$var-id" Message was successfully sent by module 'user-get'. Message content: id=57
  Pass | 6:58:19 PM | [Assert Json] expected = "{"id": $var-id, "name": "User1", "email": "test@email.com", "phoneN..", exact_mode = false, var_name = "user-get-last-msg" Assertion succeeded. True was expected as the result. Condition: (Expected JSON '{"id": 57, "name": "User1", "email": "test@email.com", "phoneNumber": "+420666555444"}' must be same as the JSON in the variable '{"id":57,"name":"User1","email":"test@email.com","phoneNumber":"+420666555444","userDataValid":true}')

- Test vytvoření uživatele s neplatným emailem

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test vytvoření uživatele s neplatným emailem

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=6
  Testovánívytvářeníuživatelů
  Bude testováno, zda uživatel s neplatným emailem nebude vytvořen.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:20 PM | [Module Send] name = "user-create", message = "#body={"id": 0, "name": "User1", "email": "testemail.com", "phoneNu.." Message was successfully sent by module 'user-create'. Message content: #body={"id": 0, "name": "User1", "email": "testemail.com", "phoneNumber": "+420666555444"}
  Pass | 6:58:20 PM | [Assert String] mode = "contains", expected = "ERROR: 400", case_sensitive = false, var_name = "user-create-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'ERROR: 400' must contains expected text 'ERROR: 400')

- Test vytvoření uživatele s neplatným telefonem

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test vytvoření uživatele s neplatným telefonem

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=7
  Testovánívytvářeníuživatelů
  Bude testováno, zda uživatel s neplatným telefonním číslem nebude vytvořen.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:21 PM | [Module Send] name = "user-create", message = "#body={"id": 0, "name": "User1", "email": "test@email.com", "phoneN.." Message was successfully sent by module 'user-create'. Message content: #body={"id": 0, "name": "User1", "email": "test@email.com", "phoneNumber": "+44434invalid"}
  Pass | 6:58:21 PM | [Assert String] mode = "contains", expected = "ERROR: 400", case_sensitive = false, var_name = "user-create-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'ERROR: 400' must contains expected text 'ERROR: 400')

- Test aktualizace uživatele

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test aktualizace uživatele

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=8
  Testováníaktualizaceuživatelů
  V tomto testovacím případě bude odeslán požadavek na úpravu jednoho uživatele uživatele. Naslědně v další požadavku bude ověřeno, zda tento uživatel byl opravdu upraven.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:22 PM | [Module Send] name = "user-all", message = "" Message was successfully sent by module 'user-all'. Message content:
  Pass | 6:58:22 PM | [Json Get] from_var = "user-all-last-msg", to_var = "var-user", param_name = "0" The following json content has been stored in a variable named [var-user]: '{"id":57,"name":"User1","email":"test@email.com","phoneNumber":"+420666555444","userDataValid":true}'
  Pass | 6:58:22 PM | [Json Get] from_var = "var-user", to_var = "var-id", param_name = "id" The following json content has been stored in a variable named [var-id]: '57'
  Pass | 6:58:22 PM | [Module Send] name = "user-edit", message = "id=$var-id;#body={"id": 0, "name": "updated", "email": "updated@ema.." Message was successfully sent by module 'user-edit'. Message content: id=57;#body={"id": 0, "name": "updated", "email": "updated@email.com", "phoneNumber": "+420777666444"}
  Pass | 6:58:22 PM | [Module Send] name = "user-get", message = "id=$var-id" Message was successfully sent by module 'user-get'. Message content: id=57
  Pass | 6:58:22 PM | [Assert Json] expected = "{"id": $var-id, "name": "updated", "email": "updated@email.com", "p..", exact_mode = false, var_name = "user-get-last-msg" Assertion succeeded. True was expected as the result. Condition: (Expected JSON '{"id": 57, "name": "updated", "email": "updated@email.com", "phoneNumber": "+420777666444"}' must be same as the JSON in the variable '{"id":57,"name":"updated","email":"updated@email.com","phoneNumber":"+420777666444","userDataValid":true}')

- Test aktualizace uživatele s neplatnými údaji 1

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test aktualizace uživatele s neplatnými údaji 1

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=9
  Testováníaktualizaceuživatelů
  V tomto testovacím případě bude odeslán požadavek na úpravu jednoho uživatele s neplatnými údaji.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:23 PM | [Module Send] name = "user-all", message = "" Message was successfully sent by module 'user-all'. Message content:
  Pass | 6:58:23 PM | [Json Get] from_var = "user-all-last-msg", to_var = "var-user", param_name = "0" The following json content has been stored in a variable named [var-user]: '{"id":57,"name":"updated","email":"updated@email.com","phoneNumber":"+420777666444","userDataValid":true}'
  Pass | 6:58:23 PM | [Json Get] from_var = "var-user", to_var = "var-id", param_name = "id" The following json content has been stored in a variable named [var-id]: '57'
  Pass | 6:58:24 PM | [Module Send] name = "user-edit", message = "id=$var-id;#body={"id": 0, "name": "updated", "email": "updated-ema.." Message was successfully sent by module 'user-edit'. Message content: id=57;#body={"id": 0, "name": "updated", "email": "updated-email.cz", "phoneNumber": "+420777666444"}
  Pass | 6:58:24 PM | [Assert String] mode = "contains", expected = "ERROR: 400", case_sensitive = false, var_name = "user-edit-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'ERROR: 400' must contains expected text 'ERROR: 400')

- Test aktualizace uživatele s neplatnými údaji 2

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test aktualizace uživatele s neplatnými údaji 2

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=10
  Testováníaktualizaceuživatelů
  V tomto testovacím případě bude odeslán požadavek na úpravu jednoho uživatele s neplatnými údaji.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:24 PM | [Module Send] name = "user-all", message = "" Message was successfully sent by module 'user-all'. Message content:
  Pass | 6:58:24 PM | [Json Get] from_var = "user-all-last-msg", to_var = "var-user", param_name = "0" The following json content has been stored in a variable named [var-user]: '{"id":57,"name":"updated","email":"updated@email.com","phoneNumber":"+420777666444","userDataValid":true}'
  Pass | 6:58:24 PM | [Json Get] from_var = "var-user", to_var = "var-id", param_name = "id" The following json content has been stored in a variable named [var-id]: '57'
  Pass | 6:58:25 PM | [Module Send] name = "user-edit", message = "id=$var-id;#body={"id": 0, "name": "", "email": "updated@email.cz",.." Message was successfully sent by module 'user-edit'. Message content: id=57;#body={"id": 0, "name": "", "email": "updated@email.cz", "phoneNumber": "+420777666444"}
  Pass | 6:58:25 PM | [Assert String] mode = "contains", expected = "ERROR: 400", case_sensitive = false, var_name = "user-edit-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'ERROR: 400' must contains expected text 'ERROR: 400')

- Test odstranění jednoho uživatele

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test odstranění jednoho uživatele

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=11
  Testovánípožadavkůproodstranění
  Bude testováno, zda je možné odstranit jednoho uživatele.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:26 PM | [Module Send] name = "user-all", message = "" Message was successfully sent by module 'user-all'. Message content:
  Pass | 6:58:26 PM | [Json Get] from_var = "user-all-last-msg", to_var = "var-user", param_name = "0" The following json content has been stored in a variable named [var-user]: '{"id":57,"name":"updated","email":"updated@email.com","phoneNumber":"+420777666444","userDataValid":true}'
  Pass | 6:58:26 PM | [Json Get] from_var = "var-user", to_var = "var-id", param_name = "id" The following json content has been stored in a variable named [var-id]: '57'
  Pass | 6:58:26 PM | [Module Send] name = "user-delete", message = "id=$var-id" Message was successfully sent by module 'user-delete'. Message content: id=57
  Pass | 6:58:26 PM | [Module Send] name = "user-get", message = "id=$var-id" Message was successfully sent by module 'user-get'. Message content: id=57
  Pass | 6:58:26 PM | [Assert String] mode = "contains", expected = "ERROR: 404", case_sensitive = false, var_name = "user-get-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable 'ERROR: 404' must contains expected text 'ERROR: 404')

- Test odstranění všech uživatelů

  18:58:11 PM / 00:00:00:000 Pass

  ##### Test odstranění všech uživatelů

  05.07.2024 18:58:11 05.07.2024 18:58:11 00:00:00:000 · #test-id=12
  Testovánípožadavkůproodstranění
  Bude testováno, zda je možné odstranit všechny uživatele v databázi.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:27 PM | [Module Send] name = "user-delete-all", message = "" Message was successfully sent by module 'user-delete-all'. Message content:
  Pass | 6:58:28 PM | [Module Send] name = "user-all", message = "" Message was successfully sent by module 'user-all'. Message content:
  Pass | 6:58:28 PM | [Assert String] mode = "contains", expected = "[]", var_name = "user-all-last-msg" Assertion succeeded. True was expected as the result. Condition: (Value of variable '[]' must contains expected text '[]')

- Result score

  18:58:28 PM / 00:00:00:000 Pass

  ##### Result score

  05.07.2024 18:58:28 05.07.2024 18:58:28 00:00:00:000 · #test-id=13
  This is not a test case. This is an informative page containing the final score of the tested application.

  Status | Timestamp | Details
  --- | --- | ---
  Pass | 6:58:28 PM | Tested application for test suite 'Testování aktualizace uživatelů' get 3.75 / 3.75 points
  Pass | 6:58:28 PM | Tested application for test suite 'Testování vytváření uživatelů' get 3.75 / 3.75 points
  Pass | 6:58:28 PM | Tested application for test suite 'Testování požadavků pro odstranění' get 2.50 / 2.50 points
  Info | 6:58:28 PM | TOTAL SCORE: 10.00 / 10.00 points

- Category

- 3

- 4

  Testovánívytvářeníuživatelů

  4 tests

  #### Testovánívytvářeníuživatelů

  4 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:58:11 PM | Test suite 'Testování vytváření uživatelů' initialization
  Pass | 18:58:11 PM | Test vytvoření uživatele
  Pass | 18:58:11 PM | Test vytvoření uživatele s neplatným emailem
  Pass | 18:58:11 PM | Test vytvoření uživatele s neplatným telefonem

- 3

  Testovánípožadavkůproodstranění

  3 tests

  #### Testovánípožadavkůproodstranění

  3 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:58:11 PM | Test suite 'Testování požadavků pro odstranění' initialization
  Pass | 18:58:11 PM | Test odstranění jednoho uživatele
  Pass | 18:58:11 PM | Test odstranění všech uživatelů

- 4

  Testováníaktualizaceuživatelů

  4 tests

  #### Testováníaktualizaceuživatelů

  4 passed

  Status | Timestamp | TestName
  --- | --- | ---
  Pass | 18:58:11 PM | Test suite 'Testování aktualizace uživatelů' initialization
  Pass | 18:58:11 PM | Test aktualizace uživatele
  Pass | 18:58:11 PM | Test aktualizace uživatele s neplatnými údaji 1
  Pass | 18:58:11 PM | Test aktualizace uživatele s neplatnými údaji 2

Started

### May 7, 2024 06:58:11 PM

Ended

### May 7, 2024 06:58:28 PM

Tests Passed

### 13

Tests Failed

### 0

###### Tests

###### Log events

Timeline

Tags

Name | Passed | Failed | Skipped | Others | Passed %
--- | --- | --- | --- | --- | ---
Testovánívytvářeníuživatelů | 4 | 0 | 0 | 0 | 100%
Testovánípožadavkůproodstranění | 3 | 0 | 0 | 0 | 100%
Testováníaktualizaceuživatelů | 4 | 0 | 0 | 0 | 100%