Thank you. That did the trick!

Clifton C. Craig
Intelligent Computer Systems
A division of Global Beverage Group
[EMAIL PROTECTED]
(717) 295-7977
----- Original Message ----- 
From: "BAZLEY, Sebastian" <[EMAIL PROTECTED]>
To: "'JMeter Users List'" <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 12:16 PM
Subject: RE: Response data not showing from Java request sampler


> I think you need to set the response data type:
>
> results.setDataType(SampleResult.TEXT);
>
> S.
> -----Original Message-----
> From: Clifton Craig [mailto:[EMAIL PROTECTED]
> Sent: 19 September 2003 17:02
> To: [EMAIL PROTECTED]
> Subject: Response data not showing from Java request sampler
>
>
>  Hello,
>
>  I'm new to JMeter and I've written a simple Java request sampler object
for
>  testing to get a feel for things. The 1st thing I've noticed is that the
>  response data does not show in the view results tree listener. I am
setting
>  response data in my java request sampler. Here's a code snippet:
>          String response = "Iteration #" + count++;
>          result.setSamplerData(response);
>          result.setResponseData(response.getBytes());
>          result.setResponseMessage(response);
>          result.setResponseCode("OK");
>          return result;
>
>  However when I run the test the response window for each sample thread is
>  grayed out. Is this by design? Are there any work-arounds?
>
>  Clifton C. Craig
>  Intelligent Computer Systems
>  A division of Global Beverage Group
>  [EMAIL PROTECTED]
>  (717) 295-7977
>
>
>
> ---------------------------------------------------------------------
> 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]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to