|
Re: PTCs on different machines [message #1803040 is a reply to message #1802997] |
Thu, 21 February 2019 11:28 |
|
Hi Olaf, sure thing;
start the main controller on Host1 with IPAddress1
./mctr_cli ConfigurationFile.cfg
The configuration file may contain some parameters relevant to the main controller , e.g. TCP port to be used for MTC-PTC communication,
see refguide 7.11. [MAIN_CONTROLLER] (Parallel mode)
this will display the port on which the main controller will be listening:
...Listening on IP address IPAddress1 and TCP port 46308
Create mtc:
cmtc
Waiting for HC to connect...
then start the host controllers/PTCs in subsequent consoles of Hosts2 to n :
Host2:
./myExecutableBinary IPAddress1 46308
(port has to match the above, and no config file here)
:
:
Hostn:
./myExecutableBinary IPAddress1 46308
then start mtc in the first console:
Distribution of the PTCs overs hosts can be influenced by config file sections
[COMPONENTS] and [GROUPS],
see refguide:
7.9. [GROUPS] (Parallel mode)
7.10. [COMPONENTS] (Parallel mode)
and also by parameters of the create operation, see language standard
21.3.1 The Create operation
Please read also
How to execute test cases with Linux command line
https://www.eclipse.org/forums/index.php/m/1796443/?srch=mctr_cli#msg_1796443
and userguide
Chapter 4. Executing Test Suites
4.4. Running Parallel Test Suites
N.B. ttcn3_start cannot be used in this layout.
I hope this helps.
Best regards
Elemer
|
|
|
|
Powered by
FUDForum. Page generated in 0.03593 seconds