magic-building/logs/test-api-20250915_010051.log

1.6 KiB
Raw Permalink Blame History

⚠️ 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