Hi Vishwa,
I think your approach from TTCN-3 side is the right one. I think the
simplest thing would be to change your TTCN-3 adapter (TRI implementation)
that mappings from any PTC (or selected ones) are all sent via the same TCP
connection.
BR,
Stephan
Original Message
From: active_ttcn3 : mts stf133 ttcn version 3 - active members only
[
This email address is being protected from spambots. You need JavaScript enabled to view it.] On Behalf Of Vishwanath Subraya Bhat
Sent: 28. huhtikuuta 2010 3:17
To:
This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: Creating threads in TTCN
Hi,
Anybody knows how to create threads in TTCN?
I want to open a TCP/IP connection and flood that connection with messages =
for measuring the performance. So I want to send the messages simultaneousl=
y on that connection.
Right now I am trying with PTCs but this being as linux processes I am not =
able to use the same TCP/IP connection in two different PTCs.
If anybody knows like how to create threads or have a better idea of doing =
same then please let me know.
Thanks in advance,
Br.
Vishwa
________________________________
"DISCLAIMER: This message is proprietary to Aricent and is intended solely =
for the use of the individual to whom it is addressed. It may contain privi=
leged or confidential information and should not be circulated or used for =
any purpose other than for what it is intended. If you have received this m=
essage in error, please notify the originator immediately. If you are not t=
he intended recipient, you are notified that you are strictly prohibited fr=
om using, copying, altering, or disclosing the contents of this message. Ar=
icent accepts no responsibility for loss or damage arising from the use of =
the information transmitted by this email including damage from virus."
--_000_A19223D6925CB94DA581480BC8CEA5D312A9E77D2BGUREXMB02ASIA_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:st1=3D"urn:schemas-microsoft-com:off=
ice:smarttags" xmlns=3D"
www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"=
name=3D"country-region" /><o:SmartTagType namespaceuri=3D"urn:schemas-micr=
osoft-com:office:smarttags" name=3D"place" /><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]--><style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"Section1">
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial">Hi,<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial">Anybody knows how to create threads in TTCN?
<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial">I want to open a TCP/IP connection and flood that connec=
tion with messages for measuring the performance. So I want to send the mes=
sages simultaneously on that
connection.<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial">Right now I am trying with PTCs but this being as linux =
processes I am not able to use the same TCP/IP connection in two different =
PTCs.<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial">If anybody knows like how to create threads or have a be=
tter idea of doing same then please let me know.<o:p></o:p></span></font></=
p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial">Thanks in advance,<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
<p class=3D"MsoNormal"><st1:country-region w:st=3D"on"><st1:place w:st=3D"o=
n"><font size=3D"2" face=3D"Arial"><span style=3D"font-size:10.0pt;font-fam=
ily:Arial">Br.</span></font></st1:place></st1:country-region><font size=3D"=
2" face=3D"Arial"><span style=3D"font-size:10.0pt;font-family:Arial"><o:p><=
/o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial">Vishwa<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" face=3D"Arial"><span style=3D"font-=
size:10.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
</div>
<br>
<hr>
<font face=3D"Arial" color=3D"Gray" size=3D"3">"DISCLAIMER: This messa=
ge is proprietary to Aricent and is intended solely for the use of the indi=
vidual to whom it is addressed. It may contain privileged or confidential i=
nformation and should not be circulated or
used for any purpose other than for what it is intended. If you have recei=
ved this message in error, please notify the originator immediately. If you=
are not the intended recipient, you are notified that you are strictly pro=
hibited from using, copying, altering,
or disclosing the contents of this message. Aricent accepts no responsibil=
ity for loss or damage arising from the use of the information transmitted =
by this email including damage from virus."<br>
</font>
</body>
</html>
--_000_A19223D6925CB94DA581480BC8CEA5D312A9E77D2BGUREXMB02ASIA_--