Test Report API returning boolean instead of String
search cancel

Test Report API returning boolean instead of String

book

Article ID: 219468

calendar_today

Updated On:

Products

CA Application Test

Issue/Introduction

Seeing as issue when using the Test Report API's, it appears that it is returning a boolean value instead of a string (per the documentation).

Example:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/using/using-the-apis/test-invoke-api.html#concept.dita_265023555fd7d2008469aa18558f64afc83aebdf_RetrieveaTestReportforaGivenTestRunUniqueId

The document shows that the "endedState" should return "PASSED", but when the API was hit in 10.6, it appears that it is returned "true"

"endedState":true

This was also happening in 10.5 after upgraded last year and received a fix from Broadcom support. 

Environment

Release : 10.6

Component : CA Application Test for Mobile

Cause

Defect

Resolution

Placing the patch lisa-test-invoke-10.6.0.war into Lisa_Home/webserver/patches should resolve the issue. 

If anyone facing this issue, please open a support case and refer DE506884 and request the patch.