mcdcorp / opentest

Open source test automation tool for web applications, mobile apps and APIs
https://getopentest.org
MIT License
446 stars 107 forks source link

How to add a java system argument when starting the actor #635

Closed ewmartinez closed 8 months ago

ewmartinez commented 8 months ago

Hi We need to add system arguments when starting the actor to avoid an error when accessing a database. Do we have a way to do it? Example: -Doracle.jdbc.timezoneAsRegion=false

Thanks

ewmartinez commented 8 months ago

Hi, I solve this by adding the property via de JDBC string connection based on this page Setting JDBC Connection Properties My string connection was like this jdbc:oracle:thin:@XX.XX.XX.XX:YYYY/MDWAPIQA?oracle.jdbc.timezoneAsRegion=false Since my database was oracle I use this way, it will depends on the database driver specification