Madhu, Parsing [X|H]TML with scripts is very tricky, especially when trying to use a regex to do it - which you undoubtedly would end up attempting. You're much better off using an XPath extractor:
http://jmeter.apache.org/usermanual/component_reference.html#XPath_Extractor Cheers, Darren. On 26 March 2013 12:04, madhu sekhar <[email protected]> wrote: > Hi Team, > > We have API Request as below: > > <list> > <val name="DatabaseID">ABC</val> > <val name="QueryLanguage">en</val> > <val name="UID">ABC:00013564789</val> > <list name="Editions"> > <map> > <val name="Collection">ABC</val> > <val name="Edition">CBI</val> > <val name="Begin">1991-01-01</val> > <val name="End">2009-12-31</val> > </map> > </list> > > > Could any one please suggest, What should be the bean shell script to > capture the dynamic Value. > > *< val name="UID">ABC:00013564789</val>?* > > Thanks & Regards, > Madhu > -- Darren Bown tel:* +44(0)*7873 163 452 tel: *+44(0)7971 078 445*
