[ 
https://issues.apache.org/jira/browse/RANGER-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799270#comment-17799270
 ] 

Abhishek commented on RANGER-4620:
----------------------------------

Review request available at :- https://reviews.apache.org/r/74800/

> Add python based Public V2 REST API tests to the Apache Ranger repo
> -------------------------------------------------------------------
>
>                 Key: RANGER-4620
>                 URL: https://issues.apache.org/jira/browse/RANGER-4620
>             Project: Ranger
>          Issue Type: Task
>          Components: Ranger
>            Reporter: Abhishek
>            Assignee: Abhishek
>            Priority: Major
>
> Add python based API tests for all the Public V2 REST APIs listed in 
> [https://ranger.apache.org/apidocs/index.html.]
> The tests are cover almost all the Public V2 APIs available in Apache Ranger.
> The tests are categorised into 5 sections :-
> 1. Tests for ROLE_SYS_ADMIN user
> 2. Tests for ROLE_ADMIN_AUDITOR user
> 3. Tests for ROLE_USER user
> 4. Tests for ROLE_KEY_ADMIN user
> 5. Negative test scenarios (for e.g fetch the entities using invalid id, make 
> an update request with invalid data etc)
> The only input required to run these tests are Ranger Admin Base URL.
> There is a common test runner to run these tests, and the test suite is 
> specified in the form of a JSON file.
> The test runner reads the JSON file, creates the required data in the data 
> setup phase,
> and runs the tests.
> The same test runner can be used to run / automate tests for all the other 
> API sections like Asset REST, XUser REST, Plugin REST APIs etc.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to