Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » ttcn-3 xmpp example
ttcn-3 xmpp example [message #1765576] Mon, 12 June 2017 14:18 Go to next message
Tatsiana Kutushyna is currently offline Tatsiana KutushynaFriend
Messages: 2
Registered: June 2017
Junior Member
Hello,

I'm looking for an example of xmpp test written in TTCN-3. Can someone help me with it?

Best regards,
Tatsiana

Re: ttcn-3 xmpp example [message #1765649 is a reply to message #1765576] Tue, 13 June 2017 06:28 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Tatsiana,

Thank you for your interest in TTCN-3 and Eclipse Titan.

I think I have exactly what you need but it will take a few days to prepare it for publishing.
It's a set of conformance tests written for NTAF, which is a lesser known extension to XMPP,
but it demonstrates perfectly the usage of XMPP with TTCN-3 and Titan.

Please stay tuned, I'll have news for you latest mid next week.

Best regards
Elemer











Re: ttcn-3 xmpp example [message #1765893 is a reply to message #1765649] Wed, 14 June 2017 12:03 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 807
Registered: January 2015
Senior Member
Hi Tatsiana,


please find attached a conformance test suite for NTAF that exemplifies XMPP usage.

NTAF is an extension to XMPP; the related standards can be downloaded from:
http://ntaforum.org/


To run the tests, you will need to install Openfire (https://www.igniterealtime.org/projects/openfire/). I have used 3.9.3 so I don't know how later versions will do. A minimal config is needed, see
doc/OpenfireInstall.txt for some details.
There are three users configured , "admin", "titan0", and "toaster"; the test suite uses the latter two.

The tests connect and authenticate to the server. I had to remove some code so digest authentication does not work, two functions f_calculateMD5
and f_TCCSecurity_hex2char will have to be added for that.

I have also attached recent logs (collected today) from which the functionality can be read.
In doc you will find a slide deck describing the project in broad strokes.

I suggest you look through the code and logs , and if any questions, please let me know.
This is probably somewhat more complex than you expected , but it has all kinds of details in place that might prove useful later.



Best regards

Elemer

[Updated on: Wed, 14 June 2017 12:08]

Report message to a moderator

Re: ttcn-3 xmpp example [message #1765896 is a reply to message #1765893] Wed, 14 June 2017 12:10 Go to previous message
Tatsiana Kutushyna is currently offline Tatsiana KutushynaFriend
Messages: 2
Registered: June 2017
Junior Member
Hi Elemer,

Thank you very much for a quick and helpful answer.

Best regards,
Tatsiana
Previous Topic:XML Decoder order problem
Next Topic:Eclipse Titan 6.2.0 release announcement
Goto Forum:
  


Current Time: Wed Sep 26 05:34:42 GMT 2018

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

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

Back to the top