Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: multiple system adapters in TTCN-3?

multiple system adapters in TTCN-3? 02 Mar 2007 14:31 #7039

Hi,

Can there be more than one system adapter co-existing
in the TTCN-3 architecture? For example, I may have
2 system adapters built for different purposes - eg. one
to interact with a database and another to interact with
a HTTP application. Now I may want to reuse both of
these in a different context. So can these system
adapters co-exist or should I wrap the two under
a single system adapter?

Thanks
Venkita
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 02 Mar 2007 14:46 #7040

Hello,

TTCN-3 standard defines a single test system interface
(TSI) to be used by an individual test case.

It is then matter of implementation of a specific
TTCN-3 tool if this single TSI can be implemented
using only one or multiple System Under Test (SUT)
adapter(s) and if these adapters are separate
threads or separate processes etc.

For example, OpenTTCN Tester for TTCN-3 allows
you to select if you want implement each TSI port
in the same SUT adapter or if you select to implement
individual TSI ports in separate SUT adapters.
Here each separate SUT adapter is a separate
executable that is registered dynamically to
the test system allowing re-use of the same
adapter in different testing configurations and
test systems. As you mentioned one of the SUT
adapters could be DB adapter and the other
HTTP adapter.
The same registration method in OpenTTCN
applies to external functions and platform
adapters as well.

Kind regards,
Vesa-Matti

--- Venkita Subramonian <This email address is being protected from spambots. You need JavaScript enabled to view it.> wrote:

> Hi,
>
> Can there be more than one system adapter
> co-existing
> in the TTCN-3 architecture? For example, I may have
> 2 system adapters built for different purposes - eg.
> one
> to interact with a database and another to interact
> with
> a HTTP application. Now I may want to reuse both of
> these in a different context. So can these system
> adapters co-exist or should I wrap the two under
> a single system adapter?
>
> Thanks
> Venkita
>
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 02 Mar 2007 14:46 #7041

Hello, I'm afraid I can't answer it.

With Kind Regards
Arkadiusz Gagalski


2007/3/2, Venkita Subramonian <This email address is being protected from spambots. You need JavaScript enabled to view it.>:
>
> Hi,
>
> Can there be more than one system adapter co-existing
> in the TTCN-3 architecture? For example, I may have
> 2 system adapters built for different purposes - eg. one
> to interact with a database and another to interact with
> a HTTP application. Now I may want to reuse both of
> these in a different context. So can these system
> adapters co-exist or should I wrap the two under
> a single system adapter?
>
> Thanks
> Venkita
>
>


--
Pozdrawiam
Arkadiusz GÄ…galski
tel. 668 342 243
mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 02 Mar 2007 14:58 #7042

Dear Venkita,

as per TRI you can only have one TRI System adapter at the same time.
The system architecture does not foresee multiple adapters to co exist.

So if you would like to split the functionality in the way you described
you would have to use a wrapper.

Best regards, Theo


Venkita Subramonian schrieb:
> Hi,
>
> Can there be more than one system adapter co-existing
> in the TTCN-3 architecture? For example, I may have
> 2 system adapters built for different purposes - eg. one
> to interact with a database and another to interact with
> a HTTP application. Now I may want to reuse both of
> these in a different context. So can these system
> adapters co-exist or should I wrap the two under
> a single system adapter?
>
> Thanks
> Venkita
>
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 02 Mar 2007 15:10 #7043

Hi,

so if I got you right, you provide two default wrapper functionalities,
one that does nothing and forwards all TRI request to the same TSI
instance, and another that selects the implementation according to some
proprietary selection mechanism (e.g port type, port name, etc).

Best regards, Theo


Vesa-Matti Puro schrieb:
> Hello,
>
> TTCN-3 standard defines a single test system interface
> (TSI) to be used by an individual test case.
>
> It is then matter of implementation of a specific
> TTCN-3 tool if this single TSI can be implemented
> using only one or multiple System Under Test (SUT)
> adapter(s) and if these adapters are separate
> threads or separate processes etc.
>
> For example, OpenTTCN Tester for TTCN-3 allows
> you to select if you want implement each TSI port
> in the same SUT adapter or if you select to implement
> individual TSI ports in separate SUT adapters.
> Here each separate SUT adapter is a separate
> executable that is registered dynamically to
> the test system allowing re-use of the same
> adapter in different testing configurations and
> test systems. As you mentioned one of the SUT
> adapters could be DB adapter and the other
> HTTP adapter.
> The same registration method in OpenTTCN
> applies to external functions and platform
> adapters as well.
>
> Kind regards,
> Vesa-Matti
>
> --- Venkita Subramonian <This email address is being protected from spambots. You need JavaScript enabled to view it.> wrote:
>
>> Hi,
>>
>> Can there be more than one system adapter
>> co-existing
>> in the TTCN-3 architecture? For example, I may have
>> 2 system adapters built for different purposes - eg.
>> one
>> to interact with a database and another to interact
>> with
>> a HTTP application. Now I may want to reuse both of
>> these in a different context. So can these system
>> adapters co-exist or should I wrap the two under
>> a single system adapter?
>>
>> Thanks
>> Venkita
>>
>
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 02 Mar 2007 15:25 #7044

Dear Venkita,
I think its possible but the intelligence will be with your adapter. You can have multiple adapters but based on some decission point one of your adapter functionality will be called, it may be based on your port type or your port name or something else.

Thanks
JK
Sent from my BlackBerry Wireless Handheld


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.>
To: This email address is being protected from spambots. You need JavaScript enabled to view it. <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Sent: Fri Mar 02 15:31:43 2007
Subject: multiple system adapters in TTCN-3?

Hi,

Can there be more than one system adapter co-existing
in the TTCN-3 architecture? For example, I may have
2 system adapters built for different purposes - eg. one
to interact with a database and another to interact with
a HTTP application. Now I may want to reuse both of
these in a different context. So can these system
adapters co-exist or should I wrap the two under
a single system adapter?

Thanks
Venkita
Telelogic Lifecycle Solutions:
Helping You Define, Design & Deliver Advanced Systems & Software
Learn More at www.telelogic.com


Jayakishor Bhanja
Sr. Product Consultant
Telelogic India Pvt Ltd.
# 72, "Salarpuria Pearl",
Civil Station,
Residency Road Cross,
560 025 Bangalore
India

Phone: +91 (80) 511 24441
Fax:
Mobile phone:

This email address is being protected from spambots. You need JavaScript enabled to view it.
www.telelogic.com


Telelogic - Requirements-Driven Innovation!



The information contained in this e-mail, including any attachment or enclosure, is intended only for the person or entity to which it is addressed and may contain confidential material. Any unauthorized use, review, retransmissions, dissemination, copying or other use of this information by persons or entities other than the intended recipient is prohibited.
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 02 Mar 2007 15:34 #7045

ok. makes sense. thanks!



_____

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 Jayakishor Bhanja
Sent: Friday, March 02, 2007 10:25 AM
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: Re: multiple system adapters in TTCN-3?



Dear Venkita,
I think its possible but the intelligence will be with your
adapter. You can have multiple adapters but based on some decission point
one of your adapter functionality will be called, it may be based on your
port type or your port name or something else.

Thanks
JK
Sent from my BlackBerry Wireless Handheld


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.>
To: This email address is being protected from spambots. You need JavaScript enabled to view it. <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Sent: Fri Mar 02 15:31:43 2007
Subject: multiple system adapters in TTCN-3?

Hi,

Can there be more than one system adapter co-existing
in the TTCN-3 architecture? For example, I may have
2 system adapters built for different purposes - eg. one
to interact with a database and another to interact with
a HTTP application. Now I may want to reuse both of
these in a different context. So can these system
adapters co-exist or should I wrap the two under
a single system adapter?

Thanks
Venkita






----
Telelogic Lifecycle Solutions:
Helping You Define, Design & Deliver Advanced Systems & Software
Learn More at <www.telelogic.com/> www.telelogic.com



Jayakishor Bhanja
Sr. Product Consultant
Telelogic India Pvt Ltd.
# 72, "Salarpuria Pearl",
Civil Station,
Residency Road Cross,
560 025 Bangalore
India

Phone: +91 (80) 511 24441
Fax:
Mobile phone:



<This email address is being protected from spambots. You need JavaScript enabled to view it.> This email address is being protected from spambots. You need JavaScript enabled to view it.
www.telelogic.com <www.telelogic.com/>


Telelogic - Requirements-Driven Innovation!






The information contained in this e-mail, including any attachment or
enclosure, is intended only for the person or entity to which it is
addressed and may contain confidential material. Any unauthorized use,
review, retransmissions, dissemination, copying or other use of this
information by persons or entities other than the intended recipient is
prohibited.
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 05 Mar 2007 08:40 #7046

  • Antti Hyrkk
  • Antti Hyrkk's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 43
  • Karma: 0
Hello Venkita

I'd recommend to implement your SA in such a way that it is a kind of
super-SA that provides a framework or skeleton code for several
different SAs. The super-SA implements the TRI interface which
does multiplexin between the TE and the SAs. Each SA then provides
different means to communicate with different SUTs or to control any
other entities you might need in your testing. You also might want an
unified interface at TTCN-3 core language level via which you can
address or communicate with the different SAs.

This is only my personal opinion how it should and could be done,
since I don't see point in writing several separate adapters and not
to have the possibility to use their combined functionality in a
single testcase. It does some take some extra time to write the
framework code, but that's only done once.

> >> to interact with a database and another to interact
> >> with a HTTP application. Now I may want to reuse both of
> >> these in a different context. So can these system
> >> adapters co-exist or should I wrap the two under
> >> a single system adapter?


One day you might have a SUT that has both the database-interface and
the HTTP-interface, and you might want to access both interfaces in a
single testcase. If you then have this super-SA at hand, you can pat
yourself on shoulder and say great work pal.

I can email you my thesis work which specifies one way to implement
this super-SA structure at TTCN-3 and adapter level. It's also on the
ETSI TTCN-3 page but the link is currently broken.

My approach is a bit like what Vesa-Matti described what can be done
with OpenTTCN Tester, with the difference that multiplexing in
OpenTTCN is done by the tool itself, and in my approach it is done by
the hand written super-SA that can be used with any tool. I've also
tried to specify a unified control interface at TTCN-3 language level
to the different SAs.

Br
Antti

// Antti Hyrkkänen @ Plenware
// www.plenware.fi/en

>
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 ext Theofanis Vassiliou-Gioles
> Sent: 2. maaliskuuta 2007 17:11
> To: This email address is being protected from spambots. You need JavaScript enabled to view it.
> Subject: Re: multiple system adapters in TTCN-3?
>
> Hi,
>
> so if I got you right, you provide two default wrapper functionalities,
> one that does nothing and forwards all TRI request to the same TSI
> instance, and another that selects the implementation according to some
> proprietary selection mechanism (e.g port type, port name, etc).
>
> Best regards, Theo
>
>
> Vesa-Matti Puro schrieb:
> > Hello,
> >
> > TTCN-3 standard defines a single test system interface
> > (TSI) to be used by an individual test case.
> >
> > It is then matter of implementation of a specific
> > TTCN-3 tool if this single TSI can be implemented
> > using only one or multiple System Under Test (SUT)
> > adapter(s) and if these adapters are separate
> > threads or separate processes etc.
> >
> > For example, OpenTTCN Tester for TTCN-3 allows
> > you to select if you want implement each TSI port
> > in the same SUT adapter or if you select to implement
> > individual TSI ports in separate SUT adapters.
> > Here each separate SUT adapter is a separate
> > executable that is registered dynamically to
> > the test system allowing re-use of the same
> > adapter in different testing configurations and
> > test systems. As you mentioned one of the SUT
> > adapters could be DB adapter and the other
> > HTTP adapter.
> > The same registration method in OpenTTCN
> > applies to external functions and platform
> > adapters as well.
> >
> > Kind regards,
> > Vesa-Matti
> >
> > --- Venkita Subramonian <This email address is being protected from spambots. You need JavaScript enabled to view it.> wrote:
> >
> >> Hi,
> >>
> >> Can there be more than one system adapter
> >> co-existing
> >> in the TTCN-3 architecture? For example, I may have
> >> 2 system adapters built for different purposes - eg.
> >> one
> >> to interact with a database and another to interact
> >> with
> >> a HTTP application. Now I may want to reuse both of
> >> these in a different context. So can these system
> >> adapters co-exist or should I wrap the two under
> >> a single system adapter?
> >>
> >> Thanks
> >> Venkita
> >>
> >
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 05 Mar 2007 14:33 #7047

Dear Antti,

>
> I'd recommend to implement your SA in such a way that it is a
> kind of super-SA that provides a framework or skeleton code
> for several different SAs. The super-SA implements the TRI

