【问题标题】:Load tests without rebuilding the whole project加载测试而不重建整个项目
【发布时间】:2018-08-14 07:49:04
【问题描述】:

我想运行我的 gatling 测试,而不必重新构建整个项目。

在我的 maven-gatling-plugin 配置中,我有以下内容

<executions>
    <execution>
        <id>load-testing</id>
        <phase>integration-test</phase>
        <goals>
            <goal>execute</goal>
        </goals>
        <configuration>
            <simulationClass>maven.integration.MySimu</simulationClass>
        </configuration>
    </execution>
</executions>

是否有一个我可以使用但不能构建项目的阶段?

【问题讨论】:

  • 如何运行maven?

标签: maven gatling


【解决方案1】:

我的解决方案是将我所有的模拟放在一个独立的项目中(而不是将它们放在我想要测试的项目中)

然后我可以使用mvn gatling:execute 执行模拟

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-09-18
    • 2016-04-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-28
    • 2013-08-27
    • 1970-01-01
    相关资源
    最近更新 更多