IG REST Request and headers not printed in Report after upgrade from RA REST
search cancel

IG REST Request and headers not printed in Report after upgrade from RA REST

book

Article ID: 400662

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Following the upgrade of the REST Agent into Integration REST Agent 24.x the following difference was observed related to the request information printed in the Report:

Integration rest agent on v24:

  • When you execute the job with only “Write Response to Job log” ticked, it does not write request and header information to the job report.
  • If “Write Response to Job log” + additionally “Create Request reports” are ticked, the request and header information are printed in the job report.

Ra Webservice Rest agent on v24:

  • When you execute the job with “Write Response to Job log” ticked, the request and header information are printed in the job report.

Environment

Integration REST Agent 24.x versus RA Webservice REST Agent

Cause

The fact that the Request, the Request Headers and Response headers were always printed on RA Rest Agent was considered as an issue and was solved on Integration Rest Agent 24 via S331280: Integration REST: Investigation - Request/Response headers are written to Report.

The following was fixed:

  • Request headers are always logged in report: Fix it that they are only logged only if option "Request Reports" is set
  • Request object contained in POST, PUT, PATCH request is always logged in report: Fix it that it is only logged only if option "Request Reports" is set
  • Response headers are always logged in report: Fix it that they are only logged only if option "Response Reports" is set

Resolution

If you would like to have the same behavior as in the past with RA Rest Agent and have the information about the request and the headers printed in the report with the Integration REST Agent, please do the following:

  • Tick the option "Create Request Report" if you want to see the Request and the Request Headers printed in the Job report.
  • Tick the option "Write Response to Job log" if you want to see the Response and Response headers in the Job report.

Additional Information

More information about these settings explained here.

    • Write response to Job Log

Select it if you want the REST Agent to print the whole response to the Job log.

    • Create Request Reports

Select it if you want to create and register a report with the request data. These reports are written to the task_reports directory.

    • Create Response Report

Select it if you want to create and register a report with the response data. These reports are written to the task_reports directory.