小编Del*_*ria的帖子

如何在Jmeter中使用正则表达式提取多个值

我用jmeter运行测试,我需要用正则表达式提取:

insertar?sIws2kyXGJJA_01== 
insertar?sIws2kyXGJJA_02==
Run Code Online (Sandbox Code Playgroud)

在以下字符串中:

[\"EMBPAGE1_00010001\",\"**insertar?sIws2kyXGJJA_01==**\",1,100,\"%\",300,\"px\",0,\"center\",\"\",\"[\"EMBPAGE1_00010002\",\"**insertar?sIws2kyXGJJA_02==**\",1,100,\"%\",300,\"px\",0,\"center\",\"\",\"
Run Code Online (Sandbox Code Playgroud)

regex jmeter performance-testing

5
推荐指数
2
解决办法
1万
查看次数

如何使用BeanShell解码URL?

我需要在请求中传递一个参数(URL的一部分),例如:

"S;4;163;1;O;rAghjgjU="
Run Code Online (Sandbox Code Playgroud)

但是这个值被提取为一个正则表达式:

"S%3B4%3B163%3B1%3BO%3BrAghjgjU%3D"
Run Code Online (Sandbox Code Playgroud)

我想使用BeanShell来解码URL.

regex performance jmeter beanshell performance-testing

0
推荐指数
1
解决办法
1694
查看次数