Welcome to mAi™ Framework

Intelligent Test Automation with Multi-Audience Guidance

Welcome to the mAi™ Automation Framework documentation. This comprehensive guide will help you understand, set up, and effectively use the framework for automated testing.

Quick Start

New to the framework? Start here:

Documentation Sections

Core Documentation

DocumentDescription
Framework OverviewArchitecture, features, and components
Setup InstructionsInstallation and configuration guide
Test DevelopmentWriting tests with best practices
Test ExecutionRunning tests and generating reports
mAi Advisor™Intelligent recommendation system
HTTP AssessmentSecurity auditing and analysis
Network DiagnosticsPing, traceroute, and speed tests

Architecture Diagrams

DiagramDescription
Architecture OverviewFramework component relationships
Maven to Test CaseTest execution flow
Test Assets ScannerTest discovery process
Data CollectionTest data pipeline
BigQuery IntegrationCloud data upload
Advisor FlowmAi Advisor recommendation process
HTTP Audit PipelineSecurity assessment workflow

Role-Based Guides

GuideDescription
Complete Reading GuideLinear path through all documentation
Test Writer's GuideQA Engineers, SDET focus
DevOps GuideCI/CD integration and cloud setup
Framework Maintainer's GuideArchitecture and extension points

Framework Features ?

🎯 Key Capabilities

🏗️ Architecture Highlights

Advanced Capabilities NEW

🧠 mAi Advisor™ Intelligent Guidance System ?
  • Multi-Audience Recommendations: Specialized guidance for 6 audience types (Developer, DevOps, QA, Security, PM, Executive)
  • 16+ JSON-Based Templates: Covering Security, Performance, Compliance, and Infrastructure categories
  • Framework-Specific Solutions: Code examples for Spring Boot, Express.js, Nginx, Apache, ASP.NET
  • Two-Tier Knowledge Model: Understanding tier (all audiences) + Action tier (implementers only)
  • Automated Finding Analysis: HTTP audit findings automatically mapped to relevant recommendations

Template Categories:

  • Security (8 templates): SSL, CSP, HSTS, Cookie Security, HTTPS, Permissions Policy, Referrer Policy, X-Frame-Options
  • Performance (3 templates): Compression, Caching, Response Time
  • Compliance (2 templates): GDPR, PCI-DSS
  • Infrastructure (2 templates): Server Config, DNS
🔒 HTTP Security Assessment ?
  • Automated Security Audits: Validates 12+ security headers and SSL/TLS configuration
  • Performance Analysis: Response time, compression, and caching metrics
  • Compliance Validation: GDPR cookie consent, PCI-DSS header requirements
  • 18 Report Configurations: 3 depths × 6 audiences for role-specific output
  • Comprehensive Reporting: HTML diagnostic reports with color-coded findings
  • Framework Detection: Identifies Spring Boot, ASP.NET, Express, Laravel, and more
  • Test Suite Integration: TS_HttpAssessment_JUnit for automated security testing
🌐 Network Diagnostics ?
  • Ping Testing: Connectivity validation with packet loss and latency metrics
  • Traceroute Analysis: Hop-by-hop network path mapping with response times
  • Speed Testing: Upload/download bandwidth measurement for performance baselining
  • Network Details Collection: Comprehensive system and network configuration capture
  • Test Suite Integration: TS_Network_JUnit for automated network validation

Common Commands

Run all tests
mvn verify
Run specific test
mvn test -Dtest=TestClassName
Run HTTP audit
mvn test -Dtest=TS_HttpAssessment_JUnit
Run network tests
mvn test -Dtest=TS_Network_JUnit
Generate Allure report
allure open
Create JavaDocs
mvn site
Clean artifacts
mvn clean

Getting Started

Ready to begin? Follow these steps:

  1. Install Prerequisites - Follow the Setup Guide
  2. Understand the Architecture - Review the Framework Overview
  3. Write Your First Test - Check out Test Development
  4. Run Tests - Learn about Test Execution
  5. Explore Advanced Features - Try HTTP Audits and mAi Advisor™ recommendations

Getting Help

Having issues? Check these resources:

IssueResource
Installation problemsSetup Troubleshooting
Test execution errorsExecution Issues
Understanding architectureFramework Overview
API referenceJavaDocs (run mvn site first)