You can translate the question and the replies:

Denodo Testing tool-1

Hello, I have one API which has authentication of OAuth. How can I test A API with authentication?
user
06-11-2020 08:17:26 -0500
code

1 Answer

Hi, If I want to check whether an API is fetching the results correctly, I would create a [**JSON data source**](https://community.denodo.com/docs/html/browse/latest/vdp/administration/creating_data_sources_and_base_views/json_sources/json_sources) in Virtual DataPort Administration Tool with OAuth Authentication. Then, I would set the [**Denodo Testing Tool's**](https://community.denodo.com/docs/html/document/denodoconnects/7.0/Denodo%20Testing%20Tool%20-%20User%20Manual) Execution directive to point to the VQL of the JSON datasource and then provide the expected results under the [**Results directive**](https://community.denodo.com/docs/html/document/denodoconnects/7.0/Denodo%20Testing%20Tool%20-%20User%20Manual#:~:text=RESULTS%20directive). This way, you can compare if the expected results and the results fetched from the API is matching. Hope this helps!
Denodo Team
09-11-2020 07:25:05 -0500
code
You must sign in to add an answer. If you do not have an account, you can register here