On 28/01/2010, Luca Borz <lb...@opera21.it> wrote:
> Hi,
>
>  i keep the same problem on plugin Jakarta for regular expression test
>  (?s)Apple,.+?Pie
>  Works fine, but in Jmeter doesn't work. Seems that in Jmeter the carriage
> return is not recognized.

Unlikely; JMeter uses ORO.

>  Anyone have any cue for solve this problem?

Try a simpler RE such as

"position":1

Then try

"xyz":1

Check that the first succeeds and the second does not.

Use

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Save_Responses_to_a_file
to save a copy of the actual response

>  I think about it, and I have two question:
>  - it's possible to set a different encoding?

No.

>  - it's possible to set a Java class or groovy script that pre-process the
> response before assertion?

Yes, Post-Processors are run before Assertions, so you can do what you like.
But it's very unlikely that this is necessary.

>  Thanks.
>
>
>
>  --
>  Opera21
>  *Luca Borz*
>  Junior Programmer
>
>  *Opera21 Nordest S.r.l.*
>  *Rovereto (TN)* 38068 - Via F. Zeni, 8 - Tel. 02.69374.426 - Fax
> 0464.443360
>  *Vimodrone (MI)* 20090 - Via L. Cadorna, 71/A - Tel. 02.69374.1 - Fax
> 02.69374.300
>  *Bolzano (BZ)* 39100 - Via L. Galvani, 23 - Tel. 0471.502021 - Fax
> 0471.501734 e-mail: lb...@opera21.it <mailto:lb...@opera21.it>
>  website: www.opera21.it <http://www.opera21.it>
>
>  Milano <http://www.opera21.it/it-IT/654it.html> | Roma
> <http://www.opera21.it/it-IT/655it.html> | Napoli
> <http://www.opera21.it/it-IT/656it.html> | Bolzano
> <http://www.opera21.it/it-IT/Bolzanoit.html> | Rovereto
> <http://www.opera21.it/it-IT/658it.html> | Genova
> <http://www.opera21.it/it-IT/659it.html> | Madrid
> <http://www.opera21.it/it-IT/660it.html> |
> -----------------------------------------------------------------------------------------------
>  Questo messaggio è destinato alle sole persone indicate e può
>  contenere informazioni riservate.
>  Se ricevuto per errore, si prega di avvisare immediatamente il
>  mittente e cancellare l'originale.
>  Ogni altro uso del messaggio è vietato.
>
>

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

Reply via email to