Converts HAR and LI-HAR files into executable k6 load testing scripts.
har-to-k6 is a conversion tool that transforms HTTP Archive (HAR) and Load Impact HAR (LI-HAR) files into executable k6 load testing scripts. It solves the problem of manually recreating browser-recorded network sessions for performance testing by automating script generation.
Performance engineers, DevOps teams, and developers using k6 for load testing who need to convert real user sessions or browser recordings into automated test scripts.
Developers choose har-to-k6 for its accuracy in converting complex network interactions, multiple integration options (CLI, API, browser), and official support from the Grafana/k6 ecosystem.
JSON config representation of k6 script
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports CLI, programmatic Node.js API, and browser execution, as detailed in the Usage section, allowing flexibility for different workflows.
Includes a validate() function to check input archives against specifications, reducing conversion errors and ensuring compliance.
Offers a Docker image for isolated, reproducible conversions, making it easy to integrate into containerized environments like CI/CD.
Prioritizes faithfulness to original network interactions per its philosophy, ensuring reliable script generation for k6.
Only converts to k6 scripts, so it's unsuitable for teams using other load testing tools, locking users into the k6 ecosystem.
Requires pre-recorded HAR or LI-HAR files, adding an extra step and potential complexity for capturing sessions in dynamic applications.
May not fully handle advanced web interactions like client-side rendering or dynamic content, as HAR files often miss such nuances.