首页 > 其他分享 >jemter-plugins-maven dependency -WIiki用法配置介绍

jemter-plugins-maven dependency -WIiki用法配置介绍

时间:2022-10-03 23:01:47浏览次数:75  
标签:插件 plugin WIiki maven dependency https jmeter com

1、先介绍下jmeter 的maven中央仓库地址,有兴趣自己看下

​https://mvnrepository.com/artifact/org.apache.jmeter​

2.Wiki github项目介绍:

项目地址:​​https://github.com/jmeter-maven-plugin/jmeter-maven-plugin​

jemter-plugins-maven dependency -WIiki用法配置介绍_maven

 

注意:

jemter-plugins-maven dependency -WIiki用法配置介绍_github_02

基本用法

将插件添加到项目中

将插件添加到pom项目的构建部分:

<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>2.9.0</version>
<executions>
<!-- Run JMeter tests -->
<execution>
<id>jmeter-tests</id>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
<!-- Fail build on errors in test -->
<execution>
<id>jmeter-check-results</id>
<goals>
<goal>results</goal>
</goals>
</execution>
</executions>
</plugin>

  

参考JMX文件和CSV数据

创建JMeter测试后,您需要将它们复制到​​<Project Dir>/src/test/jmeter​​​。
默认情况下,此插件将获取该目录中的所有.jmx文件,您还可以将数据文件放在此文件夹中并在计划中引用它们。要指定应运行哪些测试,请参阅Wiki 的“ ​​​选择 - 测试 - 运行”​​部分。

运行测试

mvn clean verify

你所有的测试都将在maven中运行!

文档

所有插件配置文档都可以在​​Github Wiki上找到​​。

初学者应从​​基本配置​​部分开始。

有关高级POM配置设置,请查看“ ​​高级配置”​​部分。

教程

 

二。高级配置

​https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/wiki/Advanced-Configuration​

 

jemter-plugins-maven dependency -WIiki用法配置介绍_群组_03

jemter-plugins-maven dependency -WIiki用法配置介绍_github_04

 三,用户交流社区,你可以在这里发现一起使用的伙伴和问题交流

社区

用户组

讨论maven-jmeter-plugin用法的地方,让人们知道你在这里使用它的方式。

主页:​​http​​​:​​//groups.google.com/group/maven-jmeter-plugin-users​

群组电子邮件:​[email protected]

开发组织

讨论maven-jmeter-plugin开发的地方,或询问您希望添加的功能。

主页:​​http​​​:​​//groups.google.com/group/maven-jmeter-plugin-devs​

群组电子邮件:​[email protected]

网站

官方网站可在​​https://jmeter.lazerycode.com上找到​



标签:插件,plugin,WIiki,maven,dependency,https,jmeter,com
From: https://blog.51cto.com/u_13917906/5730605

相关文章

  • Maven 教程
    Maven教程序:几次对Maven的学习,都因为各种原因而中途切断了,再一次学习的时候,又不得不重新开始,结果发现又不记得步骤又找不到对应的文档。别人写的再好,终究比不过自己亲......
  • SpringBoot访问Clickhouse执行时报错:org.springframework.beans.factory.UnsatisfiedD
    1依赖信息<?xmlversion="1.0"encoding="UTF-8"?><projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"......
  • maven常见错误
    错误1:​​maven打包报错​​错误还原:使用maven打包项目时报错如下[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-resources-plugin:3.2.0:resources(def......
  • maven SQL 时区 bug(基本都是视频教程过时而导致的问题)
    时区错误报错信息:java.sql.SQLException:Theservertimezonevalue'�й���׼ʱ��'isunrecognizedorrepresentsmorethanonetimezone.Youmustconfigureeitherth......
  • maven工程中遇到Can‘t find bundle for base name xxx, locale zh_CN错误
    原因:报错找不到名为jdbc的配置文件解决:maven工程中应将配置文件放在src/main/resources文件下,但我的初始化module的src/main文件下没有resources文件,配置文件放在了main/......
  • Maven 基本使用及依赖管理。
    目录​​一、Maven基本介绍​​​​ 1、主要功能​​ ​​2、标准化的项目结构​​​​ 3、基本介绍​​ ​​4、仓库 ​​​​二、Maven安装配置​​​​1、下载安......
  • Tomcat——IDEA中创建 Maven Web 项目
    IDEA中创建MavenWeb项目   首先创建一个新的空项目      1、使用骨架    新建模块-找到如下骨架-创建            删除pom.xml中多余......
  • Maven [ERROR] 不再支持源选项 5,请使用 7 或更高版本的解决办法
    不再支持源选项5,请使用7或更高版本的解决办法报错如下具体原因没有配置jdk的版本,默认的版本过低。在maven里的conf的setting.xml中默认的版本是jdk1.4。解......
  • maven打包excel乱码
    项目中有excel导出功能,打包时excel模板文件乱码。解决如下:<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-resources-plugin</a......
  • 使用maven中tomcat插件运行web应用程序
    是这样的,在我学习springmvc的时候,第一次按照教程使用maven中的tomcat插件运行web应用程序,然后就遇到下面类似的问题:  他这里一直在run,搞得很难受(一直认为时运行失败导......