2

Is it possible to query non-sql requests with Jmeter JDBC Configuration?

I'm trying to load-test a nebula graphql instance using jmeter and have added the nebula jdbc driver to the jmeter in order to configure the JDBC connection.

When I try to create a JDBC request in my test plan it only gives me the option to pick a SQL query type however nebula uses Ngql as it's querying language and not SQL. According to jmeter's documentation and source code JDBC request can only accept SQL query types and queries.

Is there a way I can choose some other request type which will allow me to send Ngql queries with JDBC Connection using Jmeter? Or if someone was in the same boat as me and found a way around this Query type restrictio.enter image description here

Tried different query types and adding a custom query type to no use

Usama Ijaz
  • 31
  • 2

1 Answers1

0

I don't think you can use JMeter's JDBC Test elements due to Auto Commit property which is mandatory in JMeter and which is not supported by Nebula

You can consider using JSR223 Sampler with Groovy language for conducting the load, example code can be found in the nebula java driver page, just add necessary import statements.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133