Drop down menu 关联下拉列表

Drop down menu 关联下拉列表,drop-down-menu,jmeter,correlation,Drop Down Menu,Jmeter,Correlation,我有一个下拉列表,其中的值是: store:[ ['1', 'Probation'], ['2', 'Confirmed'], ['3', 'Trainee'], ['4', 'Contract'] ], 我想使用split函数拆分字符串,以获得: [['1', 'Probation'], ['2', 'Confirmed'], ['3', 'Trainee'], ['4', 'Contract'] ], 然后,我可以使用正则表达式,提取值1、2、3、4或Permission、confir

我有一个下拉列表,其中的值是:

store:[ ['1', 'Probation'], ['2', 'Confirmed'], ['3', 'Trainee'], ['4', 'Contract'] ],
我想使用split函数拆分字符串,以获得:

[['1', 'Probation'],
['2', 'Confirmed'],
['3', 'Trainee'],
['4', 'Contract'] ], 
然后,我可以使用正则表达式,提取值1、2、3、4或Permission、confirmed等,并将其传递给请求


有人能帮我吗?我想知道拆分后在哪里可以看到字符串,应该在哪里调用它,以及如何为拆分后的字符串使用正则表达式。

您不需要拆分字符串来对其执行正则表达式-您只需将Regex后处理器添加为请求的子级即可

如果确实要进行拆分,则需要添加一个后处理器BeanShell断言作为代码的容器