Hello!

I have an AbstractTCPClient implementation class, I feed its to TCP sampler,
and everything goes well.
But when I apply Regex Extractor to data in response (Cp1251 encoded),
result variable shows "???" instead of correct Cyrillic text.

If I place debug.info() in my class, it shows Cp1251 strings in jmeter log
well.

What's the trick? How can I force Regex Extractor to handle Cp1251 strings
correct? Should my class convert response text data to some different
encoding?
 
С уважением,
Андрей Похилько

-----Original Message-----
From: Baudouin [mailto:[email protected]] 
Sent: Wednesday, January 13, 2010 11:42 AM
To: [email protected]
Subject: Re: HTTP cookie manager


Thank you for your quick answer.
Your answer is logical and I fully agree.
Have a nice day.


sebb-2-2 wrote:
> 
> On 12/01/2010, Baudouin <[email protected]> wrote:
>>
>>  Is it possible to "propagate" cookies through different Thread Groups of
>> the
>>  same Test Plan ?
> 
> No.
> 
> JMeter threads are intended to represent independent users, so cookies
> and variables are local to a thread.
> 
>>  I have seen that I could add a HTTP cookie manager either at the level
>> of
>>  the Thread Group (this works fine), but also at the level of the Test
>> Plan.
>>  By adding it at the level of the Test Plan, I though that I could have a
>>  first Thread Group that would select the language and then the selected
>>  language would have been propagated throughout all remaining tests via
>> the
>>  cookie.
>>
>>  Thank you
>>
>> --
>>  View this message in context:
>> http://old.nabble.com/HTTP-cookie-manager-tp27130900p27130900.html
>>  Sent from the JMeter - Dev mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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]
> 
> 
> 

-- 
View this message in context:
http://old.nabble.com/HTTP-cookie-manager-tp27130900p27141340.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to