Inconsistent Handling of REST Request Responses Based on Content Length
search cancel

Inconsistent Handling of REST Request Responses Based on Content Length

book

Article ID: 368051

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

When a variable is intended to be populated with the response from a REST request, an inconsistency occurs based on the length of the response content. Specifically, if the length of the response content is exactly 1024 characters, the content is not directly stored in the variable. Instead, the content is written to a file, and the filename is assigned to the variable.

Expected Behavior: The response content should be stored directly in the variable.
Actual Behavior: The file is saved in the <Agent>/bin/variableFileDirectory directory, similar to the behavior in previous versions (v9/10).

Environment

Component: RA Web Service REST

Cause

The issue has been confirmed to be a bug by our Dev team.

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:

Component(s): RA Web Service REST 4.6.11 - Available 

 

Additional Information

Defect ID:RA_WEB_SERVICE_REST-526

Defect Description: Incorrect behavior of RA Web Service REST when storing the REST response in an variable.