Normal Mode Test Actor
Pricing
Pay per usage
Normal Mode Test Actor
A simple Actor that adds two numbers together, with an optional delay; it can simulate long-running processes. The main purpose of this Actor is to enable fast, cheap testing.
Pricing
Pay per usage
Rating
5.0
(1)
Developer
Apify
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 hours ago
Last modified
Categories
Share
Apify Normal Test Actor
A minimal Apify Actor used as a counterpart to the ../mcp-server-actor. It exists to exercise the regular (non-standby) Actor execution path.
What it does
The Actor runs only in normal mode. It reads two integers from input, optionally waits for a configurable number of seconds, computes their sum, and pushes { firstNumber, secondNumber, sum } to the default dataset before exiting.
Input
| Field | Type | Required | Description |
|---|---|---|---|
firstNumber | integer | yes | First addend. |
secondNumber | integer | yes | Second addend. |
waitSeconds | integer | no | Seconds to wait before computing the sum (default: 0). |
Example:
{ "firstNumber": 2, "secondNumber": 3, "waitSeconds": 0 }
Output
A single item pushed to the default dataset:
{ "firstNumber": 2, "secondNumber": 3, "sum": 5 }
Getting started
$apify run
Deploy to Apify
$apify push