7.4. Testing an agent

It is important that you, as a developer, test an agent before copying that agent to a production server. Having a test environment is valuable for testing and developing agents.

7.4.1. Testing an agent during development

You can quickly test an agent by simulating a run without affecting documents.

1.
Select the database and go to the Shared Code and Agent pane.
2.
Select the agent and choose Agent -> Test, or right-click on the agent and choose Test.
3.
Read the Test Run Agent Log, which describes how many documents would be processed and what action would be taken if the agent were actually run.

7.4.2. Testing an agent before copying it to a live database

For agents that have multiple steps or complex tasks, split ...

Get Domino Designer 6: A Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.