Normal Mode Test Actor avatar

Normal Mode Test Actor

Pricing

Pay per usage

Go to Apify Store
Normal Mode Test Actor

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

Apify

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

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

FieldTypeRequiredDescription
firstNumberintegeryesFirst addend.
secondNumberintegeryesSecond addend.
waitSecondsintegernoSeconds 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