Files
marker_api/test_report_20260604_131933.md
T

3.0 KiB

Test Report — marker-api Endpoint Tests

Date: 2026-06-04 13:19:39 API Base: http://10.0.2.145:8000 Test files: /home/oval/Projects/marker-api/test_files/enisa (5 file(s))

Summary

Result Count
Passed 5
Failed 11
⏭️ Skipped 0
Total 16
Pass Rate 31.2%

Test Details

Test Result Time Notes

Application Tests

| app.py syntax valid | PASS | 0.003s | | | use_llm/llm_service params present in app.py | PASS | 0.000s | | | marker-convert.ps1 has all new parameters | PASS | 0.000s | | | README.md documents all endpoints | PASS | 0.000s | | | ENISA test files available | PASS | 0.017s | |

Endpoint Tests (HTTP)

| GET /health returns 200 | FAIL | 0.003s | Cannot reach http://10.0.2.145:8000/health: [Errno 113] No route to host | | GET / returns docs page | FAIL | 0.001s | Cannot reach http://10.0.2.145:8000/: [Errno 113] No route to host | | POST /marker multipart (markdown) | FAIL | 0.000s | Cannot reach http://10.0.2.145:8000/marker: [Errno 113] No route to host | | POST /marker multipart (json) | FAIL | 0.000s | Cannot reach http://10.0.2.145:8000/marker: [Errno 113] No route to host | | POST /marker JSON base64 | FAIL | 0.000s | Cannot reach http://10.0.2.145:8000/marker: [Errno 113] No route to host | | POST /marker with use_llm=true | FAIL | 0.000s | Cannot reach http://10.0.2.145:8000/marker: [Errno 113] No route to host | | POST /marker with page_range | FAIL | 1.034s | Cannot reach http://10.0.2.145:8000/marker: [Errno 113] No route to host | | POST /marker missing file → 400 | FAIL | 1.025s | Cannot reach http://10.0.2.145:8000/marker: [Errno 113] No route to host | | POST /v1/conversions JSON | FAIL | 1.023s | Cannot reach http://10.0.2.145:8000/v1/conversions: [Errno 113] No route to host | | POST /v1/files/convert multipart | FAIL | 1.024s | Cannot reach http://10.0.2.145:8000/v1/files/convert: [Errno 113] No route to host | | POST /v1/files/convert JSON | FAIL | 1.024s | Cannot reach http://10.0.2.145:8000/v1/files/convert: [Errno 113] No route to host |

Environment

  • Python: 3.14.5
  • Platform: linux
  • marker: not installed (Pillow build failure on this platform)

Test Files

  • enisa-international-strategy-2026.pdf (39.7 KB)
  • enisa-nis360-2026.pdf (3983.3 KB)
  • enisa-stakeholder-strategy-2026-2028.pdf (35.3 KB)
  • nis-investments-2025.pdf (3118.9 KB)
  • nis2-technical-implementation-guidance.pdf (4699.7 KB)

Notes

  • HTTP endpoint tests require a running marker-api instance.
  • API-level tests were run against http://10.0.2.145:8000
  • Offline validation tests (syntax, parameter availability, docs) ran regardless.
  • The marker library could not be installed due to Pillow build failure in this sandbox.
  • For live endpoint testing, start the API with: python app.py (requires marker-pdf[full] + flask).
  • Failed tests may indicate missing marker library or API connectivity issues.