Hello,
Is this kind if requests conform to the norm ?

Regards
Philippe
---------- Forwarded message ----------
From: *Huang, Roger*
Date: Friday, July 12, 2013
Subject: JMeter HTTP Request equivalent of "curl -XGET -d"
To: JMeter Users List <[email protected]>


Hi
In JMeter how can I configure "HTTP Request" to make the equivalent of an
HTTP GET and pass in a JSON document with the -d (data) flag?

curl -XGET 'http://localhost:9200/vis/userDemo/_search?pretty=true' -d '{
> "query" : {
> "query_string" : {
> "default_field" : "firstname",
> "query": "Joe~"
> }
> }
> }'

I would also like to make an HTTP POST and pass in a JSON document with
"-d".
Thanks,
R


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] <javascript:;>
For additional commands, e-mail: [email protected] <javascript:;>




-- 
Cordialement.
Philippe Mouawad.

Reply via email to