You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,21 +12,21 @@ Our modified version of the wptserve HTTP server implementation can be found in
12
12
- Clone this repository: `git clone [email protected]:header-testing/header-testing.git`
13
13
- Run the setup file: `cd header-testing/_hp`, `./setup.bash` (reopen all terminals or run `source ~/.bashrc` afterwards)
14
14
- Configure DB settings in [config.json](_hp/tools/config.json); Make sure to create a database with the correct name
15
-
- Setup the database: `cd _hp/tools && poetry run python models.py`
16
-
- Setup certs: either remove `.demo` from the files in `_hp/tools/certs/` to use self-signed certs or add your own certs here
15
+
- Setup the database: `cd _hp/hp/tools && poetry run python models.py`
16
+
- Setup certs: either remove `.demo` from the files in `_hp/hp/tools/certs/` to use self-signed certs or add your own certs here
17
17
18
18
## Run Instructions
19
19
- Always start the WPT server first (from the top-most folder): `poetry run -C _hp python wpt serve --config _hp/wpt-config.json`
20
-
- Create the basic and parsing responses: Run `cd _hp/tools && poetry run python create_responses.py` (basic), run `cd analysis` and execute `response_header_generation.ipynb` to generate the parsing responses.
20
+
- Create the basic and parsing responses: Run `cd _hp/hp/tools && poetry run python create_responses.py` (basic), run `cd analysis` and execute `response_header_generation.ipynb` to generate the parsing responses.
21
21
- Manually check if the server and the tests are working: Visit http://sub.headers.websec.saarland:80/_hp/tests/framing.sub.html
22
22
- Automatic testrunners:
23
-
-`cd _hp/tools/crawler`
23
+
-`cd _hp/hp/tools/crawler`
24
24
- Android: `poetry run python android_intent.py` (Additional config required)
25
25
- MacOS/Ubuntu: `poetry run python desktop_selenium.py` (For a quick test run: `poetry run python desktop_selenium.py --debug_browsers --resp_type debug --ignore_certs`)
26
26
- iPadOS/iOS: `poetry run python desktop_selenium.py ----gen_page_runner --page_runner_json urls.json --max_urls_until_restart 10000"`, then visit the URLs in that file manually
27
27
- Analysis:
28
-
- Run `cd _hp/tools/analysis && poetry run jupyter-lab`
29
-
- Open `_hp/tools/analysis/main_analysis_desktop_basic+parsing.ipynb` (Also contains the mobile analysis)
28
+
- Run `cd _hp/hp/tools/analysis && poetry run jupyter-lab`
29
+
- Open `_hp/hp/tools/analysis/main_analysis_desktop_basic+parsing.ipynb` (Also contains the mobile analysis)
30
30
31
31
## Inventory
32
32
-`_hp/`: All test and analysis code for the paper:
@@ -36,7 +36,7 @@ Our modified version of the wptserve HTTP server implementation can be found in
36
36
-`testharness.sub.js`: Modified testharness.js to store the recorded output additonally to the test status
37
37
-`server/`: Custom server endpoints to save data in our database and serve the correct responses from the DB
38
38
-`tests/`: The template pages containing the test functions for the 12 tested features
0 commit comments