jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Eckhart <Steve.Eckh...@wausaufs.com>
Subject RE: Help With Passing Multiple Variables From a Regular Expression Extractor
Date Fri, 28 Aug 2009 17:38:35 GMT
Thanks, Deepak.

I'm not familiar with BeanShell, but I was able to use what you sent to get the desired result.

What I ended up doing was randomly select one of the links and then use your script to parse
out the parts I need for my other module.

-----Original Message-----
From: Deepak Shetty [mailto:shettyd@gmail.com] 
Sent: Friday, August 28, 2009 12:14 PM
To: JMeter Users List
Subject: Re: Help With Passing Multiple Variables From a Regular Expression Extractor

You should be able to get these values using the functions (i.e. you dont
need to explicitly define A)  __V, __Random. (No time to test :) )

Fairly easy to do this in BSH
vars.put("A", vars.get("Var_" + random + "_g1"));
regards
deepak

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message