jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shirish <>
Subject Reg: Multiple Regular Expression
Date Wed, 16 Nov 2011 10:45:33 GMT
Hello Friends,

I am having a scenario in my app where in I get to see a table with dynamic
data rows and from that table I need to select the desired rows randomly
with the help of check boxes against each rows. As for this particular
scenario I am not aware with the handling process in JMeter so I just
recorded the script by selecting the three rows randomly and in response
JMeter has recorded a HTTP request with a parameter as
"selectedIdList" with value as =>
%60org_name_sort%3D*VISQTEON*%60id%3D58083 "

As here in I have selected the 3 Rows so I wrote the Three different
Regular Expressions with details as

Reference Name:  selectmultipleSPNs1/2/3

Regular Expression:  supplierpart_number_sort"\:"(.+?)\"\,\"

Template:  $1$

Match No:  1/2/3

Default Value:  selectmultipleSPNs1/2/3 not Found

Now these three reg ex are returning me the desired values and I am
replacing the highlighted names with these regexp fetched from the previous
requests in the above mentioned request.But I need to know is there any
other better way to select dynamic records from table than what I am doing
here (if I want to select more than 3 rows then I need to write respective

Your suggestions,advices can make a lot difference to my test scripts.

Thanks in advance,

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