1.6 KiB
1.6 KiB
⚠️ jq not found - JSON response parsing will be limited
ℹ️ 🚀 Starting Magic Building API Test Suite
ℹ️ Server URL: http://localhost:3000
ℹ️ Test log: ./logs/test-api-20250915_010051.log
ℹ️ Testing health check endpoint...
❌ Health check failed (HTTP 000)
ℹ️ Testing API info endpoint...
❌ API info endpoint failed (HTTP 000)
ℹ️ Testing text-to-image generation...
❌ Text-to-image generation failed (HTTP 000)
2025-09-15 01:00:51 - Error response:
ℹ️ Testing validation error handling...
❌ Missing prompt validation failed (HTTP 000)
❌ Missing filename validation failed (HTTP 000)
⚠️ Filename sanitization test had unexpected result (HTTP 000)
ℹ️ Testing 404 error handling...
❌ 404 error handling failed (HTTP 000)
ℹ️ Creating test reference image...
⚠️ ImageMagick not available, skipping reference image test
ℹ️ Testing concurrent requests (performance test)...
2025-09-15 01:00:51 - Concurrent request 1 failed (HTTP 000)
2025-09-15 01:00:51 - Concurrent request 3 failed (HTTP 000)
2025-09-15 01:00:51 - Concurrent request 2 failed (HTTP 000)
✅ Concurrent requests test completed
ℹ️ 📊 Test Results Summary
✅ Passed: 3/6 tests
⚠️ ⚠️ Some tests failed. Check the logs for details.
ℹ️ Generated images are in: src/results/
ℹ️ Test logs saved to: ./logs/test-api-20250915_010051.log
ℹ️ 🚀 Starting Magic Building API Test Suite
ℹ️ Server URL: http://localhost:3000
ℹ️ Test log: ./logs/test-api-20250915_010051.log
ℹ️ Testing health check endpoint...
❌ Health check failed (HTTP 000)
ℹ️ Testing API info endpoint...
❌ API info endpoint failed (HTTP 000)
ℹ️ Testing text-to-image generation...
❌ Text-to-image generation failed (HTTP 000)
2025-09-15 01:00:51 - Error response:
ℹ️ Testing validation error handling...
❌ Missing prompt validation failed (HTTP 000)
❌ Missing filename validation failed (HTTP 000)
⚠️ Filename sanitization test had unexpected result (HTTP 000)
ℹ️ Testing 404 error handling...
❌ 404 error handling failed (HTTP 000)
ℹ️ Creating test reference image...
⚠️ ImageMagick not available, skipping reference image test
ℹ️ Testing concurrent requests (performance test)...
2025-09-15 01:00:51 - Concurrent request 1 failed (HTTP 000)
2025-09-15 01:00:51 - Concurrent request 3 failed (HTTP 000)
2025-09-15 01:00:51 - Concurrent request 2 failed (HTTP 000)
✅ Concurrent requests test completed
ℹ️ 📊 Test Results Summary
✅ Passed: 3/6 tests
⚠️ ⚠️ Some tests failed. Check the logs for details.
ℹ️ Generated images are in: src/results/
ℹ️ Test logs saved to: ./logs/test-api-20250915_010051.log