ttcn-3 xmpp example [message #1765576] |
Mon, 12 June 2017 10:18  |
Eclipse User |
|
|
|
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 #1765893 is a reply to message #1765649] |
Wed, 14 June 2017 08:03   |
Eclipse User |
|
|
|
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 08:08] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.16011 seconds