0
我想通過使用maven並希望報告性能結果來對jmeters junit採樣器執行負載測試。我用了10個線程與5 sec.here的緩升時期是我的POM文件使用maven執行jmeters junit採樣器
enter code here <properties>
<selenium.version>3.0.1</selenium.version>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>2.2.0</version>
<executions>
<execution>
<id>jmeter-classes</id>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<junitLibraries>
<artifact>com.lazerycode.junit:junit-test:1.0.0</artifact>
</junitLibraries>
<propertiesGlobal>
<threads>10</threads>
<rampup>5</rampup>
</propertiesGlobal>
</configuration>
</plugin>
</plugins>
</build>
請幫助我,如果它是調用JMeter的JUnit的要求sampler.If沒有,請幫助我改正正確的方式。
也請幫助我如何報告性能結果(egreports)
感謝和問候