This TTCN-3 module collects code fragments specifying first complete test case implementations in Chapter 2 of the text book "An Introduction to TTCN-3*". Note that the TTCN-3 code is very simplified (especially the DNS message structure) and not intended for real DNS server testing. It can however be used to see how TTCN-3 works. To execute the code you may think about implementing a SUT simulation with TTCN-3 ...
Notice that the publisher and authors offer more TTCN-3 code examples* via their book web site.
Domain Name Server (DNS) Book Example Code |