You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there 👋 I'm trying to connect to my organisation's db and perform a query after my scenario is run. Unfortunately I can't past my code here but essentially this is what I have:
my scenario
and an after hook that, naturally, is run after the completion of the scenario.
I want to connect to the db inside this after hook, here's an example below
However I always get this error message
In my gradle build script I have this dependency `io.quarkus:quarkus-jdbc-postgresql`, so I should have the driver. This leads me to conclude that quarkus doesn run to execute gatling (which makes sense) and therefore RIP driver :( do u know a way to do this? Thanks nonetheless
The text was updated successfully, but these errors were encountered:
Hi @Badjangas,
issues should be opened here. Nevertheless, you should try to use ScalikeJDBC to make such a connection, since it's already included in the library: http://scalikejdbc.org/
Add the usual Postgres driver to your dependencies and then create a ConnectionPool in your after()
Hi there 👋 I'm trying to connect to my organisation's db and perform a query after my scenario is run. Unfortunately I can't past my code here but essentially this is what I have:
scenario
after
hook that, naturally, is run after the completion of the scenario.I want to connect to the db inside this
after
hook, here's an example belowHowever I always get this error message
In my gradle build script I have this dependency `io.quarkus:quarkus-jdbc-postgresql`, so I should have the driver. This leads me to conclude that quarkus doesn run to execute gatling (which makes sense) and therefore RIP driver :( do u know a way to do this? Thanks nonetheless
The text was updated successfully, but these errors were encountered: