Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #12863

Closed
Open
Created Aug 14, 2014 by Arturo Filasto@art

The http_requests test sometimes only performs one request

It has been reported by some users of ooniprobe [1] that in some circumstances (it is unclear currently exactly how to reproduce this) the report for a http_requests test will only contain one request instead of two. Moreover when this occurs the headers_match and body_length_match keys will be wrongly set to true.

Here is a sample report entry that exhibits this behavior:

---
agent: agent
body_length_match: true
body_proportion: 1.0
control_failure: null
experiment_failure: null
factor: 0.8
headers_diff: !!set {}
headers_match: true
input: http://www.scratchgames.com/
requests:
- request:
    body: null
    headers:
    - - User-Agent
      - ['Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6']
    method: GET
    tor: {is_tor: false}
    url: http://www.scratchgames.com/
  response:
    body: <h1>Bad Request (Invalid Hostname)</h1>
    code: 400
    headers:
    - - Date
      - ['Mon, 23 Jun 2014 13:03:09 GMT']
    - - Connection
      - [close]
    - - Content-Type
      - [text/html]
    - - Content-Length
      - ['39']
socksproxy: null
...

[1] https://lists.torproject.org/pipermail/ooni-dev/2014-August/000139.html

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking