cwshugg
43dbbe35cf
minor bugfix in error handling for video streaming test, and a message printed when '-t' can't find a specified test
2022-04-26 14:36:46 -04:00
cwshugg
5555adff24
moved tests between the 'extra' and 'malicious' category, and added a new check for whether or not malicious tests should be run
2022-03-29 08:45:31 -04:00
cwshugg
83ef85d764
quick spacing adjustment
2022-03-28 21:32:37 -04:00
cwshugg
0a94822e39
changed final score printing to use the same set of test names
2022-03-28 21:31:42 -04:00
cwshugg
eca7ce2ff1
fixed issue with new 'verbose' switch and adjusted test categories to print more accurately when running with '-l'
2022-03-28 21:18:18 -04:00
cwshugg
005efe2f5e
added verbose option (new default puts stdout and stderr in /dev/null)
2022-03-28 20:10:48 -04:00
cwshugg
5d9c9688d3
added variation in the combination and order of cookies used in test_auth_wrong_cookie2
2022-03-22 16:47:19 -04:00
cwshugg
e5e78f2682
added test that uses real cookies from web browsers to test a server
2022-03-22 16:40:39 -04:00
cwshugg
04887c2180
changed unit test script to use SIGTERM instead of SIGKILL
2022-03-22 15:54:07 -04:00
cwshugg
e5f3678703
changed the unit tests to print a total
2022-03-22 15:52:38 -04:00
cwshugg
f2b847c9a8
finished implementing the video streaming tests
2022-03-22 15:43:00 -04:00
cwshugg
65de51ebee
added video files necessary for the video tests
2022-03-22 09:17:30 -04:00
cwshugg
859c3d0e6c
added the beginnings of a suite of video-related tests
2022-03-22 00:05:09 -04:00
cwshugg
74e9d678f9
implemented HTML5 fallback tests
2022-03-21 15:31:22 -04:00
bmmurphy
d198dfa158
Fix server_bench adding points on test errors.
2021-05-09 15:43:17 -04:00
Godmar Back
5a798464ad
restart server after IPv6 tests
2021-05-05 17:48:14 -04:00
Godmar Back
97790eb2f5
fix IPv6 tests
2021-05-05 17:18:46 -04:00
cwshugg
f53e27edc3
Removed duplicates of test_auth_flipped_token
and test_auth_wrong_cookie
.
2021-04-27 22:53:58 -04:00
Godmar Back
beffc8ad32
allow both 400 and 403 in test_access_control_private_valid_semantic_token
2021-04-23 09:57:20 -04:00
cwshugg
9efcafa055
Moved new authentication tests to the Single_Conn_Malicious_Case group:
...
- `test_access_control_private_valid_flipped_token` has been renamed to `test_auth_flipped_token`.
- `test_access_control_private_wrong_cookie` has been renamed to `test_auth_wrong_cookie`
The class now has a few more fields to allow these tests to run: `self.private_file`, `self.username`, `self.password`, and `self.session`.
2021-04-19 20:16:04 -04:00
cwshugg
8f0375396c
New Authentication Tests
2021-04-19 14:57:55 -04:00
gback
59d0111af9
Merge branch 'master' into 'master'
...
Add semantic JSON test
See merge request cs3214-staff/pserv!55
2021-04-14 00:35:07 -04:00
Christopher Cerne
89138d7436
Fixed small bug where bench script crashes on error
2020-12-09 11:12:51 -05:00
Jonathan Lacson
0b29928dd3
change the response code to one that makes more sense
2020-12-05 13:13:39 -05:00
Jonathan Lacson
b413f2953c
Add semantic token test
2020-12-05 12:58:22 -05:00
Godmar Back
389cc064ea
properly resolve symlinks if test script is symlinked
2020-08-12 13:36:15 -04:00
Godmar Back
231cad9b49
added JSON.lua
2020-08-12 11:56:47 -04:00
Jonathan Lacson
7629064684
add meaningful error text when test fails
2020-08-12 00:24:22 -04:00
Godmar Back
8cb6f9d2d8
added cs3214bench.lua
2020-08-11 15:03:07 -04:00
Godmar Back
10fce8d45d
added missing test file
2020-08-05 17:09:21 -04:00
Godmar Back
dfb0d80ff3
set extra credit to 1Mrqs
2020-08-05 17:01:46 -04:00
Godmar Back
0bb639cca7
2002 -> 2020 typo fix
2020-08-05 16:59:07 -04:00
Godmar Back
fac1440934
summer 2020 version of server_bench, take 1
2020-08-05 16:51:36 -04:00
Jonathan Lacson
cc24fe2a1d
Manually set URL for IDOR test to workaround newer urllib3/requests versions
2020-08-04 16:49:08 -04:00
Godmar Back
2c641d678e
fix test for IDOR vulnerability by preventing path segment normalization
2020-08-04 10:50:51 -04:00
Godmar Back
7cbe3af927
updates for summer 2020
...
this update adds the unit tests as part of the student distribution
2020-08-03 23:33:16 -04:00