You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Nagusoft <na...@gmail.com> on 2010/06/23 09:34:01 UTC

Problem in setting responseData in the view result tree

Hi all,

I am using Java request for uploading a file.
In the java code I tried to set the responseData in view result tree using
object.setResponseData("xxxx").
But its not working.

Please help me on this issue.

Thanks,
Nagu.
-- 
View this message in context: http://old.nabble.com/Problem-in-setting-responseData-in-the-view-result-tree-tp28968674p28968674.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Problem in setting responseData in the view result tree

Posted by Nagusoft <na...@gmail.com>.
Hi,
 The problem resolved. before using object.setResponseData("xxxx").,  we
should set object.setDatatype(SampleResult.TEXT).

Nagusoft wrote:
> 
> 
> Thanks,
> Nagu
> Hi all,
> 
> I am using Java request for uploading a file.
> In the java code I tried to set the responseData in view result tree using
> object.setResponseData("xxxx").
> But its not working.
> 
> Please help me on this issue.
> 
> Thanks,
> Nagu.
> 

-- 
View this message in context: http://old.nabble.com/Problem-in-setting-responseData-in-the-view-result-tree-tp28968674p28969848.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: Problem in setting responseData in the view result tree

Posted by sebb <se...@gmail.com>.
On 23/06/2010, Nagusoft <na...@gmail.com> wrote:
>
>  Hi all,
>
>  I am using Java request for uploading a file.
>  In the java code I tried to set the responseData in view result tree using
>  object.setResponseData("xxxx").
>  But its not working.
>
>  Please help me on this issue.

Have a look at how the other Java Request samplers work, and copy them.

>  Thanks,
>  Nagu.
>
> --
>  View this message in context: http://old.nabble.com/Problem-in-setting-responseData-in-the-view-result-tree-tp28968674p28968674.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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