jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cynthia Li <cynthia...@icebreakersoftware.com>
Subject How to get subString with Split function.
Date Fri, 06 Nov 2009 06:26:06 GMT
hi,
Anyone could help me to resolve this problem??Thanks
--------------------
My JMeter Version is 2.3.2
I have a string like string="wap/test.do?n=123&testName=test2" ,and I want
to get the substring and split with character '='
My define a variable as subString= ${__split(${string},subString),=}
subString_1=wap/test.do?n
subString_2=123&testName
subString_3=test2
I think it is right ,but System will return a null subString when I try to
get value of  ${subString_3}.Where is wrong??

-- 
Best Regards,
Cynthia Lee
Ice Breaker China, Inc.
Tel:  86-10-82800942-815
Fax: 86-10-82800941

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message