51Testing软件测试论坛

标题: Jmeter中动态获取一个ID串,用英文逗号隔开,怎样分别引用每一个ID值呢? [打印本页]

作者: menu.dalian    时间: 2016-12-22 13:54
标题: Jmeter中动态获取一个ID串,用英文逗号隔开,怎样分别引用每一个ID值呢?
Jmeter中动态获取一个ID串如下,怎样分别引用每一个ID值呢?

100001,100002,100018,100023,100031,100032,100037,100042,100043,100047,100048,100049,100050,100051,100052,100053,100067,100068,100069,100080,100081,100082,100083,100084,100085,100086,100087,100090,100107,100108,100109,100110,100111,100112,100113,100114,100115,100116,100117,100118,100119,100120,100122,100123,100124,100125,100126,100127,100128,100129,100130,100131,100132,100133,100134,100135,100136,100137,100138,100139,100140,100141,100142,100143,100144,100145,100146,100147,100148,100149,100150,100151,100152,100153,100154,100155,100156,100157,100158,100159,100160,100161,100162,100163,100164,100165,100167,100168,100169,100174,100175,100176,100177,100178,100180,100181,100182,100183,100184,300001,300002,300003,300004,300005,300011,300012,300013,300014,300015,300016,300017,300018,300021,300022,300023,300024,300025,300026,300027,300028,300031,300032,300033,300034,300040,300041,300042,300043,300044,300045,300046,300047,300048,300049,300050,300051,300052
作者: 梦想家    时间: 2016-12-22 15:30
。。。这是啥呀
作者: jingzizx    时间: 2016-12-31 15:02
能不能考虑存到一个数据里再取
作者: menu.dalian    时间: 2017-1-4 09:36
本帖最后由 menu.dalian 于 2017-1-4 09:41 编辑
jingzizx 发表于 2016-12-31 15:02
能不能考虑存到一个数据里再取

试过传给一个数组,但需要循环取值,且还要赋值给在Jmeter中定义的变量,由于ID串长度不定,ID个数未知,在Jmeter中定义多少个变量,也是问题,还有没有找到方法在Jmeter中插入循环取值的java脚本呢?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2