jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranieri Mazili <ranier...@gmail.com>
Subject Re: Problem using Regular Expression Extractor after HTTP Request
Date Wed, 03 Jun 2015 14:41:45 GMT
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 <erez@theneura.com> wrote:

> This would help anyway: id="uniqName_2_0" aria-valuenow="(\d+)"
>
> -----Original Message-----
> From: Erez Naim [mailto:erez@theneura.com]
> 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:ranieri85@gmail.com]
> Sent: Wednesday, June 03, 2015 4:32 PM
> To: user@jmeter.apache.org
> 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: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

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