如何配置GitLab CI作业来运行与sbt集成的Gatling测试?

问题描述 投票:0回答:2

我应用了sbt插件来使用Gatling,现在我不知道如何在GitLab CI中运行我的方案。

scala continuous-integration gitlab sbt gatling
2个回答
1
投票

最为即插即用的解决方案是使用 前线,我们的企业版。

即使我们没有像Jenkins、Bamboo和TeamCity那样的插件,因为GitLab CI不提供插件API,我们提供了一个shell脚本,实现了FrontLine REST API调用的相同负载。


0
投票

已解决。如何在gitlab管道中运行加特林方案。

image: "hseeberger/scala-sbt:8u252_1.3.10_2.13.2"

stages:
  - testLoad

load:
  stage: testLoad
  when: manual
  script:
    - sbt gatling:test
  artifacts:
    paths:
      - "target/gatling/"
    expire_in: 1 week
    when: always
© www.soinside.com 2019 - 2024. All rights reserved.