jmeter---BeanSheel提取数组

一、BeanShell利用json提取单个数组

               测试计划---右击---线程组(普通)

               线程组---右击--添加---http请求

               http请求----右击--后置处理器---json提取器/或者正则表达式提取数据

               http请求----右击---断言---beanShell断言

               线程组---添加---取样器---Debug

                http请求:https://way.jd.com/he/freeweather

                                

               json提取器

                               

              BeanShell:json提取器提取数组

                            

              或者正则表达式:

                     

            BeanShell:这是正则表达式提取数组

                    

原文地址:https://www.cnblogs.com/wsx123/p/14023007.html