首页 > 解决方案 > How to create 2D array in JMeter

问题描述

I am trying to extract two random values from a single request. I am able to do that using JSON extractor, but I am facing a issue which is to store those values in array. How to store data in 2D array in JMeter?

标签: multidimensional-arrayjmeter

解决方案


我们不能不看到:

  1. JMeter要放入数组的变量(名称和值,可以使用Debug Sampler 和 View Results Tree listener 组合查看
  2. 所需的数组格式

很可能您需要使用JSR223 PostProcessor(顺便说一下,这家伙也可以从 JSON 中提取数据

今后考虑更具体,因为您的问题很模糊


推荐阅读