Skip to content

HEPGEN Test

Lorenzo Mangani edited this page Jan 23, 2022 · 6 revisions

Testing HOMER with hepgen.js

Not sure if your HOMER setup is operational? No problem!

hepgen.js simulates a HEP capture agent and allows you to quick validate your system. Think of it as a SIPP for HEP packets you can use to simulate various scenarios and features.

Requirements

Installation

Install hepgen.js globally using npm

npm install -g hepgen.js

Testing

Let's run hepgen.js against oue HOMER deployment!

hepgen.js -s HOMER_IP -p HOMER_PORT -c $(npm root -g)/hepgen.js/config/b2bcall_rtcp.js

Replace HOMER_IP (127.0.0.1) and HOMER_PORT (9060) to point at your setup. You want to simulate an agent!

Validation

Login to your HOMER instance, set the time range to the last 10 minutes, and search. Your HEPgen.js call should appear.

Our synthetic HEP session will contain randomly generated IPs and numbers from SIP user hepgenjs

image

For more information, please refer to the hepgen.js repository.

Clone this wiki locally