Performance test for graphQL API

前端 未结 7 1450
北恋
北恋 2021-02-04 20:07

Today I\'m doing my API automation testing and performance testing with Jmeter when the server is a REST API.

Now the development changed to graphQL API, and I have two

相关标签:
7条回答
  • 2021-02-04 20:47

    The easiest way will be to use the GraphQL queries directly in JMeter without the need to convert them to JSON.

    All you need to do is to pass "Content-Type" as "application/graphql" in the header.

    Image Link for: HTTP Request with GraphQL Query as input

    Image Link for: Header details

    0 讨论(0)
提交回复
热议问题