jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Sending a JSON snippet as POST payload
Date Thu, 29 Jul 2010 21:32:03 GMT
Can be done using the standard HTTPSampler.
If your objects are complex use something like http://www.json.org/java/ to
get your objects and String alongwith Beanshell in Jmeter to dynamically add
your values to the sampler otherwise you can manipulate strings yourself

regards
deepak

On Thu, Jul 29, 2010 at 3:18 AM, Sriharsha Setty
<sriharsha.setty@gmail.com>wrote:

> Hi Jmeter users,
>
> I am trying load test a CouchDB cluster by adding new documents and
> retrieving them.  Now CouchDB accepts document additions through a JSON
> snippet sent a s POST payload.  Now I wish to create the JSON snippet (on
> the fly)  by parsing a CSV dataset that I have and then send that to the
> CouchDB server as POST payload.  Has anyone tried this before?
>
> What is the best way to configure Jmeter to send and receive JSON?
>
> Your help will be appreciated.
>
> Thanks in advance,
> /harsha
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message