Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51026

REST API doesn't provide information on failed test-cases

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • robot-plugin
    • None
    • Robot Framework plugin 1.6.4
    • 2.0.0

      I haven't found a way to get the names of the failed test-cases via REST

      When issuing a

      .../robot/api/json[?depth=x]

      I always get a
      {"allFailedCases":[\{},\{},\{},\{},\{}],
      "criticalFailed":5,
      ...}
      whatever depth I choose.

      I'd expect at least something like

      {"allFailedCases"[{"testcase":"<suite>.<testcase>"}, ...

      additional information like [non-]critical, number or repetitions would be welcome.

      Pls. document the how to, if this should already work - or fix it.

      Thanks in advance

      PS: There is a JENKINS-22546 Add REST API to robot framework plugin where this has been mentioned as a comment - but not as a bug. Maybe that's why this is still in.
       

            hifi Juho Saarinen
            frabo Franz Born
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: