jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Jmeter preprocessors, Java code...
Date Mon, 26 Apr 2010 11:37:19 GMT
On 26/04/2010, thorr09 <bvili009@gmail.com> wrote:
>
>  Hi guys!
>  Sorry for not greeting you on friday...my mistake.
>  Thanks for the reply...I have another question. I want to write a Beanshell
>  post processor now which will write the binary result data of a SOAP call to
>  a file. How do I have access to that data in the BeanShell script? The data
>  should be present in the response, how could I read it from there maybe?
>  Thanks in advance,
>  Cheers,
>

Have you tried using:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Save_Responses_to_a_file

That may well do all/most of what you want.

>
>  TincaTibo wrote:
>  >
>  > Hello (Don't you know the netiquette?)
>  >
>  > Exactly, you can use Beanshell, as Beanshell can be considered as
>  > scripting
>  > in Java. So you can call whatever Java you wrote, create or modify JMeter
>  > Variables in the script and then use it wherever you want.
>  > See
>  > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Sampler
>  > And *for full details on using BeanShell, please see the BeanShell
>  > web-site
>  > at http://www.beanshell.org/*
>  >
>  > Regards,
>  > Tibo
>  >
>  > On Fri, Apr 23, 2010 at 13:22, thorr09 <bvili009@gmail.com> wrote:
>  >
>  >>
>  >> How is it possible to run Java code and write the returned value in the
>  >> request in a Sampler? Does BeanShell support Java code, or can it call
>  >> somehow java code?
>  >> --
>  >> View this message in context:
>  >> http://old.nabble.com/Jmeter-preprocessors%2C-Java-code...-tp28340073p28340073.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
>  >>
>  >>
>  >
>  >
>
>
> --
>  View this message in context: http://old.nabble.com/Jmeter-preprocessors%2C-Java-code...-tp28340073p28362934.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


Mime
View raw message