reset a3, kut Charlie ;)
[tt2015.git] / a3 / 3architecture.tex
1 % the test architecture.
2
3 % Develop a test environment or test architecture which will be used
4 % for model-based testing of your SUT. Give a sketch of the test
5 % architecture, i.e., the positioning of the SUT, test tool(s),
6 % adapter(s), logging tool(s), ..., and their connections and
7 % interfaces; explain your choices. Try to reuse (parts of) the
8 % test-execution automation environment that you developed during the
9 % second assignment.
10
11 To test the SUT the tool needs to be able to communicate with the adapter, in
12 this case a Python program. The Python programs listens to a TCP port and
13 according to the commands received it sends TCP packets using Scapy. As said
14 before the adapter abstracts away from all the technicalities such as sequence
15 numbers. Essentially reducing each segment to only its flags (SYN,
16 ACK, FIN, etc.).
17
18 The adapter connects via the SUT to a Java echo server. Thus via TCP the
19 echo server and the adapter connect. The adapter is an adaptation of the
20 framework developed for the first part of the assignment. This architecture is
21 displayed in Figure~\ref{fig:arch}. The tool always does the logging and test
22 generation.
23
24 \begin{figure}[H]
25 \centering
26 \includegraphics[scale=0.75]{arch.eps}
27 \vspace{5mm}
28 \caption{Testing architecture}\label{fig:arch}
29 \end{figure}