jmeter 读取excel数据

2017-02-21 14:36 by 陈建忠, 154 阅读, 1 评论, 收藏编辑

jmeter 读取excel数据使用的方法是使用Jmeter CSV Data Set Config参数化

但是将excel文件保存成csv格式后,jmeter读取后返回的数据总是出现乱码问题,

以下就是解决的办法:

先做一个Excel表,如下

http://www.cnblogs.com/111testing/p/6423991.html

再将excel表格保存为csv格式:

http://www.cnblogs.com/111testing/p/6423991.html

 

下面是使用CSV Data Set Config参数化将csv里面的数据读取,

然后再使用benshell将数据获得

http://www.cnblogs.com/111testing/p/6423991.html

 

下面是添加一个Debug sampler(里面什么也不用,设置保持默认) 和两个http request

http://www.cnblogs.com/111testing/p/6423991.html

http://www.cnblogs.com/111testing/p/6423991.html

 

下面是查看结果树:

http://www.cnblogs.com/111testing/p/6423991.html

 

http://www.cnblogs.com/111testing/p/6423991.html

http://www.cnblogs.com/111testing/p/6423991.html



转自:http://www.cnblogs.com/111testing/p/6423991.html


相关文章:

  • 2021-11-01
  • 2021-10-08
  • 2021-05-19
  • 2021-07-01
  • 2022-01-10
  • 2021-05-20
  • 2022-02-03
  • 2021-09-26
猜你喜欢
  • 2021-11-28
  • 2021-04-11
  • 2022-01-06
  • 2021-12-19
  • 2022-01-13
  • 2022-01-15
  • 2021-07-14
相关资源
相似解决方案