diff --git a/naprrql/report-resolvers.go b/naprrql/report-resolvers.go index e737492..9eb9b22 100644 --- a/naprrql/report-resolvers.go +++ b/naprrql/report-resolvers.go @@ -899,6 +899,12 @@ func buildReportResolvers() map[string]interface{} { ok = false } else { resp, ok = responses[0].(xml.NAPResponseSet) + if ok { + ok = (len(resp.TestletList.Testlet) != 0) + if ok { + ok = (len(resp.TestletList.Testlet[0].ItemResponseList.ItemResponse) != 0) + } + } } if ok { for _, testlet := range resp.TestletList.Testlet {