Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some scenarios while testing API calls #3258

Closed
Nazarah opened this issue Dec 19, 2017 · 2 comments
Closed

Some scenarios while testing API calls #3258

Nazarah opened this issue Dec 19, 2017 · 2 comments

Comments

@Nazarah
Copy link
Contributor

Nazarah commented Dec 19, 2017

I discovered couple of things while testing PAI calls using Vamos API.
They are displayed below:

  1. http://recordit.co/cRhmlvHqsW
    In the video, it is shown that the given URL to make call to the API is simply put in Postman GET request.
    Postman shows a status 200:OK, indicating the call was successful.
    When returned back to API dashboard, the call is registered in number of calls for Last 24 hours period.
    But it is not registered under 2XX calls.
    On Details view, the call is shown to be registered under 3XX calls.
    Question: Is this a bug? or did it register as 3XX as we made the call using postman.

  2. http://recordit.co/PPQOWPQ8p5
    In this video, it is shown that thr API key requirement is enabled from the API profile.
    The Postman GET request is updated by adding the key.
    On sending the request, a 403 Forbidden call appears.
    In APInf dashboard, the call response is listed as 4XX in the last 24 hours timeline.
    This means the recording of 4XX call is working perfectly.

  3. http://recordit.co/FxuwXHFIH9
    Some random settings are made to the API profile and postman request.
    All apparent 2xx requests are logged as 3xx requests,

I believe we might be having a bug over here.
This needs a bit detailed investigation from devs.

@Nazarah
Copy link
Contributor Author

Nazarah commented Dec 19, 2017

@marla-singer can you please take a look at this?

@preriasusi
Copy link
Contributor

Tested on current production 0.52.0. All 2XX calls did go under 2XX calls in analytics. I tried on postman and curl with production and customer environment. I could not repro anymore. Close for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants