Functional Testing: Engines
Overview
Use this page to enroll and manage functional testing engines. An engine is a Windows host running LoadGen FunctionalEngine.exe in platform mode: once enrolled it claims test runs, uploads result rows and screenshots, and reports a regular heartbeat. Without at least one enrolled engine online, functional test packages and SystemTesting testcases have nothing to execute them on.
Before you enroll an engine, the matching FunctionalEngine build must be available from the appliance's software updates, and you need a Windows host to install it on, with a logged-on interactive desktop if it will run SystemTesting testcases. Once engines are online, functional test packages and schedules route runs to them, and those runs are recorded in run history.
This page lists every enrolled engine with its operating system, installed build, capabilities, state and last heartbeat, and summarizes counts as Enrolled, Online, Busy and Offline. From here you create and revoke enrollment tokens, and edit, rotate the key of, or remove individual engines.
Key concepts
- engine - A Windows host running LoadGen FunctionalEngine.exe in platform mode. It enrolls with a token, then claims test runs, uploads result rows and screenshots, and reports a regular heartbeat. (related: Functional Testing: Run history)
- enrollment token - A credential you generate on this page that lets one or more Windows hosts register themselves as engines. Its secret and enroll command are shown only once, and it enrolls between 1 and 100 engines before it is used up or revoked.
- heartbeat - The periodic check-in an engine sends to confirm it is still reachable. The Heartbeat column shows how long ago the last one arrived.
- Can run - The set of test types and LoadGen Orchestrate abilities an engine reports it supports, shown as chips in the table, for example whether it can run SystemTesting testcases that need a logged-on interactive desktop. (related: Orchestrate: Orchestrations)
When to use it
- Before running functional test packages or SystemTesting testcases for the first time, to get at least one engine online.
- When you need more capacity, to enroll additional Windows hosts as engines.
- When an engine's key may be compromised, to rotate it.
- When a host is retired from functional testing, to remove its engine.
- When checking whether engines are Online, Busy or Offline before scheduling a run.
- When an enrollment token is no longer needed, to revoke it before it expires on its own.
Before you begin
- A role with permission to manage functional testing engines and enrollment tokens; some roles can view engines but are refused when they try to read tokens.
- A FunctionalEngine build published in the appliance's software updates (Platform: Appliance) to install on the host.
- A Windows host to install FunctionalEngine.exe on; it needs a logged-on interactive desktop if it will run SystemTesting testcases.
- Network access from that host to the platform so it can send its heartbeat.
Common workflows
Enroll a new functional testing engine
Persona: Functional testing admin
- Click Create enrollment token.
- Expect: A dialog opens asking for a token Name, Expires in (hours), Engines it may enroll and the Tags given to every engine it enrolls.
- Enter a descriptive Name, set Expires in (hours) and Engines it may enroll, then confirm.
- Expect: The dialog shows the one-time Token secret and Enroll command; the token is added to the Enrollment tokens list.
- Copy the enroll command and run it in an elevated prompt on the target Windows host.
- Expect: The host registers itself with the platform using the token.
- Return to the Engines page and click Refresh.
- Expect: The new engine appears as a row with its Engine name, OS and Build, and its State reads Online; the Enrolled and Online KPI cards increase from 0.
Verify: The engine's row shows a recent Heartbeat and State Online, and the Enrolled KPI card count matches the number of hosts you enrolled.
Revoke an enrollment token
Persona: Platform admin
- Open the Enrollment tokens list below the engine table.
- Expect: Existing tokens are listed with their name and expiry.
- Click Revoke on the token you want to disable.
- Expect: The token is removed from the list and can no longer be used to enroll new engines.
Verify: The token no longer appears in the Enrollment tokens list; engines already enrolled with it keep working, but the enroll command tied to it stops functioning.
Steps
Step 1
Open the Engines page under Functional Testing.
Expected result: The page loads with the Enrolled, Online, Busy and Offline KPI cards all at 0 and the engine table showing "No engine is enrolled yet. Create an enrollment token and run its enroll command on a Windows host."
This empty state is the starting point before you enroll any Windows host to run functional tests.
- The info banner above the KPI cards explains the enroll flow: download the engine from Software updates, install it on a Windows host, then create a token here.
-
Create enrollment token appears both in the page header and inside the empty table since no engines exist yet.
Field reference
| Field | Purpose | Format / Validation | Required | Default |
|---|---|---|---|---|
| Name | Identifies this enrollment token in the Enrollment tokens list so you can tell which token to revoke later. | text | Yes | - |
| Expires in (hours) | Sets how long the token stays valid for enrolling engines. A short expiry limits the window a leaked token could be misused in; a long expiry, up to 720 hours, is more convenient for staged rollouts where hosts are enrolled over several days. | number, hours | Yes | - |
| Engines it may enroll | Caps how many separate Windows hosts can use this one token. Set it to 1 for a single-use token issued to one host, or higher when enrolling a batch of hosts in a lab or pool with the same token. | number | - | - |
| Tags given to every engine it enrolls | Tags automatically applied to every engine that enrolls with this token, so you can filter or group hosts enrolled together, for example by lab or environment, without tagging each one by hand afterward. | text, tag list | No | - |
| Token | The generated token secret, shown only once when the token is created. Copy it immediately since it cannot be viewed again after you close the dialog. | generated secret string | No | - |
| Enroll command | The exact command to run on the target Windows host, in an elevated prompt, to complete enrollment with this token. Like the token secret, it is shown only once. | command text | No | - |
| Tags | Per-engine tags you set after enrollment to organize or filter engines in the table, independent of the tags its token applied at enrollment. | text, tag list | No | - |
| Desired state | The state you want this engine to move to; the engine picks it up and applies it at its next heartbeat. Use it to take an engine out of rotation without removing it outright. | selection | No | - |
Column reference
| Column | What it shows | How to read it |
|---|---|---|
| Engine | - | The name identifying the enrolled Windows host; sort it to find a specific engine quickly. |
| OS | - | The operating system reported by the host. |
| Build | - | The installed FunctionalEngine.exe version. An update indicator appears when a newer build is available from Software updates; reinstall the engine on the host to pick it up. |
| Can run | - | Lists the test types this engine can execute, for example SystemTesting testcases, which need the engine running on a logged-on interactive desktop, plus any LoadGen Orchestrate abilities it reports. |
| State | - | Online means the engine is enrolled and reachable; Busy means it is currently running a test; Offline means it has stopped reporting heartbeats. These three values match the KPI cards above the table. |
| Heartbeat | - | How long ago the engine last checked in; it updates automatically while the page is open. Hover over it to see the exact timestamp. |
| Actions | - | Row-level buttons, Edit, Rotate key and Remove, for managing that specific engine; they stay visible on the right as you scroll a wide table. |
Controls reference
Refresh
Reloads the engine list and KPI counts from the server.
When to use: After enrolling, removing or editing an engine elsewhere, or when you suspect the table is stale.
Side effects: Read-only; it does not change any data.
Create enrollment token
Opens a dialog to generate a new enrollment token, specifying a Name, Expires in (hours), Engines it may enroll and default Tags given to every engine it enrolls.
When to use: Before installing FunctionalEngine.exe on a new Windows host, or when enrolling a batch of hosts.
Side effects: Mutating: creates a token record. The resulting Token secret and Enroll command are shown once and cannot be retrieved again afterward.
Software updates
Navigates to the appliance's software updates area where the current FunctionalEngine build is published.
When to use: Before enrolling a new host, to download the installer matching the archive's build.
Side effects: Read-only navigation; leaves this page.
Help
Opens the documentation for this page.
When to use: When you need more detail on enrolling or managing engines.
Side effects: Read-only.
Edit
Opens a dialog to change an engine's Tags and Desired state.
When to use: To re-tag an engine for filtering, or to move it to a different desired state.
Side effects: Mutating: saves changes to that engine; a confirmation message confirms the save.
Rotate key
Generates a new key for the engine, shown once.
When to use: When an engine's existing key may have been exposed, or as routine credential hygiene.
Side effects: Mutating: the old key stops working, so the host's FunctionalEngine.exe must be updated with the new key before it can check in again.
Remove
Removes the engine from the list.
When to use: When a host is retired or no longer used for functional testing.
Side effects: Mutating: the engine disappears from the table and the Enrolled count drops; the host would need to enroll again with a new token to return.
Revoke
Invalidates an enrollment token.
When to use: When a token is no longer needed, was shared too widely, or you want to stop further enrollments under it.
Side effects: Mutating: the token can no longer enroll new engines; engines already enrolled with it are unaffected.
Verify the result
After you create an enrollment token and run its enroll command on a Windows host, that host appears as a new row in the engine table with its Engine name, OS and Build filled in, and its State reads Online. The Enrolled and Online KPI cards increase from 0 to reflect it, and the Heartbeat column shows a recent timestamp that keeps updating. If enrollment did not succeed, the table still shows "No engine is enrolled yet" after clicking Refresh, and the KPI cards remain at 0; check that the token had not expired or reached its enrollment limit.
Troubleshooting
- Symptom: You ran the enroll command but no engine appears in the table. Fix: Click Refresh, and confirm the token had not already expired (Expires in (hours) is 1-720) or reached its Engines it may enroll limit.
- Symptom: An engine's State stays Offline even though the host is running. Fix: Check the Heartbeat column; the host must keep reporting in, so verify FunctionalEngine.exe is still running and the host has network access.
- Symptom: The Enrollment tokens section shows "Couldn't load the enrollment tokens." Fix: Your role can read engines but not tokens; ask an admin with the right permissions to create or revoke tokens for you.
- Symptom: Creating a token fails with "The token must expire in 1-720 hours." Fix: Set Expires in (hours) to a value in that range.
- Symptom: The Build column flags a newer engine build but the engine keeps reporting the old one. Fix: Reinstall FunctionalEngine.exe from Software updates on that host; the engine only picks up the new build after reinstalling and reporting its next heartbeat.
- Symptom: You closed the token dialog and now need the Token secret or Enroll command again. Fix: Both are shown only once; revoke the token and create a new one instead.
Related articles
- Prerequisite: Platform: Appliance - the FunctionalEngine installer engines update to is downloaded from the appliance's software updates
- Next step: Functional Testing: Schedules - schedules route functional test runs to the engines you enroll here
- Next step: Functional Testing: Run history - runs that enrolled engines claim and execute are recorded here
- See also: Functional Testing: Functional Testing dashboard - gives an overview of functional testing activity across packages, schedules and engines