Validate Oracle Eloqua Reporting Data with QuerySurge
QuerySurge is a smart data testing solution that automates data validation and testing. When paired with the CData JDBC Driver for Oracle Eloqua Reporting, QuerySurge can work with live Oracle Eloqua Reporting data. This article walks through connecting to Oracle Eloqua Reporting data from QuerySurge.
With built-in optimized data processing, the CData JDBC Driver offers unmatched performance for interacting with live Oracle Eloqua Reporting data. When you issue complex SQL queries to Oracle Eloqua Reporting, the driver pushes supported SQL operations, like filters and aggregations, directly to Oracle Eloqua Reporting and utilizes the embedded SQL engine to process unsupported operations client-side (often SQL functions and JOIN operations). Its built-in dynamic metadata querying allows you to work with and analyze Oracle Eloqua Reporting data using native data types.
Connecting to Oracle Eloqua Reporting Data in QuerySurge
To connect to live Oracle Eloqua Reporting data from QuerySurge, you need to deploy the JDBC Driver JAR file to your QuerySurge Agent(s) and add a new connection from the QuerySurge Admin view.
Deploy the JDBC Driver
- Download the CData JDBC Driver for Oracle Eloqua Reporting installer, unzip the package, and run the JAR file to install the driver.
- Once the driver is installed, stop the Agent Service.
- Copy the JAR File (and license file if it exists) from the installation location (typically C:\Program Files\CData\CData JDBC Driver for Oracle Eloqua Reporting\lib\) to your Agent(s) (QuerySurge_install_dir\agent\jdbc).
- Restart the Agent Service.
For more information on deploying JDBC drivers for QuerySurge, refer to the QuerySurge Knowledge Base.
Configure a New Connection to Oracle Eloqua Reporting
- Log into QuerySurge and navigate to the Admin view.
- Click Configuration -> Connections in the Administration Tree.
- Click Add to create a new connection.
- In the QuerySurge Connection Wizard, click Next.
- Name the connection (e.g. CData JDBC Connection to Oracle Eloqua Reporting).
- Set the Data Source to "All Other JDBC Connections (Connection Extensibility)" and click Next.
- Set the Driver Class to cdata.jdbc.oracleeloquareporting.OracleEloquaReportingDriver and click Next.
Set the Connection URL using the necessary connection properties to authenticate with Oracle Eloqua Reporting. Your Connection URL will look something like the following:
jdbc:oracleeloquareporting:AuthScheme=Basic;User=user;Password=password;Company=MyCompany;
Built-in Connection String Designer
For assistance in constructing the JDBC URL, use the connection string designer built into the Oracle Eloqua Reporting JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.oracleeloquareporting.jar
Fill in the connection properties and copy the connection string to the clipboard.
Oracle Eloqua Reporting supports the following authentication methods:
- Basic authentication (User and Password)
- OAuth 2.0 code grant flow
- OAuth 2.0 password grant flow
Basic Authentication (User and Password)
To perform authentication with a user and password, specify these properties:
- AuthScheme: Basic.
- Company: The company name associated with your Oracle Eloqua Reporting account.
- User: Your login account name.
- Password: Your login password.
OAuth Authentication (Code Grant Flow)
To authenticate with the OAuth code grant flow, you must set AuthScheme to OAuth and create a custom OAuth application. For information about how to create a custom OAuth application, see the Help documentation.
Then set the following properties:
- InitiateOAuth: GETANDREFRESH. Used to automatically get and refresh the OAuthAccessToken.
- OAuthClientId: The client Id assigned when you registered your application.
- OAuthClientSecret: The client secret that was assigned when you registered your application.
- CallbackURL: The redirect URI that was defined when you registered your application.
When you connect, the driver opens Oracle Eloqua Reporting's OAuth endpoint in your default browser. Log in and grant permissions to the application. When the access token expires, the driver refreshes it automatically.
OAuth Authentication (Password Grant Flow)
With the OAuth password grant flow, you can use your OAuth application's credentials alongside your user credentials to authenticate without the need to grant permission manually via a browser prompt. You must create an OAuth app (see the Help documentation) to use this authentication method.
Set the following properties:
- AuthScheme: OAuthPassword
- Company: The company's unique identifier.
- User: Your login account name.
- Password: Your login password.
- OAuthClientId: The client Id assigned when you registered your custom OAuth application.
- OAuthClientSecret: The client secret assigned when you registered your custom OAuth application.
- Set the Test Query to enable the Test Connection button for the Connection (e.g. SELECT * FROM LIMIT 1) and click Next.
- Click Test Connection to ensure the connection is configured properly and click Save to add the connection.
Once the connection is added, you can write SQL queries against your Oracle Eloqua Reporting data in QuerySurge.
Compare Oracle Eloqua Reporting Data Queries with a QueryPair
With the connection configured, you can follow the steps below to compare querying Oracle Eloqua Reporting data with a QueryPair.
- Select "Design Library" from the Design Menu
- Click QueryPairs under QuerySurge Design
- Click "Create New QueryPair"
- Name the QueryPair and click Save
- In either the Source or Target panes, select the connection created above (select the same connection to query Oracle Eloqua Reporting twice or another connection to perform a comparison)
- Write queries in the Editor for each pane, e.g. SELECT * FROM
- Click the "Design-Time Run" tab to execute the queries
- When the query execution is finished, click "View Query Results" to see the Oracle Eloqua Reporting data returned by the query
Download a free, 30-day trial of the CData JDBC Driver for Oracle Eloqua Reporting and start working with your live Oracle Eloqua Reporting data in QuerySurge. Reach out to our Support Team if you have any questions.