简体   繁体   English

使用 docker 在分布式模式下运行 karate-gatling 测试

[英]Running karate-gatling tests in distributed mode using docker

I am somewhat new to using docker and the author mentioned that it is possible to run karate-gatling tests using docker for running distributed tests: https://github.com/intuit/karate/wiki/Distributed-Testing#gatling Can anyone provide me an example that I can use to do this or direct me to github repo if someone already tried this?我对使用 docker 有点陌生,作者提到可以使用 docker 运行空手道加特林测试来运行分布式测试: https/provided github-testing#gaitling/anyonedwikiTest如果有人已经尝试过,我可以使用一个示例来执行此操作,或者将我定向到 github 存储库? The karate author provided a nice example to run web ui tests using docker so I am looking for something similar to this:https://github.com/intuit/karate/tree/master/examples/jobserver空手道作者提供了一个很好的例子来运行 web ui 测试使用 docker 所以我正在寻找类似的东西:https//////////

This is actually part of the examples/gatling sample project, and look at the GatlingDockerJobRunner unit test.这实际上是 示例/gatling示例项目的一部分,请查看GatlingDockerJobRunner单元测试。

I will edit the wiki to make this more clear.我将编辑 wiki 以使其更加清晰。 Yes, this may not be the best example, please please try it out and we will be happy to incorporate any changes you suggest.是的,这可能不是最好的例子,请尝试一下,我们很乐意采纳您建议的任何更改。

EDIT: more info at this ticket: https://github.com/intuit/karate/issues/1220编辑:这张票的更多信息: https://github.com/intuit/karate/issues/1220

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM