Log JavaScript input proxy test results to job report

Recipe ToolsMarketingDeveloper Tool

What it does

When the clock triggers every 5 minutes, this automation executes JavaScript code to test an input proxy. It logs the results to the job report, or logs any error that occurs during the test.

Who it's for

Engineering teams who monitor JavaScript input proxy behavior and need automated test results in the job report.

How teams use this

Monitor input proxy health on schedule

Run the JavaScript input proxy test every 5 minutes and log results to the job report. The team reviews the report to catch issues before they affect production systems.

Alert the team when tests fail

Extend this automation to send a Slack message when the input proxy test fails. Include the error details so the team can respond faster to issues.

Store test results for compliance

Add a step to archive each test result in a database or file storage system. This creates an audit trail of input proxy behavior over time for compliance reviews.

How it works

  1. Trigger every 5 minutes. The automation starts on a 5-minute schedule to run the input proxy test at regular intervals without manual intervention.
  2. Execute JavaScript code for input proxy. Run the JavaScript input proxy test code in Js Eval. If an error occurs, the automation stops and logs the error message instead of continuing.
  3. Log results to job report. Write the test results or error message to the job report in Workato Files so the team can review what happened during this test cycle.