
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Testkube SoapUI Executor是Testkube的测试执行器模块,用于在Kubernetes集群中运行SoapUI测试。它允许用户将SoapUI项目文件作为输入,创建Testkube测试资源,并执行这些测试,集成Testkube的测试管理和监控功能。
适用于需要在Kubernetes环境中自动化和管理SoapUI功能测试的团队,特别是已使用Testkube进行测试管理的用户,可无缝集成SoapUI测试到现有测试流程中。
要在Testkube集群中运行SoapUI测试,需先将执行器作为Custom Resource导入。克隆仓库后执行以下命令:
bash$ kubectl testkube create executor --image kubeshop/testkube-executor-soapui:latest --types "soapui/xml" --name soapui-executor ████████ ███████ ███████ ████████ ██ ██ ██ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██████ █████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ███████ ██ ██ ██ ██████ ██████ ███████ /tɛst kjub/ by Kubeshop Executor created soapui-executor 🥇
创建Testkube Test是运行SoapUI测试的前提,支持以下输入方式:
使用文件作为输入
Testkube和SoapUI执行器接受项目文件作为输入:
bash$ kubectl testkube create test --file REST-Project-1-soapui-project.xml --type soapui/xml --name example-test ████████ ███████ ███████ ████████ ██ ██ ██ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██████ █████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ███████ ██ ██ ██ ██████ ██████ ███████ /tɛst kjub/ by Kubeshop Test created / example-test 🥇
使用字符串作为输入
通过管道传递文件内容创建测试:
bash$ cat REST-Project-1-soapui-project.xml | kubectl testkube create test --type soapui/xml --name example-test-string ████████ ███████ ███████ ████████ ██ ██ ██ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██████ █████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ███████ ██ ██ ██ ██████ ██████ ███████ /tɛst kjub/ by Kubeshop Test created / example-test-string 🥇
创建测试后,使用以下命令运行:
bash$ kubectl testkube run test example-test ████████ ███████ ███████ ████████ ██ ██ ██ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██████ █████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ███████ ██ ██ ██ ██████ ██████ ███████ /tɛst kjub/ by Kubeshop Type : soapui/xml Name : example-test Execution ID : 624eedd443ed8485ae9289e2 Execution name: illegally-credible-mouse Test execution started Watch test execution until complete: $ kubectl testkube watch execution 624eedd443ed8485ae9289e2 Use following command to get test execution details: $ kubectl testkube get execution 624eedd443ed8485ae9289e2
SoapUI支持通过命令行参数配置测试运行,Testkube中可使用--args参数传递这些参数。例如:
bash$ kubectl testkube start test -f example-test --args '-I -c "TestCase 1"' ████████ ███████ ███████ ████████ ██ ██ ██ ██ ██████ ███████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██████ █████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ███████ ██ ██ ██ ██████ ██████ ███████ /tɛst kjub/ by Kubeshop Type : soapui/xml Name : successful-test Execution ID : 625404e5a4cc6d2861193c60 Execution name: currently-amused-pug Getting pod logs Execution completed ================================ = = SOAPUI_HOME = /usr/local/SmartBear/SoapUI-5.7.0 = ================================ SoapUI 5.7.0 TestCase Runner 10:37:37,713 INFO [DefaultSoapUICore] Creating new settings at [/root/soapui-settings.xml] 10:37:43,567 INFO [PluginManager] 0 plugins loaded in 36 ms 10:37:43,570 INFO [DefaultSoapUICore] All plugins loaded 10:37:50,774 INFO [WsdlProject] Loaded project from [file:/tmp/test-content359342991] 10:37:50,834 INFO [SoapUITestCaseRunner] Running SoapUI tests in project [REST Project 2] 10:37:50,838 INFO [SoapUITestCaseRunner] Running TestCase [TestCase 1] 10:37:50,876 INFO [SoapUITestCaseRunner] Running SoapUI testcase [TestCase 1] 10:37:50,901 INFO [SoapUITestCaseRunner] running step [1 - Request 1] 10:37:54,180 INFO [SoapUITestCaseRunner] Assertion [Valid HTTP Status Codes] has status VALID 10:37:54,193 INFO [SoapUITestCaseRunner] Assertion [Contains] has status VALID 10:37:54,257 INFO [SoapUITestCaseRunner] Finished running SoapUI testcase [TestCase 1], time taken: 990ms, status: FINISHED 10:37:54,315 INFO [SoapUITestCaseRunner] TestCase [TestCase 1] finished with status [FINISHED] in 990ms . Use following command to get test execution details: $ kubectl testkube get execution 625404e5a4cc6d2861193c60
建议使用-I参数以获得更清晰的结果。
目前Testkube不支持SoapUI文档中描述的报告、插件和扩展功能。如需此功能,请在Testkube仓库创建issue。
Testkube Executor SoapUI实现了Testkube执行器OpenAPI(查看executor标签)。
请关注主https://github.com/kubeshop/testkube%EF%BC%8C%E9%80%9A%E8%BF%87https://github.com/kubeshop/testkube/issues%E6%88%96https://github.com/kubeshop/testkube/discussions%E6%8A%A5%E5%91%8A%E9%97%AE%E9%A2%98%E6%88%96%E5%8F%82%E4%B8%8E%E8%AE%A8%E8%AE%BA%E3%80%82
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。




来自真实用户的反馈,见证轩辕镜像的优质服务