This is what I had in mind too. thanks very much for the
clarification and detailed explanation.

> need in your testing. You also might want an unified
> interface at TTCN-3 core language level via which you can
> address or communicate with the different SAs.

hmm. is this done with an extension to TTNC-3 core language?

>
> I can email you my thesis work which specifies one way to
> implement this super-SA structure at TTCN-3 and adapter
> level. It's also on the ETSI TTCN-3 page but the link is
> currently broken.

Please do that (This email address is being protected from spambots. You need JavaScript enabled to view it.). Thanks very much!!

>
> My approach is a bit like what Vesa-Matti described what can
> be done with OpenTTCN Tester, with the difference that
> multiplexing in OpenTTCN is done by the tool itself, and in
> my approach it is done by the hand written super-SA that can
> be used with any tool. I've also tried to specify a unified
> control interface at TTCN-3 language level to the different SAs.
>

hmm. interesting. I'll take a look at OpenTTCN tester. Please
do email me your thesis work.

Thanks,
Venkita
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 05 Mar 2007 17:22 #7050

Hello Theo and others,

Theofanis Vassiliou-Gioles wrote:
> so if I got you right, you provide two default wrapper functionalities,
> one that does nothing and forwards all TRI request to the same TSI
> instance, and another that selects the implementation according to some
> proprietary selection mechanism (e.g port type, port name, etc).
> Best regards, Theo

Thank you for the question. There has been other
e-mails after your question but I have the earliest
possibility to reply today.

TTCN-3 has a requirement for giving the user the TRI
interface as ANSI C or Java API so that the user can
implement the test system interface (TSI) i.e. SUT adapter(s).

In OpenTTCN case, we simply give the user possibility to
use the TRI API and to implement/use one executable or
multiple separate executables that implement the whole TSI.
The user tells the TTCN-3 executable which executable
implements a specific test system interface port.
The TTCN-3 executable communicates with the correct
TSI port implementation based on user configuration
settings.

The testing tool implements the distribution
of TSI ports transparently. This can be used to create
either geographically distributed or single PC
test systems very conveniently. This is based on the
idea of full standard conformance mixed with
innovative implementation.

Kind regards,
Vesa-Matti

> Vesa-Matti Puro schrieb:
>> Hello,
>>
>> TTCN-3 standard defines a single test system interface
>> (TSI) to be used by an individual test case.
>>
>> It is then matter of implementation of a specific
>> TTCN-3 tool if this single TSI can be implemented
>> using only one or multiple System Under Test (SUT)
>> adapter(s) and if these adapters are separate
>> threads or separate processes etc.
>>
>> For example, OpenTTCN Tester for TTCN-3 allows
>> you to select if you want implement each TSI port
>> in the same SUT adapter or if you select to implement
>> individual TSI ports in separate SUT adapters.
>> Here each separate SUT adapter is a separate
>> executable that is registered dynamically to
>> the test system allowing re-use of the same
>> adapter in different testing configurations and
>> test systems. As you mentioned one of the SUT
>> adapters could be DB adapter and the other HTTP adapter.
>> The same registration method in OpenTTCN
>> applies to external functions and platform
>> adapters as well.
>>
>> Kind regards,
>> Vesa-Matti
>>
>> --- Venkita Subramonian <This email address is being protected from spambots. You need JavaScript enabled to view it.> wrote:
>>
>>> Hi,
>>>
>>> Can there be more than one system adapter
>>> co-existing
>>> in the TTCN-3 architecture? For example, I may have
>>> 2 system adapters built for different purposes - eg.
>>> one
>>> to interact with a database and another to interact
>>> with
>>> a HTTP application. Now I may want to reuse both of
>>> these in a different context. So can these system
>>> adapters co-exist or should I wrap the two under
>>> a single system adapter?
>>>
>>> Thanks
>>> Venkita
>>>
>>
>
The administrator has disabled public write access.

multiple system adapters in TTCN-3? 13 Mar 2007 16:47 #7053

Hi all,

The broken link has been fixed on the www.ttcn-3.org site .. so Antti's
thesis is again downloadable.

