本站支持搜索的镜像仓库:Docker Hub、gcr.io、ghcr.io、quay.io、k8s.gcr.io、registry.gcr.io、elastic.co、mcr.microsoft.com

Testkube SoapUI Executor是Testkube的测试执行器模块,用于在Kubernetes集群中运行SoapUI测试。它允许用户将SoapUI项目文件作为输入,创建Testkube测试资源,并执行这些测试,集成Testkube的测试管理和监控功能。
适用于需要在Kubernetes环境中自动化和管理SoapUI功能测试的团队,特别是已使用Testkube进行测试管理的用户,可无缝集成SoapUI测试到现有测试流程中。
要在Testkube集群中运行SoapUI测试,需先将执行器作为Custom Resource导入。克隆仓库后执行以下命令:
$ 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执行器接受项目文件作为输入:
$ 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 🥇
通过管道传递文件内容创建测试:
$ 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 🥇
创建测试后,使用以下命令运行:
$ 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参数传递这些参数。例如:
$ 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标签)。
请关注主Testkube仓库,通过issues或discussions报告问题或参与讨论。
免费版仅支持 Docker Hub 加速,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
免费版仅支持 docker.io;专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录方式配置轩辕镜像加速服务,包含7个详细步骤
在 Linux 系统上配置轩辕镜像源,支持主流发行版
在 Docker Desktop 中配置轩辕镜像加速,适用于桌面系统
在 Docker Compose 中使用轩辕镜像加速,支持容器编排
在 k8s 中配置 containerd 使用轩辕镜像加速
在宝塔面板中配置轩辕镜像加速,提升服务器管理效率
在 Synology 群晖NAS系统中配置轩辕镜像加速
在飞牛fnOS系统中配置轩辕镜像加速
在极空间NAS中配置轩辕镜像加速
在爱快ikuai系统中配置轩辕镜像加速
在绿联NAS系统中配置轩辕镜像加速
在威联通NAS系统中配置轩辕镜像加速
在 Podman 中配置轩辕镜像加速,支持多系统
配置轩辕镜像加速9大主流镜像仓库,包含详细配置步骤
无需登录即可使用轩辕镜像加速服务,更加便捷高效
需要其他帮助?请查看我们的 常见问题 或 官方QQ群: 13763429