sure . BSF Pre Processors/ Samplers / Javascript functions all let you write
javascript code that can interact with some of the JMeter objects. BSH is
good if you are a java programmer (and want something verified quickly)

regards
deepak

On Fri, Jul 30, 2010 at 2:48 AM, Sriharsha Setty
<[email protected]>wrote:

> Hi Deepak,
>
> On Fri, Jul 30, 2010 at 3:59 AM, Deepak Shetty <[email protected]> wrote:
>
>
> > 3. Use an HTTPSampler. In the parameter section keep the name field
> blank.
> > In value use ${variableName} (Defined in step 1) . So in value you would
> >
> have something like
> > {"attr1":${var1},"attr2":"${var2}",${var3}=["${var4}","${var5}"]} etc etc
> .
> >
>
> Thank you. This solution worked for me. I am able to send hand crafted JSON
> requests my CouchDB document store.
>
>
> > For complex cases you might have to use beanshell
> >
>
> I am not very familiar with BeanShell. Is it possible to do scripting with
> Javascript as mentioned here:
> http://jakarta.apache.org/jmeter/usermanual/best-practices.html
>
> Thanks,
> /harsha
>

Reply via email to