Structure change in Botium Box result Full-Transcript JSON file

Hi,

I have been working with the Full-Transcript results JSON file and parsing the response accordingly to generate test results in graphical manner to our internal dashboard.
But now I see the change in JSON structure of Full-Transcript file. Due to the JSON structure change, my current code is raising Exceptions.

In the latest JSON structure, I could see the expected & actual responses in the tag called “errDetails” but in the older JSON structure, I was able to read from the tag called “Steps”. But now after change in the structure, the “Steps” tag is returning an empty list. Please let me know if there will be changes to the Full-Transcript JOSN file structure in future releases. Therefore I need to find out a solution.

Note: Actual & Expected responses are populating only for Failed cases and not for the Passed cases.

please find the below example scenarios for reference :

Latest (After change) JSON format :

“errDetails”: [
{
“type”: “asserter”,
“source”: “TextMatchAsserter”,
“context”: {
“stepTag”: “Apply_leave_Entity_Fullfilment/APPLY_LEAVE_ENTITY_FULLFILLMENT_ME_1-L1/APPLY_LEAVE_ENTITY_FULLFILLMENT_ME_2-L1/APPLY_LEAVE_ENTITY_FULLFILLMENT_ME_3-L1/Line 6”
},
“cause”: {
“expected”: [
“Please mention the leave dates”
],
“actual”: “Would you like to proceed ? Please confirm (Yes/No)”
},
“message”:"Error message "
}
],

Older (Before change) JSON Format :

“errDetails”: [
{
“err”: {
“timeoutMillis”: 10000
},
“message”: “ODA_Skill_Performance_Intent_SummaryTouchpoints/ODA_SKILL_PERFORMANCE_INTENT_SUMMARYTOUCHPOINTS_ME_1-L44/Line 6: error waiting for bot - Bot did not respond within 10000 ms”,
“input”: {
“sender”: “me”,
“channel”: null,
“messageText”: “Where can I do self evaluation for PD?”,
“stepTag”: “Line 3”,
“not”: false,
“optional”: false,
“asserters”: [],
“logicHooks”: [],
“userInputs”: []
},
“transcript”: [
{
“expected”: {
“sender”: “me”,
“channel”: null,
“not”: false,
“optional”: false,
“messageText”: “Where can I do self evaluation for PD?”,
“media”: null,
“buttons”: null,
“cards”: null,
“forms”: null,
“attachments”: null,
“asserters”: [],
“userInputs”: [],
“logicHooks”: []
},
“not”: false,
“optional”: false,
“actual”: {
“sender”: “me”,
“channel”: null,
“not”: false,
“optional”: false,
“messageText”: “Where can I do self evaluation for PD?”,
“media”: null,
“buttons”: null,
“cards”: null,
“forms”: null,
“sourceData”: {
“requestOptions”: {
“uri”: “uir info”,
“method”: “POST”,
“followAllRedirects”: true,
“timeout”: 10000,
“body”: {
“userId”: “2e427f65-ed94-4b09-a5cd-43a2e9337f6d”,
“messagePayload”: {
“text”: “Where can I do self evaluation for PD?”,
“type”: “text”
},
“profile”: {
“locale”: “en_US”,
“userId”: “503228224”,
“userSecureData”: {
“sub”: “503228224”,
“firstName”: “Venkadesh.Jayabalan”,
“lastName”: “Unspecified”,
“preferredName”: “testPreferredName”,
“business”: [
“1734021”,
“1147425”
],
“subbusiness”: “Digital Technology”,
“unit”: “Functions”,
“countryName”: “United States of America”,
“region”: “United States”,
“city”: “New York”,
“jobfunction”: “NotAvailable”,
“persontype”: “Employee”,
“band”: “PB”,
“active”: “Y”,
“PortalRoles”: [
“Some Thing”
],
“email”: “email”,
“country”: “US”
}
}
},
“json”: true,
“strictSSL”: true,
“headers”: {
“X-Hub-Signature”: “dsncodcnsdcsdcsdckmskcsa7659835283572”
}
}
},
“attachments”: null,
“asserters”: [],
“userInputs”: [],
“logicHooks”: [],
“currentStepIndex”: 0
},
“stepBegin”: “2021-03-02T07:29:30.547Z”,
“stepEnd”: “2021-03-02T07:29:31.820Z”,
“botBegin”: “2021-03-02T07:29:30.550Z”,
“botEnd”: “2021-03-02T07:29:31.820Z”,
“err”: null,
“scriptingMemory”: {}
},
{
“expected”: {
“sender”: “bot”,
“channel”: null,
“not”: false,
“optional”: false,
“messageText”: “ODA_SKILL_PERFORMANCE_INTENT_SUMMARYTOUCHPOINTS_BOT_1”,
“media”: null,
“buttons”: null,
“cards”: null,
“forms”: null,
“attachments”: null,
“asserters”: [],
“userInputs”: [],
“logicHooks”: []
},
“not”: false,
“optional”: false,
“actual”: null,
“stepBegin”: “2021-03-02T07:29:31.820Z”,
“stepEnd”: null,
“botBegin”: “2021-03-02T07:29:31.821Z”,
“botEnd”: “2021-03-02T07:29:41.823Z”,
“err”: null
}
]
}
],

There are no changes planned. Which doesnt mean that there wont be any changes from now on.