CodeSV Blog!by CA Technologies, A Broadcom Company

Quick Start Guide

How Can We Help?
< Back

CA CodeSV is available on Maven repository or for installation from GitHub. You can clone the example project or download the product directly from the CodeSV GitHub page.

Configure Your Project

Choose from one of the setup options below to configure CodeSV :

Maven Setup

To add the CodeSV product dependency to your Maven project follow these steps:

  1. Modify your pom.xml by adding the CA repository
    <!-- your other repositories -->
  2. Add the CodeSV product dependency:

Gradle Setup

To add CodeSV product dependency to your Gradle project follow these steps:

  1. Modify your build.gradle by adding the CA repository:
    repositories {
    maven {
    url ""
  2. Add the CodeSV product dependency:
    dependencies {
    compile 'com.broadcom.codesv:codesv-dist-jar:2.0.8'

Manual Setup

  1. Access the following URL:
  2. Click Release.
  3. Download the zip file for the latest release. You can also clone the project by clicking Clone or download on the main page.
  4. Extract the downloaded codesv-dist-<version>.zip file.
  5. Add the .jar files in the lib directory as dependencies to your project classpath.
  6. Add the codesv-*.jar files to your project classpath.

Ready To Go

The example below will allow you to run a jUnit test running an embedded virtual service using CodeSV.

  1. Add the following imports to your jUnit test class:
    import static*; 
  2. Create a jUnit Rule and a test method with the specification of a new virtualized service.
    public VirtualServerRule vs = new VirtualServerRule();
    public void testBasicExample() throws IOException {

More Information

For more code examples, see Code Library.

For API documentation, see Javadoc.

For more information, to share ideas, or to raise issues, see the CA Service Virtualization/DevTest community page.

Previous Home
Next Features
Table of Contents

Comments are currently closed.