Hi, I really liked Bruce suggestion to load the response into a DOM object and then it really should allow you to access the elements as you mentioned. I think you will need to get some javascript jars into the lib/ext folder to allow javascript language inside the BSF Sampler/pre/post processor. This is cool and might work, but why won't you simply use xpath or regex post processors?
Regards, Shmuel. On Thu, Mar 29, 2012 at 10:42 AM, vineeth <[email protected]>wrote: > Thanks Bruce. I will definitely try that. But I want to know if it can be > done using javascript? > > Shmuel > > In javascript we have 'document.getElementById("id")' > > Using this we can extract the elements using their ids. > Similarly is there any way in JMeter to achieve this? > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Accessing-DOM-using-JMeter-tp5600242p5603032.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
