QA:Testcase tor client

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m
 
Line 5: Line 5:
 
# The <code>/etc/tor/torrc</code> configuration file should be the default one included with the package.
 
# The <code>/etc/tor/torrc</code> configuration file should be the default one included with the package.
 
|actions=
 
|actions=
# In Firefox, browse to https://check.torproject.org/
+
# In Firefox, browse to https://check.torproject.org/?lang=en-US
 
# <code>sudo systemctl start tor.service</code>
 
# <code>sudo systemctl start tor.service</code>
 
# Configure Firefox to connect to SOCKS proxy:
 
# Configure Firefox to connect to SOCKS proxy:
Line 13: Line 13:
 
## Set '''SOCKS Host''' as: <code>localhost</code>
 
## Set '''SOCKS Host''' as: <code>localhost</code>
 
## Set '''SOCKS Port''' as: <code>9050</code>
 
## Set '''SOCKS Port''' as: <code>9050</code>
# Browse to https://check.torproject.org/  
+
# Browse again to https://check.torproject.org/?lang=en-US
 
|results=
 
|results=
# The first visit to https://check.torproject.org/ should say: '''Sorry. You are not using Tor.'''
+
# The first visit to the check website should say: '''Sorry. You are not using Tor.'''
# After having started tor and configured Firefox, the second visit to https://check.torproject.org/ should say: '''Congratulations. Your browser is configured to use Tor.'''
+
# After having started tor and configured Firefox, the second visit to the check website should say: '''Congratulations. Your browser is configured to use Tor.'''
 
}}
 
}}
 
[[Category:Tor_Test_Cases]]
 
[[Category:Tor_Test_Cases]]

Latest revision as of 15:49, 5 March 2013

Contents

Description

This testcase will check whether Tor can communicate with the Tor network and allow Firefox to proxy connections to the Tor SOCKS port.

Setup

  1. Ensure the Package-x-generic-16.pngtor and Package-x-generic-16.pngfirefox packages are installed.
  2. The /etc/tor/torrc configuration file should be the default one included with the package.

How to test

  1. In Firefox, browse to https://check.torproject.org/?lang=en-US
  2. sudo systemctl start tor.service
  3. Configure Firefox to connect to SOCKS proxy:
    1. Open the proxy settings: Edit → Preferences → Advanced → Network → Settings
    2. Select Manual proxy configuration
    3. Select SOCKS v5 connection type
    4. Set SOCKS Host as: localhost
    5. Set SOCKS Port as: 9050
  4. Browse again to https://check.torproject.org/?lang=en-US

Expected Results

  1. The first visit to the check website should say: Sorry. You are not using Tor.
  2. After having started tor and configured Firefox, the second visit to the check website should say: Congratulations. Your browser is configured to use Tor.