These simulators are "legacy" tools, which were provided to give the example services something to connect to. They have been superseded by the new Scenario Simulator tool, which provides significantly more functionality and flexibility. They are still distributed with the package because the Diameter Scenario Pack does not yet include scenarios that match the bundled examples. |
Topics
This guide covers the CDR, HSS, and OCS simulators, which are used to simulate the Diameter interfaces of a Charging Data Function (CDF), Home Subscriber Server (HSS), and Online Charging System (OCS) respectively.
Extracting library jars to simulator classpath
Several jars are required to be extracted to run the simulators. Run these commands:
cd simulators/lib
unzip ../../lib/netty-library-*.du.jar netty-library.jar && unzip netty-library.jar "*.jar"
unzip ../../lib/guava-library-*.du.jar guava-library.jar && unzip guava-library.jar "*.jar"
unzip ../../du/jaxb-runtime-library-*du.jar jaxb-runtime-library.jar && unzip jaxb-runtime-library.jar "*.jar"
Simulator | What it’s for |
---|---|
a Charging Data Function simulator that accepts connections and responds to every Diameter Base Accounting and Diameter Rf |
|
a Home Subscriber Server simulator that provides basic functionality for testing Diameter Sh requests |
|
an Online Charging System simulator that supports the Diameter Credit Control Application (CCA) and Diameter Ro based billing. |