应用jmeter5.1.1 ----------------------------------------- 链接: https://pan.baidu.com/s/1vgaUeg_eDr44F8VU9zViJQ 提取码: eg5w ----------------------------------------- JMeter中引入外部的JAR包给bean shell 使用 在jmeter.properties中添加依赖的路径 plugin_dependency_paths=../dependencies/lib; 放入jmeter_module项目lib下的jar包,脚本要用到 ============================================= 一、tcp protobuf测试 -------------------------------------- 创建 Thread Group -------------------------------------- 创建 TCP Sampler 发送的地方写 ${msgbyte} 因为需要解析自定义二进制数据结构,重写TCPClient 参考 com.xxx.common.jmeter.CustomTCPClient 依赖pom <dependency> <groupId>org.apache.jmeter</groupId> <artifactId>ApacheJMeter_core</artifactId> <version>5.1.1</version> </dependency&
jmeter 测试 tcp protobuf协议 demo
最新推荐文章于 2024-04-29 19:23:50 发布