On Tue, Mar 9, 2021 at 12:32 PM Prateek Dua <[email protected]> wrote:
>
> Yes I'm aware of JMeter 5.4 support on it but currently seeking out
> solution to handle it via JMeter 4.0 as complete system has been set up
> using JMeter 4.0.
>
> So any solution / syntax to handle it manually via plain http request will
> be help.
You will need to escape the GraphQL query or mutation and other params
manually in the JSON post payload like the following example:
{"operationName":null,"variables":{},"query":"{\n fineSomethings(text:
\"\", offset: 0, limit: 200) {\n offset\n limit\n count\n total\n
items {\n ... }\n }\n }\n }\n}\n"}
Any developer tools, such as browser debugger tools, can help you
capture the http request headers and payload data.
Regards,
Woonsan
>
> Thanks,
> Prateek
>
> On Tue, Mar 9, 2021 at 8:04 PM UBIK LOAD PACK Support <
> [email protected]> wrote:
>
> > Hello,
> > Since JMeter 5.4, there is a GraphQL view in HTTP Request:
> >
> > -
> >
> > https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
> > look for GraphQL
> >
> > Before, you'll have to manually handle it.
> >
> > Regards
> >
> > On Tue, Mar 9, 2021 at 2:16 PM Prateek Dua <[email protected]> wrote:
> >
> > > >
> > > > Hi Team,
> > > >
> > > > Any help to send Post request ( query ) for graphql using JMeter 4.0
> > via
> > > > HTTP request.
> > > >
> > > >
> > > Thanks,
> > > > Prateek
> > > >
> > >
> >
> >
> > --
> >
> > Regards
> > Ubik Load Pack <http://ubikloadpack.com> Team
> > Follow us on Twitter <http://twitter.com/ubikloadpack>
> >
> >
> > Cordialement
> > L'équipe Ubik Load Pack <http://ubikloadpack.com>
> > Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
> >
>
>
> --
> Thanks,
> Prateek Dua
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]