Repository navigation
You can use Network Simulator in your test (JUnit, Spock and so on) by using Test containers.
Either you can configure Network Simulator using the rest API, or you can have a configuration file with all the target systems and scenarios, which will be loaded at starutp.