{"action":"created","issue":{"url":"https://api.github.com/repos/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/77","repository_url":"https://api.github.com/repos/jmeter-gradle-plugin/jmeter-gradle-plugin","labels_url":"https://api.github.com/repos/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/77/comments","events_url":"https://api.github.com/repos/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/77/events","html_url":"https://github.com/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/77","id":162305206,"number":77,"title":"Unable to find mysql jdbc driver","user":{"login":"winston-lee","id":8075526,"avatar_url":"https://avatars.githubusercontent.com/u/8075526?v=3","gravatar_id":"","url":"https://api.github.com/users/winston-lee","html_url":"https://github.com/winston-lee","followers_url":"https://api.github.com/users/winston-lee/followers","following_url":"https://api.github.com/users/winston-lee/following{/other_user}","gists_url":"https://api.github.com/users/winston-lee/gists{/gist_id}","starred_url":"https://api.github.com/users/winston-lee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winston-lee/subscriptions","organizations_url":"https://api.github.com/users/winston-lee/orgs","repos_url":"https://api.github.com/users/winston-lee/repos","events_url":"https://api.github.com/users/winston-lee/events{/privacy}","received_events_url":"https://api.github.com/users/winston-lee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-25T23:51:30Z","updated_at":"2016-06-26T04:16:46Z","closed_at":null,"body":"Hi, I wrote a very simple jdbc test and it was working in a standalone jmeter. But when I use the embedded jmeter using jmGui, it fails. Here's a snippet of the debug:\r\n\r\n2016/06/26 09:44:31 INFO  - jmeter.testelement.TestPlan: add /tmp/mysql-connector-java-5.1.38.jar to classpath \r\n2016/06/26 09:44:31 DEBUG - jmeter.protocol.jdbc.config.DataSourceElement: MaxPool: 10 Timeout: 10000 TrimInt: 60000 Auto-Commit: true \r\n2016/06/26 09:44:31 DEBUG - jmeter.protocol.jdbc.config.DataSourceElement: KeepAlive: true Age: 5000 CheckQuery: Select 1 \r\n2016/06/26 09:44:31 DEBUG - jmeter.protocol.jdbc.config.DataSourceElement: Driver: com.mysql.jdbc.Driver DbUrl: jdbc:mysql://localhost:3306/foobar User: test \r\n2016/06/26 09:44:31 DEBUG - jmeter.protocol.jdbc.config.DataSourceElement: Loading new driver: com.mysql.jdbc.Driver \r\n2016/06/26 09:44:31 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*) \r\n2016/06/26 09:44:31 INFO  - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group \r\n2016/06/26 09:44:31 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group. \r\n2016/06/26 09:44:31 INFO  - jmeter.engine.StandardJMeterEngine: Thread will continue on error \r\n2016/06/26 09:44:31 INFO  - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false \r\n2016/06/26 09:44:31 INFO  - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties) \r\n2016/06/26 09:44:31 INFO  - jmeter.threads.JMeterThread: Running PostProcessors in forward order \r\n2016/06/26 09:44:31 INFO  - jmeter.threads.ThreadGroup: Started thread group number 1 \r\n2016/06/26 09:44:31 INFO  - jmeter.engine.StandardJMeterEngine: All thread groups have been started \r\n2016/06/26 09:44:31 INFO  - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 \r\n2016/06/26 09:44:31 DEBUG - jmeter.protocol.jdbc.sampler.JDBCSampler: sampling jdbc \r\n2016/06/26 09:44:31 DEBUG - jmeter.protocol.jdbc.config.DataSourceElement: Marking 0 objects as old in pool. \r\n2016/06/26 09:44:31 WARN  - jmeter.protocol.jdbc.config.DataSourceElement: Could not return Connection java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/foobar\r\n\tat java.sql.DriverManager.getConnection(DriverManager.java:689)\r\n\tat java.sql.DriverManager.getConnection(DriverManager.java:247)\r\n\tat org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.java:182)\r\n\tat org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.newPoolable(InstrumentedResourceLimitingPool.java:655)\r\n\tat org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.newPoolable(ValidatedResourceLimitingPool.java:145)\r\n\tat org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.newPoolable(ResourceLimitingJdbcConnectionPool.java:91)\r\n\tat org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.get(InstrumentedResourceLimitingPool.java:371)\r\n\tat org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.get(ValidatedResourceLimitingPool.java:97)\r\n\tat org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.getConnection(ResourceLimitingJdbcDataSource.java:188)\r\n\tat org.apache.jmeter.protocol.jdbc.config.DataSourceElement$DataSourceComponentImpl.getConnection(DataSourceElement.java:286)\r\n\tat org.apache.jmeter.protocol.jdbc.config.DataSourceElement.getConnection(DataSourceElement.java:146)\r\n\tat org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:85)\r\n\tat org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)\r\n\tat org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)\r\n\tat java.lang.Thread.run(Thread.java:745)"},"comment":{"url":"https://api.github.com/repos/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/comments/228583457","html_url":"https://github.com/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/77#issuecomment-228583457","issue_url":"https://api.github.com/repos/jmeter-gradle-plugin/jmeter-gradle-plugin/issues/77","id":228583457,"user":{"login":"foragerr","id":8560257,"avatar_url":"https://avatars.githubusercontent.com/u/8560257?v=3","gravatar_id":"","url":"https://api.github.com/users/foragerr","html_url":"https://github.com/foragerr","followers_url":"https://api.github.com/users/foragerr/followers","following_url":"https://api.github.com/users/foragerr/following{/other_user}","gists_url":"https://api.github.com/users/foragerr/gists{/gist_id}","starred_url":"https://api.github.com/users/foragerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foragerr/subscriptions","organizations_url":"https://api.github.com/users/foragerr/orgs","repos_url":"https://api.github.com/users/foragerr/repos","events_url":"https://api.github.com/users/foragerr/events{/privacy}","received_events_url":"https://api.github.com/users/foragerr/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T04:16:46Z","updated_at":"2016-06-26T04:16:46Z","body":"Can you provide a sample jmx file that reproduces this issue?"}}
{"actor":{"display_login":"foragerr"}}