|
Re: ttcn-3 xmpp example [message #1765649 is a reply to message #1765576] |
Tue, 13 June 2017 06:28 |
|
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 |
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03287 seconds