apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

APIs that had calls made in their endpoints using connected proxy doesn't appear on Dashboard. #3421

Closed Nazarah closed 6 years ago

Nazarah commented 6 years ago

Steps to Reproduce: TestAPI1 and TestAPI2 are connected to the following proxy at nightly: API Umbrella 0.14.0

The APIs were added my me.

TestAPI1 has the following proxy base path: https://nightly.apinf.io:3004/testapi1/ TestAPI2 has the following proxy base path: https://nightly.apinf.io:3004/testapi2/

TestAPI2 has API key requirement disabled.

Using Postman, 1000 calls were made to both APIs on March 8, 2017. For both APIs, the script contained the following: tests["Status code is 200"] = responseCode.code === 200;

TestAPI1 had 998 successful results and 2 failed results TestAPI2 had 997 successful results and 3 failed results

So Dashboard should list atleast 1000 calls for each API in the last 7 days

Outcome: image

The Dashboard doesn't contain the mentioned APIs in its list. For the last 7 days period, no calls are shown for them.

Expected Behavior:

If calls are made to APIs, theý should appear properly in the dashboard.

Environment:

Nightly APInf, Windows 10, Chrome Latest. Calls made using postman. The results obtained from the API call testing are given as a comment.

Nazarah commented 6 years ago

testrun.docx

Nazarah commented 6 years ago

Update: made 10 test calls to each API using the same script on 14.03.2017 in between 9.00 AM - 9.30 AM. The APIs are supposed to be registered in the dashboard since calls were made within a 30 minutes time interval. But even on selecting last 24 hours timeline, the APIs didn't get registered on the Dashboard. image

marla-singer commented 6 years ago

Closed it as not bug Select the correct Proxy. On the screen it display APIs are connected to "Nightly Umbrella" but you connected to another one

Works as expected screenshot at mar 14 11-18-38