Bug #10425
Develop an automated test set for admin rest APIs
0%
History
#3 Updated by Ovidiu Maxiniuc 11 months ago
- File Rest Admin postman_collection.json added
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 aharness 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
harnessproject 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.