Imposter name detail page title
Problem
HTTP Imposter detail pages (/imposters/{port}) only displayed generic titles like "http Imposter on port 5034". This made it difficult for users to immediately identify which service/API was running on that port.
Solution
Enhanced the imposter detail page to display the imposter's name field in the title when available, providing better service identification.
Results
- With name: "E-Commerce API - http Imposter on port 5034"
- Without name: "http Imposter on port 5034" (unchanged behavior)
Benefits
- Improved User Experience: Service identity is immediately clear
- Backward Compatibility: Existing imposters without names are unaffected
Test Examples
Named imposter
{
"name": "User Management API",
"port": 3000,
"protocol": "http"
}
Result: "User Management API - http Imposter on port 3000"
Unnamed imposter (existing behavior)
{
"port": 4000,
"protocol": "http"
}
Result: "http Imposter on port 4000" (no change)
This enhancement is particularly valuable for teams running multiple imposters simultaneously!
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code