Tricky network problem
I have a network problem with meframework and jtharness.
Well I have a set of test (automatic and interactive) ; These tests are deployed on jtharness and here are the two network infrastructures :
1 - JTHarness directly visible on Internet :
Mobile Phone <-> Internet <-> Public IP <-> JTharness
2 - JTHarness Behind a router (box)
Mobile Phone <-> Internet <-> Public IP <-> Router <-> Local IP <-> JTharness
First infrastructure :
Automatic tests and Interactive tests work great.
Well, with this infrastructure I am VERY irritated with JTHarness configuration :
My (tested) configurations for JTHarness :
- If I fill the field "JavaTest Harness Host" with the public IP :
The problem : Test bundle is not generated when it contains one or more Interactive test(s).
Precision : Test bundle generation works great when it contains only Automatic tests.
I assume the problem could come from here :
For interactive tests :
o The server try to bind the public IP that does not exists on the server but on the router.
o There is a check of the public IP to ensure that this IP is available on the server...obviously, this IP does not exist on the server because it is public the router IP.
- If I fill "JavaTest Harness Host" with the local IP :
The problem : Test bundle is generated BUT it generates a jad file with this local IP...and obviously...this local IP is not reachable from my device..
Assumption : I assume that I am going to have a problem with 'agent.dat' & 'mid_agent' that contains server address for communication too...
Please help me !