Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » TTCN-3 NBIOT Test Case Execution using Eclipse Titan(Step by Step NBIOT Test Case Execution using Eclipse Titan)
TTCN-3 NBIOT Test Case Execution using Eclipse Titan [message #1829027] Wed, 24 June 2020 07:37 Go to next message
Mujeeb Ur Rehman is currently offline Mujeeb Ur RehmanFriend
Messages: 16
Registered: January 2020
Junior Member
Dear Members,

I have followed the Titan executer and designer installation guides for eclipse and was able to install Titan plugin for eclipse. Now I need to execute NBIOT TTCN-3 Test case using Eclipse in order to debug it. Mean while I have been able to execute the NBIOT TTTCN-3 test using Cmd line execution using a TTCN-3 precompiled binary.

Can you guys kindly guide me how I can execute NBIOT Test case using Pre-compiled binary using Eclipse? and How I can compile TTCN-3 NBIOT Test suite using Eclipse on Linux. Please share all relevant resources and help on this.

Thanks for your kind support.
Regards,
Mujeeb
Re: TTCN-3 NBIOT Test Case Execution using Eclipse Titan [message #1829056 is a reply to message #1829027] Wed, 24 June 2020 12:07 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Mujeeb,

the Eclipse plug-ins part of Titan can be used in two distinct modes:

-as an IDE to the command line part which executes on Linux
-a stand-alone TTCN-3 tool, based on Java workflow , which can equally be executed on Linux and Windows
the latter being under construction , yet lacking some features the legacy Linux part has

It's unclear which functionality you are interested in among the above two ?


Best regards
Elemer




Re: TTCN-3 NBIOT Test Case Execution using Eclipse Titan [message #1829062 is a reply to message #1829056] Wed, 24 June 2020 13:19 Go to previous messageGo to next message
Mujeeb Ur Rehman is currently offline Mujeeb Ur RehmanFriend
Messages: 16
Registered: January 2020
Junior Member
Dear Elemer,

Thanks alot for your swift response. I need the following information

a. Guidelines or document to use Eclipse as a debugger and to execute the Test case with it using pre-compiled TITAN binary. Can you please provide guidelines for it?
b. Document related to PORTS for interfacing Titan with DUT.

Thanks & Regards,
Mujeeb

[Updated on: Thu, 25 June 2020 05:48]

Report message to a moderator

Re: TTCN-3 NBIOT Test Case Execution using Eclipse Titan [message #1829098 is a reply to message #1829062] Thu, 25 June 2020 07:32 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Mujeeb,

so, let's take it step by step:


First and foremost, there are two ways to encode message structures to binary/decode message structures from binary:
-using external functions aligned with the compiler technology; the command line Titan expects C/C++ functions as
external functions
-a more sophisticated and flexible way is to let the compiler generate the codec functions; for this, the TTCN-3 code has to be
decorated with instructions that tell the compiler how encoding/decoding should be done
very important: these instructions are not standardized, but vary from compiler to compiler, they are implementation dependent
-sometimes a mix of the two above is being used


So if you have encountered errors pointings to codecs, it might mean one of two things:
-Titan is missing the codec external functions
-the protocol module used contains encoding instructions specific to some other tool, unintelligible to Titan, hence the codec
functions cannot be generated (Titan will probably neglect the codec instructions)

Please mind that the Eclipse IDE plug-ins will not help in any of the above situations; semantical/syntax check is performed against
the TTCN-3 code and against Titan-conform encoding instructions only

Depending on the situation, a number of courses of action are possible:

-the missing external codec functions will have to be written
-the encoding instructions that are specific to a tool different from Titan will have to be scrapped, and if possible replaced
with Titan-conform instructions
-if the above is not possible then write a protocol module aligned with Titan


Some examples of such IoT protocol modules :

https://git.eclipse.org/c/titan/titan.ProtocolModules.MQTT
https://git.eclipse.org/c/titan/titan.ProtocolModules.CoAP

An IoT project using Titan and the above protocol modules:

https://projects.eclipse.org/projects/technology.iottestware

Test ports for UDP/TCP etc. can be downloaded from:

https://github.com/eclipse/titan.TestPorts.TCPasp
https://github.com/eclipse/titan.TestPorts.UDPasp
https://github.com/eclipse/titan.TestPorts.IPL4asp (this is a compsite UDP/TCP/SCTP etc. port)

(documentation is included)


Finally, all Titan documentation can be downloaded from
https://projects.eclipse.org/projects/tools.titan/downloads


the reference guide
https://www.eclipse.org/downloads/download.php?file=/titan/ReferenceGuide.pdf
contains detailed information about codec instructions

The below
https://www.eclipse.org/downloads/download.php?file=/titan/Eclipse_installationguide.pdf
https://www.eclipse.org/downloads/download.php?file=/titan/DesignerUserGuide.pdf
https://www.eclipse.org/downloads/download.php?file=/titan/ExecutorUserGuide.pdf
explain the usage of the IDE

However, as the Eclipse plug-ins will only play the role of a front-end in this setup, I would strongly encourage you to use the command line
with a text editor (e.g. Code Mirror) that has support for Titan, until you get familiar with the command line execution.

I wish you success in your project and in your game of criquet :)


BR

Elemer

[Updated on: Thu, 25 June 2020 07:45]

Report message to a moderator

Re: TTCN-3 NBIOT Test Case Execution using Eclipse Titan [message #1829104 is a reply to message #1829098] Thu, 25 June 2020 08:37 Go to previous message
Mujeeb Ur Rehman is currently offline Mujeeb Ur RehmanFriend
Messages: 16
Registered: January 2020
Junior Member
Thanks Elemer again. That's a plenty of information. I will get back to you guys if I will have some queries.

[Updated on: Thu, 25 June 2020 08:38]

Report message to a moderator

Previous Topic:Decoding J1939 name fails
Next Topic:Running TTCN 3 Test cases (WebSocket ) on windows machine using Eclipse TITAN plugin
Goto Forum:
  


Current Time: Fri Jun 25 05:14:03 GMT 2021

Powered by FUDForum. Page generated in 0.02232 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top