Project

General

Profile

Bug #10425

Develop an automated test set for admin rest APIs

Added by Ovidiu Maxiniuc 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

Rest Admin postman_collection.json (29.9 KB) Ovidiu Maxiniuc, 08/14/2025 07:22 AM

History

#3 Updated by Ovidiu Maxiniuc 11 months ago

Currently all changes in the admin REST APIs are performed manually, using Postman application. This may not offer full coverage of the code and it is highly subjective. The tester will focus on some aspects which have directly changed, but secondary pieces of code might be also affected.

To start with, we can use the small Postman collection posted attached below. I think they can be easily converted into a harness project which can take care of the pre and post conditions (login/logout) in addition to actual tests. As part of this, we need to test:
  • authentication (login/logout) and authorisation;
  • session API (list, locking, drop);
  • security (list, add, remove, update of domains and domain types);
  • tenants (list, add, remove, updates of tenants, status and their databases).

#4 Updated by Artur Școlnic 11 months ago

Ovidiu Maxiniuc wrote:

To start with, we can use the small Postman collection posted attached below. I think they can be easily converted into a harness project which can take care of the pre and post conditions (login/logout) in addition to actual tests.

Ovidiu, by harness, do you mean that we should have some ABL unit tests and convert them, or simply general tests that should be a part of testcases and can be ran separately.

A standalone unit test module can be written using junit and Mockito to just test the back end methods.

#5 Updated by Ovidiu Maxiniuc 11 months ago

By harness I mean our in-house testing application used for example in ChUI tests.

Brian wrote a simple testset as part of #10421. But that needs to be extended a bit since that is targetted to their area of interest.

Also available in: Atom PDF