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

Dev Tools Console: When sending multiple requests, you cannot figure out which one triggered an exception #78919

Closed
spinscale opened this issue Sep 30, 2020 · 1 comment · Fixed by #129443
Assignees
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@spinscale
Copy link
Contributor

Foreword: I am not sure if this is a bug or a feature, but to me as a user it is confusing.

Kibana version: 7.9.2

Describe the bug:

When sending multiple requests in dev tools (by marking them) and any of them throws an exception, only the exception is displayed, but you have no idea, which requests actually triggered the exception, when several requests get send to the same URL.

Steps to reproduce:

Copy these requests into dev-tools console, mark them and sent them at once

DELETE test

PUT test 
{
  "mappings": {
    "properties": {
      "trips" : {
        "type": "nested"
      }
    }
  }
}

POST test/_doc
{
  "value": "abc",
  "trips": [
    {
      "type": "home",
      "changes": 0
    },
    {
      "type": "home",
      "changes": 1
    }
  ]
}

POST test/_doc
{
  "value": "abc",
  "trips": [
    {
      "type": "home",
      "changes": 0
    },
    {
      "type": "home",
      "changes": 0
    }
  ]
}

POST test/_doc
{
  "trips" : 1
}

POST test/_refresh

The last POST test/_doc request is the one failing.

Expected behavior:

All responses are listed up to the exception, and then the failed request is shown with its exception.

Screenshots (if relevant):

Only exception is displayed, but the requests which were successful until that one are dismissed

image

@cjcenizal cjcenizal added enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Sep 30, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants