Skip to main content

Employee Smoke Testing

Summary

Source evidence includes a broad monolith verification script and request definitions for Employee Service; it does not provide a dedicated automated Employee cutover smoke suite.

Audience

  • QA engineers, developers, DevOps engineers, and support engineers

Prerequisites

  • Approved isolated environment
  • Synthetic tenants, identities, and employee values
  • Confirmed route ownership and expected identifier family
  • Authorization to create disposable test records

Steps

  1. Record whether requests target current monolith compatibility, extracted compatibility, or direct Employee Service routes.
  2. Verify health separately from authenticated business behavior.
  3. Create a synthetic employee and verify the returned identifier and linked session behavior appropriate to the target.
  4. List/get the record within the same tenant and verify cross-tenant isolation using approved test identities.
  5. Exercise a safe update and organization lookup.
  6. Validate expected forbidden, unauthenticated, missing-tenant, validation, and not-found categories.
  7. If testing cutover, compare response fields, identifier types, and UI behavior before routing approval.
  8. Collect timestamps, route source, status category, correlation identifier, and sanitized assertions.

Validation or Expected Result

The existing verification script confirms monolith creation, user-to-employee mapping, self-only visibility, tenant isolation, entitlement blocking, and downstream payroll-oriented behavior. Employee Service request definitions cover direct/compatibility calls but are not a self-validating test runner.

Troubleshooting

Do not reuse production data or embedded credentials. Separate identity/tenant, route ownership, identifier incompatibility, validation, persistence, and gateway failures. Escalate sanitized evidence when expected behavior differs.

Source References

  • scripts/verify-hr-suite.ps1
  • microservices/src/employee-service/employee-service.http
  • microservices/src/employee-service/Api/EmployeeDirectEndpoints.cs
  • microservices/src/employee-service/Api/EmployeeCompatibilityEndpoints.cs

See Also

Keywords

  • Employee smoke test
  • tenant isolation test
  • cutover parity

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly