karatelabs/karate

Unclear error logs

Open

#2.952 geöffnet am 1. Juli 2026

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.893 Forks)batch import
help wanted

Repository-Metriken

Stars
 (7.600 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 20h) (11 gemergte PRs in 30 T)

Beschreibung

Problem or Use Case

Error logs are no longer as accurate as in the previous release. Only the error and the feature's scenario name are displayed, with no reference to the feature line or the instruction that triggered the error. This information was present in previous versions. example: [ERROR] Tests run: 111, Failures: 0, Errors: 16, Skipped: 0, Time elapsed: 320.2 s <<< FAILURE! -- in it.$Test [ERROR] [src/test/java/.../test_accounts] Get Accounts bulk stress test.[1.6:37] Get Accounts bulk test - page 0 size 9999 -- Time elapsed: 0.006 s <<< ERROR! java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out

Proposed Solution

in previous release the log was like

classpath:it/.../flow.feature:107 src/test/java/it/.../test.feature:385 at com.intuit.karate.junit5.FeatureNode.lambda$next$1(FeatureNode.java:86)

Alternatives Considered

No response

Contributor Guide