From: Charlie Gerhardus Date: Sun, 15 Nov 2015 17:33:15 +0000 (+0100) Subject: tc 1 t/m 11 klopt nu. X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=131c22ec196a998e14902e8127216c7a09b63119;p=tt2015.git tc 1 t/m 11 klopt nu. --- diff --git a/a2/1cases.tex b/a2/1cases.tex index 28fa599..e9ffe8f 100644 --- a/a2/1cases.tex +++ b/a2/1cases.tex @@ -220,7 +220,7 @@ test case can not be created as it is not possible with that number of segments & a & b & b & c & b & \xmark & \xmark & \doTCC & \doTCC\\ & c & a & b & a & b & \xmark & \xmark & \doTCC & \doTCC\\ & c & b & a & c & a & \xmark & \xmark & \doTCC & \doTCC\\ - & b & a & b & c & a & \xmark & \xmark & \doTCC & \doTCC\\ + & b & a & b & c & a & \xmark & \xmark & \xmark & \doTCC\\ & b & b & a & b & b & \xmark & \xmark & \doTCC & \doTCC\\ & c & b & b & a & b & \xmark & \doTCC & \doTCC & \doTCC\\ & b & b & b & a & b & \xmark & \doTCC & \doTCC & \doTCC\\ @@ -401,26 +401,89 @@ described in Table~\ref{tbl:testpairs}. \hline Nr & 5 \\\hline - Title & 5 valid requests with 1byte payload with corrupted source port, destination port and checksum. The second segment is omitted in order to simulate a packet drop on the client side. \\\hline + Title & 5 requests with 1byte payload with corrupted source port, destination port and checksum. The second segment is omitted in order to simulate a packet drop on the client side. \\\hline Input & Generated packets with 1byte payload, two packets are swapped in position. \\\hline - Expected output & All requests sent up to and including - the swapped packet with the lowest sequence number, the remaining packets are ropped. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline \multirow{2}{*}{Course of action} & 1. Use the steps listed above in order to start the SUT. \\ & 2. Execute the script by running \texttt{\# code/client/tests/5.py} \\\hline Valid trace & Verify that the script prints 'Success'. \\\hline \hline - + Nr & 6 \\\hline - Title & Request with corrupted source port. \\\hline - Input & Generated packets with 1byte payload, in these packets the source port Number is increased by one. \\\hline - Expected output & The Echo server will receive the packet but is not able to respond with a ACK, this will result in a connection time out. \\\hline + Title & 5 requests with 65495byte payload with corrupted source port, destination port and checksum. The second segment is omitted in order to simulate a packet drop on the client side. \\\hline + Input & Generated packets with 65495byte payload, second generated packet is removed. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline \multirow{2}{*}{Course of action} & 1. Use the steps listed above in order to start the SUT. \\ & 2. Execute the script by running \texttt{\# code/client/tests/6.py} \\\hline Valid trace & Verify that the script prints 'Success'. \\\hline \hline + %% HIER + + Nr & 7 \\\hline + Title & 5 requests with 1byte corrupted payload, corrupted source and destination port. \\\hline + Input & Generated packets with 1byte payload, in these packets the payload byte, source and destination ports are increased by one. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline + \multirow{2}{*}{Course of action} + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/7.py} \\\hline + Valid trace & Verify that the script prints 'Success'. \\\hline + \hline + + Nr & 8 \\\hline + Title & 5 requests with 65495byte corrupted payload, corrupted source and destination port. \\\hline + Input & Generated packets with 65495byte payload, in these packets one of the payload bytes, source and destination ports are increased by one. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline + \multirow{2}{*}{Course of action} + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/8.py} \\\hline + Valid trace & Verify that the script prints 'Success'. \\\hline + \hline + + + Nr & 9 \\\hline + Title & 5 requests with 1byte corrupted payload, invalid checksum and the second packet is dropped. \\\hline + Input & Generated packets with 1byte payload, in these packets the payload byte and checksum are increased by one. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline + \multirow{2}{*}{Course of action} + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/9.py} \\\hline + Valid trace & Verify that the script prints 'Success'. \\\hline + \hline + + Nr & 10 \\\hline + Title & 5 requests with 65495byte corrupted payload, invalid checksum and the second packet is dropped. \\\hline + Input & Generated packets with 65495byte payload, in these packets one of the payload bytes and the checksum are increased by one. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline + \multirow{2}{*}{Course of action} + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/10.py} \\\hline + Valid trace & Verify that the script prints 'Success'. \\\hline + \hline + + Nr & 11 \\\hline + Title & 5 requests with 65495byte corrupted payload that doesn't show up in checksum and corrupted destination port. The second packet is dropped. \\\hline + Input & Generated packets with 65495byte payload, in these packets one 16bit word in the payload is increased by 1 and another 16bit word is decreased by 1. The destination port is also increase by one and the second packet is removed. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline + \multirow{2}{*}{Course of action} + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/11.py} \\\hline + Valid trace & Verify that the script prints 'Success'. \\\hline + \hline + + + + Nr & 6 \\\hline + Title & 5 requests with 1byte payload with corrupted source port, destination port and checksum. The second segment is omitted in order to simulate a packet drop on the client side. \\\hline + Input & Generated packets with 1byte payload, two packets are swapped in position. \\\hline + Expected output & All packets are dropped resulting in a connection time-out. \\\hline + \multirow{2}{*}{Course of action} + & 1. Use the steps listed above in order to start the SUT. \\ + & 2. Execute the script by running \texttt{\# code/client/tests/5.py} \\\hline + Valid trace & Verify that the script prints 'Success'. \\\hline + \hline Nr & 7 \\\hline Title & Request with corrupted destination port. \\\hline