• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

yxchun

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2025年10月29日

jmeter 创建100个现场组,每个线程组里面有1个http请求,http接口内容为读取CSV文件

摘要: 思路:先读取csv文件,将数据放到list数组里;再创建线程组和接口并填写数据 import org.apache.jmeter.control.LoopController import org.apache.jmeter.protocol.http.sampler.HTTPSamplerProx 阅读全文

posted @ 2025-10-29 11:37 yxchun 阅读(5) 评论(0) 推荐(0)

jmeter编写脚本创建100个现场组每个线程组里面有1个http请求

摘要: 使用groovy脚本 下面脚本输入位置为:jMeter/bin 运行目录 import org.apache.jmeter.control.LoopController import org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy i 阅读全文

posted @ 2025-10-29 11:34 yxchun 阅读(7) 评论(0) 推荐(0)

jmeter读取csv文件放到list数组里面

摘要: 方法一:使用Java NIO import java.nio.file.Files import java.nio.file.Paths import java.util.stream.Collectors try { def filePath = Paths.get("C:/Users/yxchu 阅读全文

posted @ 2025-10-29 11:31 yxchun 阅读(23) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3