🚀 Starting RepoRev API Test Suite Base URL: http://localhost:8080 ================================================== 📋 Testing System Endpoints ------------------------------ ❌ FAIL: /health - CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ FAIL: /health - Health check failed ❌ FAIL: /api - CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ FAIL: /api - API info failed 🔐 Testing Authentication Flow ------------------------------ ❌ FAIL: /api/v1/auth/login - CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ FAIL: POST /api/v1/auth/login - Should reject invalid credentials with 401 ❌ FAIL: /api/v1/auth/register - CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ FAIL: POST /api/v1/auth/register - Registration failed 👤 Testing User Management ------------------------------ ❌ FAIL: User Management - No authentication token available 🏢 Testing Company Management ------------------------------ ❌ FAIL: Company Management - No authentication token available 📊 Testing Report Management ------------------------------ ❌ FAIL: Report Management - No authentication token available ⚙️ Testing Admin Endpoints ------------------------------ ❌ FAIL: Admin Endpoints - No authentication token available ================================================== 📊 TEST SUMMARY ================================================== ✅ Passed: 0/4 ❌ Failed: 12/4 📈 Success Rate: 0% ❌ FAILED TESTS: ------------------------------ ❌ /health: CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ /health: Health check failed ❌ /api: CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ /api: API info failed ❌ /api/v1/auth/login: CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ POST /api/v1/auth/login: Should reject invalid credentials with 401 ❌ /api/v1/auth/register: CURL Error: Failed to connect to localhost port 8080 after 0 ms: Connection refused ❌ POST /api/v1/auth/register: Registration failed ❌ User Management: No authentication token available ❌ Company Management: No authentication token available ❌ Report Management: No authentication token available ❌ Admin Endpoints: No authentication token available 🎉 Test completed!