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
- Record whether requests target current monolith compatibility, extracted compatibility, or direct Employee Service routes.
- Verify health separately from authenticated business behavior.
- Create a synthetic employee and verify the returned identifier and linked session behavior appropriate to the target.
- List/get the record within the same tenant and verify cross-tenant isolation using approved test identities.
- Exercise a safe update and organization lookup.
- Validate expected forbidden, unauthenticated, missing-tenant, validation, and not-found categories.
- If testing cutover, compare response fields, identifier types, and UI behavior before routing approval.
- 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.ps1microservices/src/employee-service/employee-service.httpmicroservices/src/employee-service/Api/EmployeeDirectEndpoints.csmicroservices/src/employee-service/Api/EmployeeCompatibilityEndpoints.cs
Related Articles
See Also
Keywords
- Employee smoke test
- tenant isolation test
- cutover parity
Revision Information
- Status: Draft
- Last reviewed: 2026-07-15
- Review cycle: Quarterly