Sorry about that,
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 Antti Hyrkkanen
> Sent: 05 March 2007 09:41
> To: TTCN3
> Subject: Re: multiple system adapters in TTCN-3?
>
> Hello Venkita
>
> I'd recommend to implement your SA in such a way that it is a
> kind of=20 super-SA that provides a framework or skeleton
> code for several=20 different SAs. The super-SA implements
> the TRI interface which=20 does multiplexin between the TE
> and the SAs. Each SA then provides=20 different means to
> communicate with different SUTs or to control any=20 other
> entities you might need in your testing. You also might want
> an=20 unified interface at TTCN-3 core language level via
> which you can=20 address or communicate with the different SAs.
>
> This is only my personal opinion how it should and could be
> done,=20 since I don't see point in writing several separate
> adapters and not=20 to have the possibility to use their
> combined functionality in a=20 single testcase. It does some
> take some extra time to write the=20 framework code, but
> that's only done once.
>
> > >> to interact with a database and another to interact with a HTTP
> > >> application. Now I may want to reuse both of these in a
> different
> > >> context. So can these system adapters co-exist or should I wrap
> > >> the two under a single system adapter?
>
>
> One day you might have a SUT that has both the
> database-interface and=20 the HTTP-interface, and you might
> want to access both interfaces in a=20 single testcase. If
> you then have this super-SA at hand, you can pat=20 yourself
> on shoulder and say great work pal.
>
> I can email you my thesis work which specifies one way to
> implement=20 this super-SA structure at TTCN-3 and adapter
> level. It's also on the=20 ETSI TTCN-3 page but the link is
> currently broken.
>
> My approach is a bit like what Vesa-Matti described what can
> be done=20 with OpenTTCN Tester, with the difference that
> multiplexing in=20 OpenTTCN is done by the tool itself, and
> in my approach it is done by=20 the hand written super-SA
> that can be used with any tool. I've also=20 tried to specify
> a unified control interface at TTCN-3 language level=20 to
> the different SAs.
>
> Br
> Antti
>
> // Antti Hyrkk=E4nen @ Plenware
> // www.plenware.fi/en
>
> >
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 ext Theofanis =
> Vassiliou-Gioles
> > Sent: 2. maaliskuuta 2007 17:11
> > To: This email address is being protected from spambots. You need JavaScript enabled to view it.
> > Subject: Re: multiple system adapters in TTCN-3?
> >=20
> > Hi,
> >=20
> > so if I got you right, you provide two default wrapper =
> functionalities,
> > one that does nothing and forwards all TRI request to the same TSI
> > instance, and another that selects the implementation according to =
> some
> > proprietary selection mechanism (e.g port type, port name, etc).
> >=20
> > Best regards, Theo
> >=20
> >=20
> > Vesa-Matti Puro schrieb:
> > > Hello,
> > >
> > > TTCN-3 standard defines a single test system interface
> > > (TSI) to be used by an individual test case.
> > >
> > > It is then matter of implementation of a specific
> > > TTCN-3 tool if this single TSI can be implemented using
> only one or
> > > multiple System Under Test (SUT)
> > > adapter(s) and if these adapters are separate threads or separate
> > > processes etc.
> > >
> > > For example, OpenTTCN Tester for TTCN-3 allows you to
> select if you
> > > want implement each TSI port in the same SUT adapter or if you
> > > select to implement individual TSI ports in separate SUT adapters.
> > > Here each separate SUT adapter is a separate executable that is
> > > registered dynamically to the test system allowing re-use of the
> > > same adapter in different testing configurations and test
> systems.
> > > As you mentioned one of the SUT adapters could be DB
> adapter and the
> > > other HTTP adapter.
> > > The same registration method in OpenTTCN applies to external
> > > functions and platform adapters as well.
> > >
> > > Kind regards,
> > > Vesa-Matti
> > >
> > > --- Venkita Subramonian <This email address is being protected from spambots. You need JavaScript enabled to view it.> wrote:
> > >
> > >> Hi,
> > >>
> > >> Can there be more than one system adapter co-existing in
> the TTCN-3
> > >> architecture? For example, I may have
> > >> 2 system adapters built for different purposes - eg.
> > >> one
> > >> to interact with a database and another to interact with a HTTP
> > >> application. Now I may want to reuse both of these in a
> different
> > >> context. So can these system adapters co-exist or should I wrap
> > >> the two under a single system adapter?
> > >>
> > >> Thanks
> > >> Venkita
> > >>
> > >
>
The administrator has disabled public write access.
  • Page:
  • 1

FacebookTwitterGoogle BookmarksRedditNewsvineTechnoratiLinkedin