
kubeshop/testkube-artillery-executor!Testkube Logo
TestKube Artillery Executor是TestKube的测试执行器,用于在集群中对运行的应用程序执行负载和性能测试。它基于Artillery性能测试工具构建,提供简单易用的方式来确保应用在高负载下保持高性能和弹性。
执行器是包装在Docker容器中的程序,它接收基于OpenAPI的JSON文档(testube.Execution)作为输入,并返回JSON输出行流(testkube.ExecutorOutput),每行输出都封装在JSON中,类似于结构化日志的理念。
Artillery是一款现代、强大且易用的性能测试工具包,用于构建在高负载下仍能保持高性能和弹性的可扩展应用。其核心特点包括:
适用于需要在Kubernetes集群中对应用程序进行负载和性能测试的场景,特别是当团队使用TestKube进行测试管理时,可无缝集成到现有测试流程中,实现自动化性能测试。
创建执行器配置文件(例如artillery-executor.yaml):
yamlapiVersion: executor.testkube.io/v1 kind: Executor metadata: name: artillery-executor namespace: testkube spec: image: kubeshop/testkube-executor-artillery:latest types: - artillery/test
应用配置:
bashkubectl apply -f artillery-executor.yaml
bashkubectl testkube create test \ --git-uri [***] \ --git-branch main \ --git-path examples/test.yaml \ --name artillery-example-test \ --test-content-type git-file \ --type artillery/test
bashkubectl testkube run test artillery-example-test -f
bashkubectl-testkube download artifacts [测试执行ID] --download-dir [目标目录]
有关问题报告或功能增强,请关注主TestKube仓库,通过issues或discussions进行反馈。
更多信息请访问TestKube主仓库
!Release 



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务