如何在CSV数据集配置(Jmeter)中保存Xml文件名 [英] How to hold Xml file names in CSV Data set Config (Jmeter)

查看:60
本文介绍了如何在CSV数据集配置(Jmeter)中保存Xml文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用CSV数据集配置保存Xml文件名?我有存储肥皂消息的Xml文件,并且我想CSV数据集配置以读取它们.我该怎么办?

How can I use CSV Data set Config for holding Xml File names? I have Xml files storing Soap Messages and I want to CSV Data set Config to read them. How can I do it?

推荐答案

这可以与创建任何CSV数据集文件的方式相同.

This can be done the same way as creating any CSV Data Set file.

  1. 创建CSV数据集文件.
  2. 在文件中,为XML文件指定FULL PATH
  3. 在Jmeter中,根据需要创建和配置CSV数据集配置 3a.您可能需要放置CSV数据集文件的完整路径 3b.确保变量名的顺序与列标题匹配.您最有可能只有一栏.
  4. 在您的SOA请求中,引用在CSV数据集配置中声明的变量.
  5. 执行并享受.
  1. Create a CSV data set file.
  2. In the file, specify the FULL PATH for the XML files
  3. In Jmeter, create and configure your CSV DataSet config as needed 3a. You may need to put the full path of the CSV data set file 3b. make sure the order of your variable names match your column headers. Most likely, you'll only have one column.
  4. In your SOA request, reference the variables declared in your CSV Data Set config.
  5. Execute and enjoy.

这篇关于如何在CSV数据集配置(Jmeter)中保存Xml文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