convertbrowserharcapturesintoreusablek6loadtestswithhar-to-k6
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "convertbrowserharcapturesintoreusablek6loadtestswithhar-to-k6" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a796e374fe85bec6ca5d23cea28454b06b60a74c893c001e310635767a05efe3. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/convert-browser-har-captures-into-reusable-k6-load-tests-with-har-to-k6 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
When an agent has recorded browser traffic and needs to convert it into repeatable k6 scripts, use har-to-k6 to turn captured sessions into initial load-test artifacts with validation and export capabilities.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Convert browser HAR captures into reusable k6 load tests with har-to-k6"
slug: "convert-browser-har-captures-into-reusable-k6-load-tests-with-har-to-k6"
version: "1.0.0"
displayName: "Convert browser HAR captures into reusable k6 load tests with har-to-k6"
summary: "当代理已记录浏览器流量并需要将其转换为可重复的 k6 脚本而非从头手工编写时,请使用 har-to-k6。该技能是关于将捕获的会话转换为带有验证和导出功能的初始负载测试构件,而不是列出 k6 或 Grafana 作为产品。"
license: "MIT"
description: "当代理已记录浏览器流量并需要将其转换为可重复的 k6 脚本而非从头手工编写时,请使用 har-to-k6。该技能是关于将捕获的会话转换为带有验证和导出功能的初始负载测试构件,而不是列出 k6 或 Grafana 作为产品。"
github_stars: 159
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Templates & Workflows"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 159
npm_package: "har-to-k6"
npm_weekly_downloads: 13471使用 har-to-k6 将浏览器 HAR 捕获转换为可重用的 k6 负载测试
当代理已记录浏览器流量并需要将其转换为可重复的 k6 脚本而非从头手工编写时,请使用 har-to-k6。该技能是关于将捕获的会话转换为带有验证和导出功能的初始负载测试构件,而不是列出 k6 或 Grafana 作为产品。
先决条件
Node.js 或 Docker、HAR 或 LI-HAR 捕获文件,以及用于运行生成脚本的 k6
安装
使用与您的环境匹配的上游安装或设置路径:
- $ npm install --save har-to-k6
- $ npm install --global har-to-k6
- $ docker pull grafana/har-to-k6:latest
- $ npx har-to-k6 archive.har -o my-k6-script.js
来自上游的要求和注意事项:
- Docker
- 注意这将要求您使用 npx har-to-k6 your-har-file 运行转换器,或者,
基本用法或入门说明:
-
Extracted from upstream docs: https://raw.githubusercontent.com/grafana/har-to-k6/HEAD/README.md
文档
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决性能测试工程师从浏览器录制到自动化测试的刚需场景
- 提供明确的端到端转换流程,实用价值高
Highlights
- 触发词清晰,明确描述使用场景和目标用户
- 边界定义明确,不易与其他 Skill 重叠
Highlights
- 文档结构完整,包含先决条件、安装、用法等关键章节
- frontmatter 完整,提供端到端示例,便于用户快速上手
Areas to improve
-
异常处理未覆盖 Reported severity: Minor
未显式处理 HAR 文件格式错误、网络请求失败等异常场景,也未提及不可逆操作的确认机制
Recommendation: 建议在文档中补充常见异常处理说明,如 HAR 文件格式校验、转换失败回退机制等
Highlights
- 工具来源明确,提供多种安装路径(npm、Docker、npx)
- 参数使用正确,覆盖主要使用场景
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 34, 35, 37, 42
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- img.shields.io
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.