I’m doing a chat simulation on Linux and Mac SUT’s and; is there a way I can connect to the other SUT and reconnect to the SUT back?
Here it is:
Mac user send a message to Linux
now In the script I have to connect to Linux SUT and verify the mesage sent by Mac user.
I have to reconnect back to Mac and carry on other tasks.
Yes, an Eggplant script can switch its connection to a different machine using the “connect” command. So you can easily write a script that begins by driving a Mac to send a message, then switches to a Linux machine to check that the message arrived and send a reply, then switch back to the Mac.
The connect command is documented on page 158 of the Eggplant Reference manual.