{
  "test_suite": "PlotX Enterprise API",
  "base_url": "http://localhost:8888",
  "timestamp": "2025-09-19T10:45:56.845691",
  "summary": {
    "total_tests": 10,
    "passed_tests": 3,
    "failed_tests": 7,
    "success_rate": 30.0
  },
  "results": [
    {
      "test_name": "health_check",
      "success": true,
      "status_code": 200,
      "response_time": 0.0009291172027587891,
      "error_message": null,
      "assertions": [
        "\u2713 Status code 200 as expected",
        "\u2713 Field 'status' present",
        "\u2713 Field 'timestamp' present",
        "\u2713 Field 'version' present",
        "\u2713 Custom validation passed"
      ]
    },
    {
      "test_name": "metrics_check",
      "success": true,
      "status_code": 200,
      "response_time": 0.0011479854583740234,
      "error_message": null,
      "assertions": [
        "\u2713 Status code 200 as expected",
        "\u2713 Field 'cpu_usage' present",
        "\u2713 Field 'memory_usage' present",
        "\u2713 Field 'active_sessions' present",
        "\u2713 Custom validation passed"
      ]
    },
    {
      "test_name": "login_valid",
      "success": false,
      "status_code": 401,
      "response_time": 0.0008869171142578125,
      "error_message": null,
      "assertions": [
        "Expected status 200, got 401",
        "\u2717 Missing expected field: token",
        "\u2717 Missing expected field: user_id",
        "\u2717 Missing expected field: roles"
      ]
    },
    {
      "test_name": "login_invalid",
      "success": true,
      "status_code": 401,
      "response_time": 0.0007669925689697266,
      "error_message": null,
      "assertions": [
        "\u2713 Status code 401 as expected"
      ]
    },
    {
      "test_name": "create_executive_dashboard",
      "success": false,
      "status_code": 401,
      "response_time": 0.0007739067077636719,
      "error_message": null,
      "assertions": [
        "Expected status 200, got 401",
        "\u2717 Missing expected field: id",
        "\u2717 Missing expected field: title",
        "\u2717 Missing expected field: type",
        "\u2717 Missing expected field: security_level"
      ]
    },
    {
      "test_name": "create_financial_chart",
      "success": false,
      "status_code": 401,
      "response_time": 0.0009088516235351562,
      "error_message": null,
      "assertions": [
        "Expected status 200, got 401",
        "\u2717 Missing expected field: id",
        "\u2717 Missing expected field: title",
        "\u2717 Missing expected field: type"
      ]
    },
    {
      "test_name": "create_compliance_chart",
      "success": false,
      "status_code": 401,
      "response_time": 0.0007619857788085938,
      "error_message": null,
      "assertions": [
        "Expected status 200, got 401",
        "\u2717 Missing expected field: id",
        "\u2717 Missing expected field: title",
        "\u2717 Missing expected field: audit_trail_count"
      ]
    },
    {
      "test_name": "list_charts",
      "success": false,
      "status_code": 401,
      "response_time": 0.0007648468017578125,
      "error_message": null,
      "assertions": [
        "Expected status 200, got 401",
        "\u2717 Missing expected field: charts"
      ]
    },
    {
      "test_name": "list_users_unauthorized",
      "success": false,
      "status_code": 401,
      "response_time": 0.0006830692291259766,
      "error_message": null,
      "assertions": [
        "Expected status 403, got 401"
      ]
    },
    {
      "test_name": "create_chart_invalid_type",
      "success": false,
      "status_code": 401,
      "response_time": 0.0007281303405761719,
      "error_message": null,
      "assertions": [
        "Expected status 400, got 401"
      ]
    }
  ]
}