You can use the DevTest Java Agent with a web-based recorder to virtualize JDBC-based database traffic. This feature is also known as agent-based JDBC virtualization.
Note: JDBC is a chatty protocol. For example, a few clicks in a user interface that retrieves data from a database can result in a huge number of JDBC API calls. This behavior can make it difficult to model properly. If you want to capture and virtualize JDBC database traffic, consider doing so at a higher layer.
The following JDBC drivers and databases are supported:
Before you capture the JDBC traffic, install and configure the agent on the computer where the application makes JDBC calls to the database. The database itself can reside on a separate computer. When you configure the agent, be sure to perform the following actions:
Important! During the playback phase, start the virtual service before you start the system under test.
Note: For information about installing the agent, see Agents. For information about deploying the virtual service, see Using CA Service Virtualization.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|