Manual
The firmware of the instrument makes use of several valuable open source software packages. For information, see the "Open
Source Acknowledgement" on the user documentation CD-ROM (included in delivery).
Rohde & Schwarz would like to thank the open source community for their valuable contribution to embedded computing.
SwissQual AG
Allmendweg 8, 4528 Zuchwil, Switzerland
Phone: +41 32 686 65 65
Fax:+41 32 686 65 66
E-mail: info@swissqual.com
Internet: http://www.swissqual.com/
Printed in Germany Subject to change Data without tolerance limits is not binding.
R&S is a registered trademark of Rohde & Schwarz GmbH & Co. KG.
Trade names are trademarks of the owners.
SwissQual has made every effort to ensure that eventual instructions contained in the document are adequate and free of errors and
omissions. SwissQual will, if necessary, explain issues which may not be covered by the documents. SwissQuals liability for any
errors in the documents is limited to the correction of errors and the aforementioned advisory services.
Copyright 2000 - 2014 SwissQual AG. All rights reserved.
No part of this publication may be copied, distributed, transmitted, transcribed, stored in a retrieval system, or translated into any
human or computer language without the prior written permission of SwissQual AG.
Confidential materials.
All information in this document is regarded as commercial valuable, protected and privileged intellectual property, and is provided
under the terms of existing Non-Disclosure Agreements or as commercial-in-confidence material.
When you refer to a SwissQual technology or product, you must acknowledge the respective text or logo trademark somewhere in
your text.
SwissQual, Seven.Five, SQuad, QualiPoc, NetQual, VQuad, Diversity as well as the following logos are registered trademarks of SwissQual AG.
Diversity ExplorerTM, Diversity RangerTM, Diversity UnattendedTM, NiNA+TM, NiNATM, NQAgentTM, NQCommTM, NQDITM, NQTMTM,
NQViewTM, NQWebTM, QPControlTM, QPViewTM, QualiPoc FreeriderTM, QualiPoc iQTM, QualiPoc MobileTM, QualiPoc StaticTM, QualiWatch-MTM, QualiWatch-STM, SystemInspectorTM, TestManagerTM, VMonTM, VQuad-HDTM are trademarks of SwissQual AG.
The following abbreviations are used throughout this manual: R&S___ is abbreviated as R&S ___.
SwissQual...
Contents
Contents
1 Introduction............................................................................................ 7
1.1
1.2
Reference Documentation............................................................................................9
2 Capacity Test........................................................................................10
2.1
Basic Function............................................................................................................ 10
2.2
Result Analysis........................................................................................................... 11
Basic Function............................................................................................................ 13
3.2
Results Analysis......................................................................................................... 13
Basic Function............................................................................................................ 15
4.2
Results Analysis......................................................................................................... 15
5 FTP Test................................................................................................ 17
5.1
Basic Function............................................................................................................ 17
5.1.1
5.1.2
5.2
Results Analysis......................................................................................................... 19
Basic Function............................................................................................................ 21
6.2
Results Analysis......................................................................................................... 21
Basic Function............................................................................................................ 23
7.2
Results Analysis......................................................................................................... 23
Basic Function............................................................................................................ 25
8.2
Results Analysis......................................................................................................... 25
Basic Function............................................................................................................ 28
9.2
Results Analysis......................................................................................................... 29
SwissQual...
Contents
10 IPERF Test............................................................................................ 31
10.1
10.2
Basic Function............................................................................................................ 32
Basic Function............................................................................................................ 33
11.2
Results Analysis......................................................................................................... 33
11.3
Basic Function............................................................................................................ 37
12.2
Phone Configuration...................................................................................................37
12.3
Results Analysis......................................................................................................... 38
12.4
Basic Function............................................................................................................ 41
13.2
Results Analysis......................................................................................................... 41
Basic Function............................................................................................................ 43
14.2
Results Analysis......................................................................................................... 43
15 Ping Test............................................................................................... 45
15.1
Basic Function............................................................................................................ 45
15.1.1
Maximum Duration........................................................................................................ 46
15.2
IPv6 Support................................................................................................................ 46
15.2.1
15.2.2
15.2.3
15.3
Result Analysis........................................................................................................... 50
Basic Function............................................................................................................ 52
16.2
Results Analysis......................................................................................................... 53
Basic Function............................................................................................................ 55
SwissQual...
17.2
Contents
Results Analysis......................................................................................................... 55
Basic Function............................................................................................................ 57
18.2
Results Analysis......................................................................................................... 57
Basic Function............................................................................................................ 59
19.2
Results Analysis......................................................................................................... 60
SwissQual...
Contents
SwissQual...
Introduction
Overview of a Measurement Cycle
1 Introduction
This document describes the Data and Messaging tests available with the Diversity
Measurement Units, SwissQuals Subscriber Experience Management system for
audio, data, messaging and video quality.
Each test is handled in a separate chapter, consisting of a description of the test flow
and the result analysis. Analysis is presented with NQDI, SwissQuals post processing
application. Were necessary and appropriate, in depth detail information is provided as
well. The appendix outlines general information as well other kind of nice to know
descriptions.
This document does not describe how to setup Diversity nor does it deal with configuring the data and messaging tests. These topics are provided in
Manual NetQual - NQView.pdf.
SwissQual...
Introduction
Overview of a Measurement Cycle
IDLE
DATA SESSION
GPRS
HTTP
FTP
P
P
P
Attach
Get
Get
Preparation
Test
Clean Up
IDLE
DATA SESSION
IDLE
The preparation phase typically lasts approximately 100 ms and is therefore not significant.
This phase might take longer for the GPRS attach test if the test requires a preliminary
detach operation. Furthermore, Windows 7 can introduce instabilities into the test.
The duration of the clean-up phase can vary based on the type of test. The clean-up
phase of the following test types lasts is typically 1.5 seconds:
Ping
GPRS Attach
GPRS Detach
PDP Activation
PDP Deactivation
SMS Send
SMS Receive
The clean-up phase for the following test types typically lasts 3 seconds:
HTTP Transfer
HTTP Browser
FTP
Capacity
IPERF
SwissQual...
Introduction
Reference Documentation
Ping Trace
UDP
MMS send
MMS receive
In the worst case, the duration of the clean-up phase might be twice as long.
The NDIS option for a task introduces an additional pause after the connection has
been established. This pause is the "NDIS post connection delay" and has a duration
of 500 ms.
Although you can change the duration of the clean-up phase and the NDIS post connect delay with Windows registry keys, SwissQual strongly recommends that you use
the default values to avoid issues with trace recording or test success rate.
Document
[1]
[2]
SwissQual...
Capacity Test
Basic Function
2 Capacity Test
The Capacity test establishes multiple simultaneous peer connections for data transfer
to optimize network throughput.
Round Trip Time (RTT) and TCP Receive Windows Size (RWin) define the maximum
achievable throughput for a TCP/IP based connection. Modern high bandwidth networks contain diverse networking conditions and use congestion control. In such networks, the combination of RTT and RWin might not be fully optimized, which can result
in sub-optimal network utilization and lower throughput values than expected.
The Capacity test focuses on network stressing for the time period that you define.
Typically this period lasts from 30 to 90 seconds. A successful test calculates the application throughput when the test duration elapses. A test fails if the data transfer completes before the test duration elapses or when the transfer is interrupted.
Even though each connection in the Capacity test is still limited by RTT and RWin, the
sum of the multiple connections results in full network utilization.
10
SwissQual...
Capacity Test
Result Analysis
Start
Data Transfer 1...n
Stop
Data Transfer 1...n
Test Duration
Time
Fig. 2-1: Overview of a Capacity test
An error with one or more of the simultaneous transfers results in a test failure. Similarly, if one or more of these transfers successfully completes before the test duration
elapses, the test fails.
Description
Msg Time
Host
Operation
Buffer Size
Remote file
name
Bytes Transferred
State
11
SwissQual...
Capacity Test
Result Analysis
Value
Description
Error
Throughput
If the test state is "In Progress", this value represents the intermediate throughput in
bytes/s, which is calculated as (number of bytes transferred since last message) / (time
needed).
At the end of the test, the state changes to "Success" or "Failed". If the state is "Success", the throughput value contains the overall throughput that has been calculated
as: (total number of bytes transferred) / (total time needed). If the state is Failed, the
overall throughput cannot be considered.
12
SwissQual...
Client
Port 25
SMTP
Server
Throughput
calculated and
recorded
Description
Msg Time
POP3 Server
Email Address
Subject
13
SwissQual...
Value
Description
Size
Connect Duration
Search Duration
Receive Duration
Message Number
Throughput
Error Code
14
SwissQual...
Client
Port 25
SMTP
Server
Throughput
calculated and
recorded
Description
Msg Time
SMTP Server
Email Address
Subject
Size
Connect Duration
Send Duration
Throughput
Error Code
15
SwissQual...
16
SwissQual...
FTP Test
Basic Function
5 FTP Test
The FTP test is used to test the FTP service availability and to measure the application
throughput for file download or file upload. The test is successful when the desired
operation (uploading or downloading) has succeeded.
Client
FTP Server
Control Connection
Data Connection
17
SwissQual...
FTP Test
Basic Function
When encountering connection problems (no or closed connections) with the selected
Active/Passive mode, try using the other mode. Firewalls and NAPT may block or
close connections.
The control channel remains open during file transfer in order to exchange other commands (such as aborting the file transfer, and so on).
Active mode: The server connects to the client on a port provided by the client.
Passive mode: The client connects to the server on a port provided by the server.
Phase
Action
Duration
MsgLogTrace
Preparation
Start test
< 100 ms
Test
120 s max
Clean Up
3s
You cannot change this
value
ftps://ip_host_address
ftpes://ip_host_address
18
SwissQual...
FTP Test
Results Analysis
Fig. 5-2: FTP over SSL address in Data test dialog box in NQView
Note: The default command port number for FTPS is 990 and for FTPES is 21. To
use a different command port number, add the a colon (:) and the number to the
end of the address, for example, ftps://80.74.152.241:992, where 992 is
the custom port number.
Description
Time
Operation
Filename
Throughput
As long as the state is listed as In Progress, this value represents the intermediate
throughput in bytes/s, calculated as (number of bytes transferred since last message) /
(time needed).
At the end of a FTP session, the state will change to Success or Failed. In case of Success, the throughput value contains the overall throughput calculated as: (total number
of bytes transferred) / (total time needed). In case of Failed, the overall value not calculated
FTP Host
19
SwissQual...
FTP Test
Results Analysis
Value
Description
Bytes Transferred
State
Error
20
SwissQual...
Client
Network
ATTACH ACCEPT
is sent, if the attach
is successful
If yes, it will perform a GPRS detach command and afterwards start with the actual
attempt to perform a GPRS attach.
Table 6-1: Timing of actions during a GPRS Attach Test
Phase
Action
Duration
MsgLogTrace
Preparation
Start test
< 100 ms
Preparation
0.5* s
Preparation
Detaching device
60 s max
Test
Attaching device
60 s max
Clean Up
1.5 s
You cannot change this
value
21
SwissQual...
22
SwissQual...
Client
Network
DETACH ACCEPT
is sent, if the detach
is successful
Action
Preparation
Duration
MsgLogTrace
< 100 ms
Preparation
0.5* s
Test
Detaching device
30 s max
Clean Up
1.5 s
You cannot change
this value
23
SwissQual...
24
SwissQual...
Port 80
Client
Web Server
25
SwissQual...
Description
Msg Time
URL
Number of
images
Number of
frames
Total Size
Throughput
Error
Browser
26
SwissQual...
27
SwissQual...
Port 80
Client
Web Server
By default, you cannot upload any type of file to the HTTP server. Instead, you need to
enable this feature for the directory on the HTTP server. You can either grant universal
access to the directory or require user name and password authentication.
Table 9-1: Timing of actions during an HTTP Transfer Test
Phase
Action
Duration
MsgLogTrace
Preparation
Start test
< 100 ms
Test
HTTP GET
45 s max
Clean Up
3s
28
SwissQual...
Description
Msg Time
Host
Operation
Buffer Size
Bytes Transferred
State
Error
State message is OK if the test is successful, otherwise the error text corresponding
to the error code is displayed.
Throughput
As long as the state is listed as In Progress, this value represents the intermediate
throughput in bytes/s, which is calculated as (number of bytes transferred since last
message) / (time needed).
At the end of the test, the state changes to Success or Failed. If the state is Success,
the throughput value contains the overall throughput that is calculated as: (total number of bytes transferred) / (total time needed). If the state is Failed, the overall value is
not calculated.
29
SwissQual...
30
SwissQual...
IPERF Test
IPERF Server Configuration
10 IPERF Test
The IPERF test measures the bandwidth and the quality of a network link.
This test requires an Iperf client and server.
-L: Tells the server which port to connect to for downlink path
Only required if you use the r or d options
31
SwissQual...
IPERF Test
Basic Function
Iperf client:
iperf -c host -u
UDP uplink
UDP downlink
Iperf server:
iperf -s -u
The IPERF test allows you to tune various parameters to report bandwidth, delay jitter,
datagram loss, and so on.
Example:
The following commands represent an IPERF test definition with three clients on different units that connect simultaneously to the same IPERF server during a dual-test :
32
SwissQual...
MMS Receive test cannot be mixed with other data tests. Only one test per job
allowed. The incoming MMS should be computed by Diversity; otherwise the error
unexpected SMS received will occur.
Before you can run an MMS Send test, you need to manually configure the MMS
options on your phone. For more information, see chapter 12.2, "Phone Configuration", on page 37.
Client
Network
Application attempts to
retrieve MMS
Description
Receive Duration
Overall duration
33
SwissQual...
Value
Description
Notification time
Time between sent message (sender: transmission finished) and notification indication on receiver side.
(Not used in MMS receive only tests)
Complete time duration when starting to send message until it is fully received by
opposite site.
(Not used in MMS receive only tests)
Error Code
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
MMS Size
Size of message
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
Sender Number
Receiver Number
Attachment
Gateway
Protocol
Msg Time
Side
MMS Id
Event
Message event
34
SwissQual...
35
SwissQual...
Diversity
NOTIFICATION
RECEIVED
Stack
Mobile Phone
Network
Notification SMS
Open RAS
GPRS CONNECT
WAP CONNECTED
TRANSMISSION
STARTED
GPRS Connected
Wsp connect REQ
Send MMS
MMS Download
TRANSMISSION
FINISHED
MMS m-retrieve-conf
MMS m-retrieve-conf
Close RAS
GPRS Disconnected
36
SwissQual...
Client
Receiver
Application attempts to
send MMS
37
SwissQual...
Some phone types, use a different APN type name, for example, default,supl instead
of Internet and default,supl,mms instead of Internet + MMS.
For Nokia phones, you need to connect to the network that you want a test, send an
MMS, and then configure the phone to never download an MMS.
If this option is not available, you need to configure and select an invalid Access Point
on the phone.
Description
Service Access
duration
Transmit Duration
Overall duration
Error Code
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
MMS Size
Size of message
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
Sender Number
Receiver Number
Attachment
Gateway
Protocol
Msg Time
Side
MMS Id
Event
Message event
38
SwissQual...
39
SwissQual...
Diversity
START
Stack
Mobile Phone
Open RAS
Network
GPRS Connected
GPRS CONNECT
WAP CONNECTED
TRANSMISSION
STARTED
Send MMS
MMS m-send-conf
Close RAS
40
SwissQual...
Client
Network
IP address is returned
Fig. 13-1: PDP Activation Test Basic Function
Action
Duration
MsgLogTrace
Preparation
Start test
< 100 ms
Test
120 s max
Clean Up
1.5 s
You cannot change this value
41
SwissQual...
42
SwissQual...
Client
Network
Action
Preparation
Duration
MsgLogTrace
< 100 ms
Test
Disconnecting dial-up
connection
30 s max
Clean Up
1.5 s
You cannot change this
value
43
SwissQual...
44
SwissQual...
Ping Test
Basic Function
15 Ping Test
The ping test verifies the connectivity between two hosts within an IP data network.
The test measures the Round Trip Time (RTT) between request and reply of multiple
pings by sending ICMP messages. The test is successful when all ICMP Echo
Requests are being acknowledged by the corresponding ICMP Echo Reply message.
If any of the pings is not successfully confirmed within timeout, the test is considered
as failed.
Client
Host
Interval
45
SwissQual...
Ping Test
IPv6 Support
The procedure is being repeated until the amount of configured ping attempts are sent
to the host. Between two attempts the pause duration (Interval time) is applied.
Table 15-1: Timing of actions during a Ping Test
Phase
Action
Duration
MsgLogTrace
Preparation
Start test
< 100 ms
Test
Ping request
21 s max
Clean Up
1.5 s
You cannot change this
value.
46
SwissQual...
Ping Test
IPv6 Support
starting from Diversity release 12.1 onward. The protocol is enabled with the following
Windows registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\
Parameters\DisabledComponents
When the DisabledComponents key is set to 0x00000000 or is not present, IPV6 is
enabled. In older versions of PCM factory reference images, this key is set to fxffffffff to
disable IPV6.
To enable IPv6 in Windows
1. On the "Start" menu, type regedit.exe in the "Windows Search" box.
2. Go to the following location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\
Parameters
3. If the "DisabledComponents" key is present, right-click the key, and then click
"Modify".
4. In the "Value Data" box, type 0, and then click "OK".
Note: You can enable or disable IPV6 on each network interface separately.
To enable IPv6 on a network adapter in Windows
1. On the "Start" menu, click "Control Panel", click "Network and Internet", and then
click "Network and Sharing Center".
2. Click "Change adapter settings", right-click a device, for example, a USB network
adapter, and then click "Properties".
3. Select the check box next to "Internet Protocol Version 6 (TCP/IPv6)" and click
"OK".
47
SwissQual...
Ping Test
IPv6 Support
Note: Do not disable Internet Protocol Version 4 as this protocol is required for
internal traffic between the controlling PC and the PCMs in a Diversity system as
well as DNS traffic.
3. On the "Edit" menu, point to "New", and then click "String Value".
4. Rename the key to "ForceIPVersion".
5. Right-click the key, click "Modify", and in the "Edit String" dialog box enter the value
for the Internet protocol that you want Diversity to use.
48
SwissQual...
Ping Test
IPv6 Support
Note: In automatic mode, Diversity attempts to connect with IPv6 before IPv4.
6. Click "OK".
49
SwissQual...
Ping Test
Result Analysis
Description
Host
No. of successful
Pings
Time
State
Not used/Reserved
RTT [ms]
Sequence Number
50
SwissQual...
Ping Test
Result Analysis
Value
Description
Msg
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
Error Code
51
SwissQual...
Hop
Hop
Host
RTT3
52
SwissQual...
Description
Time
Hop
RTT
Host
IP address of either the hop where the TTL exceeded or the target host responding with
the Echo Reply message.
DNS Name
Status
53
SwissQual...
54
SwissQual...
SMS Receive test cannot be mixed with other data tests. Only one test per job
allowed.
The incoming SMS should be computed by Diversity; otherwise the error unexpected SMS received will occur.
Client
Network
Application attempts to
retrieve SMS
Description
Send Duration
End-To-End Delivery
Time
SMS Size
55
SwissQual...
Value
Description
Sender Number
Receiver Number
Error Code
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
56
SwissQual...
Client
Receiver
Application attempts to
send SMS
Description
Send Duration
End-To-End Delivery
Time
SMS Size
Sender Number
57
SwissQual...
Value
Description
Receiver Number
Error Code
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
58
SwissQual...
Port 80
Port 8021
Client
Server
The client logs each packet and calculates average throughput, jitter and packet loss
for each bandwidth. As there can be delays on the network or even packet loss, the
59
SwissQual...
client can wait an additional buffer time after the last packet should have arrived. This
simulates the buffer time used by several streaming applications.
Description
Msg Time
Host
PacketSize
Bandwidth
Throughput
Packets Sent
Packets Received
Jitter
Error
State message: OK if successful, otherwise the appropriate error text corresponding to the error code.
60
SwissQual...
61