Install and configure Zeta Test Management Web¶
Zeta Test Management Web provides browser access to centrally managed test projects. The current application is based on ASP.NET Core and .NET 10. The web interface and Windows application use the same projects and cover the domain tasks in test management. Local operating-system functions use browser-adapted workflows or an approved Local Bridge.
For a central production deployment, use the IIS package zetatest-web.zip. The separate web EXE setup starts a local demo or single-user instance with Kestrel; it is not a replacement for a secured IIS installation.
This guide covers deployment choice, IIS and HTTPS, least-privilege permissions, configuration, updates, verification and rollback.
Choose the deployment model and prepare¶
Deployment options¶
- Local demo or single-user instance: the web EXE setup starts the bundled application locally through Kestrel. Use it for evaluation or an individual Windows user, not as the central production server.
- Central IIS deployment: extract
zetatest-web.zipon a Windows Server and run itsWebsitefolder as an IIS application. This is the documented production path. - Reverse proxy: a managed proxy can terminate TLS and publish the application. Validate forwarding, trusted headers, redirects and the complete HTTPS path.
Prerequisites¶
- a Windows Server and IIS combination approved for the intended Zeta Test Management release;
- administrative access for the IIS site, application pool, binding and certificate;
- the matching .NET 10 Hosting Bundle, including ASP.NET Core Module V2;
- a stable DNS name and trusted TLS certificate;
- backed-up project and database storage outside the replaceable website release folder;
- a dedicated technical identity with only the required file and database rights.
Define backup, restore, update window, rollback owner and a representative acceptance project before the first deployment.
Install and configure the IIS application¶
- Install IIS and the .NET 10 Hosting Bundle that matches the release. Restart IIS or the server when the installer requires it.
- Extract
zetatest-web.zipinto a staging folder. The IIS physical path will point to the containedWebsitefolder. - Create a dedicated IIS application pool with “No Managed Code”, disable 32-bit applications, and assign the approved technical identity.
- Create the IIS site or application. Keep the supplied
web.configand itsAspNetCoreModuleV2configuration. - Grant read and execute access to the program folder and only the necessary modify access to approved project, user-storage, attachment and log folders. Grant minimal database rights.
- Create the HTTPS binding for the production DNS name and certificate. HTTP should remain only when an intentional redirect endpoint is required.
- Configure
Config.json,appsettings.jsonand, only when client and server paths differ,foldermappings.json. - Start the application pool and site. Sign in over HTTPS and verify the project list, permissions and one representative test workflow.
Important configuration boundaries¶
Config.json contains classic Zeta Test Management settings such as semicolon-separated projectSearchFolderPaths. appsettings.json controls ASP.NET Core behaviour including HTTPS, cookies, logging, language and web-area controls:
{
"AppSettings": {
"UseHttpsRedirection": true,
"AllowInsecureCookies": false,
"ExperimentalWebAreas": {
"Enabled": true,
"DisabledAreas": []
}
}
}
These values are examples and must match the deployment topology. Treat serviceApiKey and every other key as a secret. Project files, configuration, backups and logs must never be exposed as static website files. IIS URL Rewrite is not a Zeta Test Management prerequisite unless your own redirect or proxy configuration requires it.
Protection against repeated sign-in attempts¶
This protection requires an updated web server build that includes it. Configuration alone cannot add it to older installations.
Password sign-in for server administration and projects limits repeated failures per account and independently per IP address. Five failed attempts are allowed without a delay; the sixth failure starts a two-second wait. Further failures increase it to four, eight seconds and so on, up to five minutes. Successful sign-in clears only the account counter. IP limits remain in place so that a valid account cannot reset them.
During a wait, the form displays a message and returns HTTP 429 with Retry-After. Even a correct password can only be checked again after the wait expires. Accounts are not permanently disabled. Counters expire after 30 minutes without an admitted attempt; rejected requests do not extend the wait. Each IP also permits at most 30 admitted attempts per 60 seconds, with increasing IP delays after the twentieth failure. Consider these shared limits when many users share one public address.
Configure AppSettings.LoginProtection in appsettings.json:
{
"AppSettings": {
"LoginProtection": {
"Enabled": true,
"FreeAttempts": 5,
"IpFreeAttempts": 20,
"BaseDelaySeconds": 2,
"MaxDelaySeconds": 300,
"EntryExpirationMinutes": 30,
"IpPermitLimit": 30,
"IpWindowSeconds": 60,
"MaxEntries": 10000,
"InFlightSeconds": 120
}
}
}
InFlightSeconds limits the reservation for an unfinished password check. Concurrent checks of the same account are rejected; a reservation left by a crashed process is counted as a failed attempt after it expires. MaxEntries limits stored account and IP entries together. Retention must cover the maximum delay, IP window and reservation lifetime. Invalid settings are rejected. Restart the web application after changing configuration.
Counters persist in the LoginProtection subfolder of the private administration data directory. AppSettings.LoginProtectionStateDirectory can override this with an absolute path outside the webroot. All workers of one installation must share the same durable directory and have modification permission. Stored identifiers are derived values, not clear-text usernames or IP addresses. Do not delete this state during updates. If the administration data directory is inside the application directory, configure a separate durable state path before replacing that directory. An unavailable, full or corrupted store returns HTTP 503 rather than allowing an unprotected password check; check disk space, permissions and the server log.
File persistence is intended for workers on the same server. Multiple web servers require an additional shared limit at a trusted upstream service. Behind a reverse proxy, hosting configuration must provide the real client IP through a trusted path. Arbitrary X-Forwarded-For headers are not accepted as proof of identity.
This protection covers the application's browser password forms. Windows-to-web one-time token handoff, an explicitly configured password-free demo and projects without user management do not acquire an extra password prompt. API keys and external identity providers have separate security boundaries. Throttling does not replace HTTPS, strong passwords or protected server access.
Update, verify and roll back¶
Treat every web update as a controlled server change:
- Back up projects, databases, website configuration and required logs. Record the current product version and active website path.
- Extract the new
zetatest-web.zipinto a parallel release folder. - Compare the new default configuration with the current environment. Merge required values deliberately; do not copy old
Config.json,appsettings.json,foldermappings*.jsonorweb.configblindly. - Stop the application pool, switch the IIS physical path to the new
Websitefolder, and restart the pool. - Verify HTTPS, sign-in, project list, roles, file and database access, one typical test run and the intended web workspaces. Review the Windows event log and enabled application logs.
For rollback, stop the pool, restore the previous website path and, when a data migration requires it, the corresponding project and database backup. Keep the previous release folder until the agreed acceptance period has ended.
Regular web areas are enabled by default in version 6. The historically named ExperimentalWebAreas setting can disable individual areas; its name does not imply that all additional workspaces are preview features. AI requires separate configuration and approval.
For browser workflows, continue with Use Zeta Test Management in the web application. For connector and MCP setup, see Integrations and automation.
Schedules in server administration¶
Sign in as a server administrator and open Server administration → Schedules. Choose from these project maintenance tasks:
- Recalculate project updates calculated project values.
- Sync bug tracker status updates the status of linked tickets.
- Sync AD/LDAP runs one selected LDAP configuration already saved in the project.
- Clean up project notifications deletes stored notifications older than 90 days.
Set up your first job¶
- Create a job with a distinct name and select its project and task. For LDAP, also select the saved configuration.
-
Choose an hourly, daily, weekly or monthly schedule and set its time zone. Advanced schedules accept a Cron expression. For example,
0 2 * * *means every day at 02:00 in that time zone.Clock changes follow the schedule’s time zone. In Central Europe, a fixed daily job at 02:30 moves to 03:00 in spring and runs once at the first 02:30 in autumn. An hourly schedule at minute 30 can run in both occurrences of the 02:00 hour. The preview shows the UTC offset.
-
Leave enough time before the first scheduled occurrence, enable and save the job, then start a manual run. Check its final status and the result in the project. If the result is unexpected, pause the job before its next scheduled occurrence.
- Review the run history when a job fails or does not run as expected. If the target project is unavailable, check the project selected in the schedule and whether the server can still find it. The technical dashboard provides read-only diagnostics; use job administration to change or start jobs.
- Optionally enable failure notifications. A notification is triggered after the final failed attempt, following up to two retries. This requires a verified recovery email address for the server administrator and configured SMTP settings. Send a test email from server administration first.
Cancellation is requested cooperatively and takes effect at the next supported cancellation point. Changes already saved may remain. Check both the run status and project state before starting again.
Operation and permissions¶
Job administration and the technical dashboard are restricted to server administrators. Jobs use the server account, which needs access to project files, the database and the relevant external services. Ticket synchronization uses project-level credentials. LDAP uses the selected configuration, including its account deactivation and group membership rules.
The web process must be running for jobs to execute. Kestrel therefore needs a continuously running, monitored service. With IIS, configure application pool startup, idle shutdown and restart behavior to support background processing. IIS acceptance testing is still outstanding; complete it before production use.
Job data and the queue require a durable, writable server data directory. Multiple web servers with separate storage do not form one scheduler instance. Avoid scheduling the same maintenance job in both Windows Task Scheduler and server administration.
Run project maintenance from Windows Task Scheduler¶
For new maintenance jobs, use Schedules in server administration.
Copy the Scheduler folder from the server package to a local folder. Run the following command once under the Windows account that will run the scheduled task:
zetatest-scheduler.exe -recalculate "C:\Projects\Example"
The account needs access to the project folder and its database. Use -bugtracker-sync to refresh linked ticket statuses without a full recalculation. Both commands use the tracker credentials configured in the project and run without an interactive project user.
A failure returns a nonzero exit code. If you use a batch file, return the scheduler's exit code with exit /b %errorlevel% so Windows Task Scheduler can report the failure.
Internal administration database and automatic conversion¶
The web application uses SQLite (ztm.sqlite) for its internal administration data, including server settings, user mappings and AI/CI administration data. Project databases continue to use VistaDB or Microsoft SQL Server; this operation does not convert them.
On the first start with an existing ztm.sdf, the service converts the administration database automatically. Stop all older web/backend processes accessing the same server data directory first. Schedule a maintenance window and back up the complete server data directory, including configuration and keys. Conversion requires additional free space for the backup and the new database.
The service backs up the existing file, copies and verifies the data, and only then activates SQLite. It does not accept normal requests until this succeeds. The SQL Compact source is protected against further writes; do not remove this protection during operation. Keep ztm.sdf, ztm.sdf.pre-sqlite.bak and the activation record ztm.sqlite.activation with the SQLite database. The directory configured through alternativeServerCentralDataStorageFolderPath must exist and be writable; a failure does not fall back to an empty database in another directory.
If conversion fails, startup remains blocked. Check server logs, available space, write permissions and remaining older processes. After correcting the problem, restart the service; it resumes the controlled conversion process automatically. Do not bypass a missing or damaged completed database by deleting conversion records or creating an empty file.
Native SQLite libraries are included in the web package. Use the complete package for the intended architecture rather than copying individual DLLs. SQL Compact libraries are still required to import older administration databases; a separate manual SQLite installation is not intended. The web server still requires Windows; changing this database does not introduce Linux support.
Keep the administration database on a local disk of the web server. Back it up with the service stopped, including companion files and keys. To return to older software, stop the service and restore a consistent backup. Changes saved in SQLite after conversion are not present in the old SQL Compact backup.