Commit graph

580 commits

Author SHA1 Message Date
Alfredo Cardigliano
8b5327ff79 Add sleep to make sure the scripts complete and have more determinism 2021-02-15 11:34:11 +01:00
Alfredo Cardigliano
cc79956fe3 Store conflicts in a folder for debugging 2021-02-12 18:17:05 +01:00
Alfredo Cardigliano
f245caf83c Deterministic selection of flow risk 2021-02-12 17:47:54 +01:00
Alfredo Cardigliano
c1f2763bfa Add more alerts tests 2021-02-12 16:59:27 +01:00
Alfredo Cardigliano
b07f657b26 Add more flow risk test. Add missing output. 2021-02-12 16:07:45 +01:00
Alfredo Cardigliano
bec63ee108 Add more tests for tls alerts 2021-02-12 16:01:07 +01:00
Alfredo Cardigliano
2dc85478c0 Add more pcap for tests 2021-02-12 16:00:31 +01:00
Alfredo Cardigliano
b1ec25319f Add more tests for alerts 2021-02-12 15:10:49 +01:00
Alfredo Cardigliano
7f140afa94 Add option to keep ntopng running for debugging. Print help. 2021-02-12 12:43:06 +01:00
Alfredo Cardigliano
0ff8790412 Fix test localnet 2021-02-11 16:39:00 +01:00
Alfredo Cardigliano
7bee78fe75 Sort modules by prio and then by name to provide deterministic results 2021-02-11 16:28:41 +01:00
Alfredo Cardigliano
d60c5ea420 Ignore spaces in output comparison 2021-02-11 15:56:03 +01:00
Alfredo Cardigliano
a96dca0717 Update test results 2021-02-11 12:04:16 +01:00
Alfredo Cardigliano
0cc8b18f90 ntopng log processing 2021-02-11 11:13:16 +01:00
Alfredo Cardigliano
b3d8f0b2a3 Catch more errors 2021-02-11 10:36:00 +01:00
Alfredo Cardigliano
05e8a732c3 Change http port for running tests 2021-02-10 09:57:50 +01:00
Alfredo Cardigliano
447b471528 Add -D option to set the debug level 2021-02-09 18:32:34 +01:00
Alfredo Cardigliano
9bf746ef1a Add localnet to test get_interface_data_01 2021-02-09 14:57:13 +01:00
Alfredo Cardigliano
2f35bfe405 Move local networks configuration to the test scripts 2021-02-09 14:43:50 +01:00
Simone Mainardi
a8ded20f06 Updates get_host_custom_data_01 test cases 2021-02-09 14:31:57 +01:00
Simone Mainardi
30733bcc6a Updates remaining test cases 2021-02-09 14:16:20 +01:00
Simone Mainardi
fcf504caf4 Updates get_host_l7_stats* test cases 2021-02-09 14:05:39 +01:00
Simone Mainardi
3dfa6db525 Updates alert test cases 2021-02-09 12:53:04 +01:00
Simone Mainardi
4630f35609 Updates get_host_data* test cases 2021-02-09 12:32:03 +01:00
Simone Mainardi
e3da52a0b4 Updates get_interface_l7_stats* test cases 2021-02-09 12:14:42 +01:00
Simone Mainardi
e16cf845ea Implements test case for interface broadcast domains 2021-02-09 12:08:15 +01:00
Alfredo Cardigliano
1789a6b35e Tests fixes 2021-02-09 10:41:29 +01:00
Simone Mainardi
c6805d07b9 Fixes Redis error severity 2021-02-09 09:30:01 +01:00
Simone Mainardi
679570b5ac Fixes crash when filtering hosts in flows page with view interface
Fixes #5030
2021-02-09 09:26:54 +01:00
Alfredo Cardigliano
ceb0c0fdda Add instructions to write new tests 2021-02-08 17:56:29 +01:00
Alfredo Cardigliano
d89ddafbf6 Check presence of the ntopng binary. Check presence of tests output. 2021-02-05 14:49:16 +01:00
Alfredo Cardigliano
577f004b1a Add run.sh to run all available tests 2021-02-05 10:19:33 +01:00
Alfredo Cardigliano
7a16c58485 Update get_scripts_config_01 test output 2021-02-05 09:14:32 +01:00
Alfredo Cardigliano
e09c8de6d5 Add flow alert test for alert_flow_risk 2021-02-03 19:14:58 +01:00
Alfredo Cardigliano
e95e6153a6 Add messages about leaks from the sanitizer to the log if any 2021-02-03 18:54:20 +01:00
Alfredo Cardigliano
6e215385c2 Fix counter 2021-02-03 16:03:23 +01:00
Alfredo Cardigliano
ff809f74c8 Update test output 2021-02-03 15:41:51 +01:00
Alfredo Cardigliano
b9c019cb47 Remove double print 2021-02-03 15:20:23 +01:00
Simone Mainardi
b4ae0f387b Adds pcaps to tests DNS and NTP contacts 2021-02-03 14:55:11 +01:00
Alfredo Cardigliano
47bfe8dc5f Fix notifications. Fix tests. Update test output. 2021-02-03 12:12:58 +01:00
Alfredo Cardigliano
5da3e05315 README update 2021-02-03 10:49:07 +01:00
Alfredo Cardigliano
c76198f79d Add support for notification 2021-02-03 10:48:49 +01:00
Alfredo Cardigliano
41e109438c Test results update 2021-02-02 17:22:55 +01:00
Alfredo Cardigliano
f5532815f4 Add optional script_subdir parameter to toggle all user scripts in toggle_all_user_scripts.lua 2021-02-02 15:45:22 +01:00
Alfredo Cardigliano
f68555ee35 Add option to run a specific test (instead of all) 2021-02-02 15:03:01 +01:00
Alfredo Cardigliano
c1971d53b2 Check ntopng output for errors/warning. Script output cleanup. 2021-02-02 14:36:30 +01:00
Alfredo Cardigliano
c3622ee9be Old tests cleanup 2021-02-02 14:11:30 +01:00
Alfredo Cardigliano
9acd6553ed Tests are now implemented using YAML files 2021-02-02 13:05:43 +01:00
Alfredo Cardigliano
2a08a4a5ae Rest tests improvements. Initial tests output. 2021-02-02 11:44:26 +01:00
Alfredo Cardigliano
ab7c490731 Add support for bash script in --test-script. Add --test-script-pre. Rework script for rest tests. (wip #4989) 2021-02-01 18:52:49 +01:00