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).
Component: RA Web Service REST
The issue has been confirmed to be a bug by our Dev team.
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
Defect ID:RA_WEB_SERVICE_REST-526
Defect Description: Incorrect behavior of RA Web Service REST when storing the REST response in an variable.