dbstress icon indicating copy to clipboard operation
dbstress copied to clipboard

Support for MongoDB

Open lalu121212 opened this issue 3 years ago • 0 comments

Hi,

I am testing dbstress with MongodDB and its failing after connection established: 10:43:46.496 [INFO] All database connections initialized, proceeding to the query execution phase unity.parser.ParseException: Encountered " "(" "( "" at line 1, column 14. Was expecting: ";" ...

10:43:46.622 [WARN] Query execution failed: Parse Exception: unity.parser.ParseException: Encountered " "(" "( "" at line 1, column 14. Was expecting: ";" ... Input query: db.test.count();

And the yaml file is as below: unit_name: "unit1" description: Example of a successful unit # optional query: db.test.count() uri: "jdbc:mongo://127.0.0.1:27017/admin" username: user1 password: "pass1" # optional if provided on command line parallel_connections: 1 repeats: 1 connection_timeout: 30000 # in ms, optional

Thank you.

lalu121212 avatar Jul 17 '22 10:07 lalu121212