abstracta / jmeter-java-dsl

Simple JMeter performance tests API
https://abstracta.github.io/jmeter-java-dsl/
Apache License 2.0
477 stars 59 forks source link

GraphqlSampler doesn't support GET requests #171

Closed OlegDementyevInDrive closed 1 year ago

OlegDementyevInDrive commented 1 year ago

Hello!

In my test I send the GraphQL GET-requests. Jmeter GUI supports both types of requests (GET and POST), but in Jmeter-Java-DSL I can send only POST-request as default and I can't send the GET-request. GraphqlSampler().method() is absence. Could you add this option?

rabelenda commented 1 year ago

Hello, thanks for asking for this feature!

Yesterday we released a new version which includes httpGet() method in the sampler which should allow you to use HTTP Get method.

Please try it and let us know of any potential improvements.

Regards