You're "almost" right... it exists but it's not near from id tag... it's in the end of the line.
id="uniqName_2_0" aria-valuenow="12316" aria-invalid="false" aria-valuemin="-2147483648" aria-valuemax="2147483647" value="(\d+)" I know that id is unique... is there a smart way to get it? -- Ranieri On Wed, Jun 3, 2015 at 10:45 AM, Erez Naim <[email protected]> wrote: > This would help anyway: id="uniqName_2_0" aria-valuenow="(\d+)" > > -----Original Message----- > From: Erez Naim [mailto:[email protected]] > Sent: Wednesday, June 03, 2015 4:43 PM > To: 'JMeter Users List' > Subject: RE: Problem using Regular Expression Extractor after HTTP Request > > Correct if I am wrong but non line in the code contain id="uniqName_2_0" > followed by value I mean there is no 'value' after id="uniqName_2_0" > > -----Original Message----- > From: Ranieri Mazili [mailto:[email protected]] > Sent: Wednesday, June 03, 2015 4:32 PM > To: [email protected] > Subject: Problem using Regular Expression Extractor after HTTP Request > > Hello, > > I'm trying to extract a value on document body after a HTTP Request, but > strange things are happening. > > 1) The returned document body from JMeter HTTP Request is a little bit > different from what I see on browser (Firefox). You can look the pieces of > codes at: http://paste.ofcode.org/MwrRky9aFw6XBeU4VdxJpF > I'm trying the get the value of line 15 of the pasted code, but this line > is present only on firefox. > P.S: To extract this value, I'm using "Regular Expression Extractor" with > the following expression: id="uniqName_2_0" value="(\d+)" > > 2) Some parts of this HTML code are generated on client side (javascript), > I think JMeter isn't processing the javascript code and it's the reason why > firefox and JMeter document body are different. Is there a way to make it > execute the javascript and then use this "new document body" to extract the > value that I need? > > I really appreciate any help. > > Thanks > > -- > Ranieri > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
