Victor Seva
f67b5bd9c6
MT#6565 enable invite_peerout_rewrite_pv_regex. Fix typo check.py
...
Change-Id: Ied814cce246492da171d6966fdcd6aa0c13816fc
11 years ago
Victor Seva
8df70164ea
MT#6565 CE/PRO differences due to sems version
...
- fix tap-test
- fix bin/generate_test.sh: define CE too
- scenarios:
* invite_callforward
* invite_voicebox
Change-Id: I8ebad6ea580003e8e072204ad48bc4533eba0fe9
11 years ago
Victor Seva
e1a76fb1f4
MT#6565 kamailio saving json using uuid for tests
...
- fix check.py comparation when int -> string
- disable tcpdump by default ( new option -K to enable it)
- fix graph_flow for json ( new option --json )
Change-Id: I25f49ef6303b4e2e28c34fefd7860c744e6c3250
11 years ago
Alexander Lutay
78fc7f0dd8
MT#13297 pid_watcher.py will trigger check_all on event 'modified'
...
Change-Id: I77dad7f6757ecf5b471341732b9cd003efb1dece
11 years ago
Victor Seva
ef49f263aa
MT#11921 fix tap-test errors. fix commit 2383cafe85
...
Change-Id: I050f117618df6364b6059a1cc69f0316f0654ab6
11 years ago
Victor Seva
2383cafe85
MT#11921 fix tap-test errors and move unit-tests to tests dir
...
Change-Id: I5a76db17a3d9178dca42440f50b5c9af1837d80c
11 years ago
Victor Seva
1bce64b713
MT#6499 pid_watcher.py: create logging file here not by run_tests.sh
...
This fixes strange problem having empty log/pid_watcher.log file
12 years ago
Victor Seva
c4e7d63886
Revert "MT#7533 stop rate-o-mat service"
...
changes on heartbeat config makes it to restart on apply.
This reverts commit 6a327ad7f1 .
12 years ago
Victor Seva
6a327ad7f1
MT#7533 stop rate-o-mat service
...
pid_wached.py: add services that should to stop too
12 years ago
Victor Seva
e972c3c70a
MT#8753 protection of run "bin/config_debug.pl on" twice in a row
...
Avoid overwrite config.yml.orig if already exists
and don't modify /etc/hosts if is already changed.
12 years ago
Victor Seva
637eb0521f
MT#8721 run sipp on background to get the proper pid on responder scenario
12 years ago
Alexander Lutay
9518075d29
MT#7531 Add ERROR label for failed TAP cases
12 years ago
Victor Seva
3fdb96faf8
MT#7349 pid_watcher.py: update sems dir too.
12 years ago
Victor Seva
7942d5e8ce
MT#7349 pid_watcher.py: update sems pid filename
12 years ago
Victor Seva
73fd5c7797
MT#7109 create private memory per_pid file
12 years ago
Victor Seva
42491e6e5e
MT#7109 add prefix to headers
12 years ago
Victor Seva
fa9ce94dbe
MT#7109 Add first SUM row to private mem stat file
12 years ago
Victor Seva
ea6c1b4949
MT#7109 Add mem stats
...
Initial and final stats are created on mem dir.
12 years ago
Victor Seva
f5b9fda5c4
MT#6817 add pid_watcher.py
...
Use inotify in order to monitor the pid change for some services
12 years ago
Victor Seva
601f7c5ea4
MT#6543 generate tap file even if no sip message yaml exists
12 years ago
Victor Seva
62c95620e8
MT#6499 bin/config_debug.pl: more flexible localhost match
12 years ago
Victor Seva
9934dcf59d
MT#6165 ulog_parser.pl: add more info on error Call-ID
12 years ago
Victor Seva
9e8a299c2a
MT#6133 use sipwise user when connecting to mysql
12 years ago
Victor Seva
cf4ce574a4
MT#6055 clean kamailio location table
12 years ago
Victor Seva
89d4e27bbe
MT#5947 Add a way to use a wrong password for auth on the caller
12 years ago
Victor Seva
053b69b092
MT#5947 remove possible banned user
12 years ago
Victor Seva
82d954384c
MT#5789 fix cfb23bb974
12 years ago
Victor Seva
58b0eb8532
MT#5887 fix a17d3c9ef4
12 years ago
Victor Seva
a17d3c9ef4
MT#5887 copy the original config.yml file and restore it after the tests.
12 years ago
Victor Seva
cfb23bb974
MT#5789 foreign domain support
...
- bin/config_debug.pl: we need to deactivate dns_cache on lb
- bin/scenario.pl: generates scenario hosts file + adds info on scenario.csv
- bin/check.sh: uses the info from scenario.csv and hosts files
12 years ago
Victor Seva
8a7e878060
MT#5633 bin/ulog_parser.pl: fix 7facd87c61
...
Now we are sending HTTP querys. Fix the detection of the proper first line
with the right pid.
12 years ago
Victor Seva
3b62b419c8
MT#5633 add presence support on scenario.
...
Add XCap client script.
12 years ago
Victor Seva
babfc1485b
MT#5633 bin/config_debug.pl: activate presence
12 years ago
Victor Seva
608c604a33
MT#5757 bin/check.sh: add -g option to generate graph only if test fails
12 years ago
Victor Seva
4ff4f70cd0
MT#5733 use transport option on sipp
12 years ago
Victor Seva
c20e75bd64
MT#5733 add transport to scenario.csv file
12 years ago
Victor Seva
9db218c0a1
MT#5733 bin/create_peers.pl: fix warning
12 years ago
Victor Seva
7facd87c61
bin/ulog_parser.pl: filter lines by kamailio pid.
...
We don't want to parse any line not for DEBUG and comming from another pid.
We have only one child to process messages.
12 years ago
Victor Seva
4c0a6cf6ff
bin/check.sh: Add check for deactivated files not in scenario.csv
12 years ago
Victor Seva
560e36a662
MT#4009 Add GPL licence to all scripts
13 years ago
Victor Seva
4db93a79e3
MT#4817 add tests for not match rules
13 years ago
Victor Seva
77e1e2f71c
MT#4817 Add not match rule.
...
Use '_:NOT:_' as prefix for negative rules to match
13 years ago
Victor Seva
5f62e52b8e
Add tests for sip_in and sip_out
13 years ago
Victor Seva
3b7e2d4938
bin/show_flow.pl: add missing option to help output
13 years ago
Victor Seva
300bb0f286
bin/check.sh: do not force skip test on skip parse
13 years ago
Victor Seva
e091e7d0b7
bin/check.sh: fix skip creation option
13 years ago
Michael Prokop
7471d7d324
Switch from /usr/local/src to /usr/share
...
Addressing:
| 00:53:47 3m51.5s ERROR: FAIL: After purging files have disappeared:
| 00:53:47 /usr/local/src/ owned by: kamailio-config-tests
-- https://jenkins.mgm.sipwise.com/view/piuparts/job/kamailio-config-tests-piuparts/68/console
Acked-by: Victor Seva
13 years ago
Victor Seva
e308ca7054
bin/restart_log.sh: Use the new kamailio RPC command to reset the msgid
13 years ago
Victor Seva
8110096f4a
bin/set_subscribers_callforward.pl: Added voicebox preferences
13 years ago
Victor Seva
aaef97d2fd
bin/restart_log.sh: force kill kamailio and check if it starts
13 years ago
Victor Seva
fadc242117
bin/check.sh: wait between sip_scenarios.
13 years ago
Victor Seva
96ff528242
bin/create_ncos.pl: Added helper script to add ncos levels on ncos.yml
...
bin/check.sh: Call create_ncos.pl when needed.
13 years ago
Victor Seva
ea3045d4ac
fix
13 years ago
Victor Seva
5b540a96c4
bin/check.sh: use renamed script. Must be exec before create_peers.pl
...
bin/set_preferences.pl: Create prefs for domain, peer or subscriber
domain: "@domain.whatever"
peer: "peer_host" as on peer.yml
subscriber: "user@domain.whatever"
13 years ago
Victor Seva
1221c600cd
bin/check.sh: Add create_rewrite_rules script
13 years ago
Victor Seva
79a8195738
bin/create_rewrite_rules.pl: helper script to create/delete rewrite_rules described at scenario.yml files
13 years ago
Victor Seva
a4fbfec180
bin/check.sh: try to get the kamailio.log on restart_log.sh error
13 years ago
Victor Seva
5ec884ae36
bin/check.sh: fix last commit. Show no error
13 years ago
Victor Seva
659dadf422
bin/check.sh: force error if there is any errors.log from sipp
13 years ago
Victor Seva
98fef050e3
bin/sipp.sh: Disable retransmission in UDP mode.
13 years ago
Victor Seva
99d3de17e6
Peer responders
...
bin/upgrade_peer.pl: Added script to upgrade ip:host peer info.
- This is neeeded because we don't know for sure the port used on a responder
bin/check.sh: call upgrade_peerl script if needed
bin/scenario.pl: new peer_host option
13 years ago
Victor Seva
bf6a35ab01
Create subscribers from scenarios.yml file.
...
- Now subscribers can have aliases.
- No duplicate info in scenarios.
13 years ago
Victor Seva
babfec8eec
bin/check.sh: Clean generated tests before generate again them.
13 years ago
Victor Seva
0d2e020948
bin/check.sh: clean generated csv/reg.xml files before run again.
13 years ago
Victor Seva
073dbc1309
bin/scenario.pl: remove warning if no username or password.
13 years ago
Victor Seva
ed0734236e
bin/scenario.pl: fix res_id
13 years ago
Victor Seva
28834f70de
bin/scenario.pl: Added active option for responders.
...
sipp cannot start with a csv with no values.
13 years ago
Victor Seva
33819b4027
bin/check: fix delete_locations
13 years ago
Victor Seva
63c4f686be
Reorganize the way scenarios are created.
...
scenario.yml:
scenarios:
- ip: 127.126.0.1
user: testuser1002
domain: spce.test
username: testuser1002
password: testuser
responders:
- ip: 127.1.0.1
number: 4311003
user: testuser1003
domain: spce.test
register: yes
username: testuser1003
password: testuser
bin/scenario.pl: script to generate the csv files from a scenario.yml
bin/check.sh:
- calls bin/scenario.pl to generate needed csv files.
- uses the generated scenario.csv file to know the ip of the caller/callee.
- don't need to do any unreg. All locations are removed before run any scenario.
bin/sipp.sh:
- callee.csv and caller.csv are now in the test dir
- no peer.csv
13 years ago
Victor Seva
ee99f5a4ab
bin/check.sh: copy kamailio-lb and sems logs to LOG_DIR
13 years ago
Victor Seva
56b0e17c67
bin/restart_log.sh: clean kamailio-lb and sems logs. No restart is done.
13 years ago
Victor Seva
66c9b1ed0d
bin/config_debug.pl: Added sems debug
13 years ago
Victor Seva
31517ff786
bin/check.sh: fix last commit. port is not local var
13 years ago
Victor Seva
3828c78741
bin/check.sh: Added capture logs to debug
13 years ago
Victor Seva
32bee68c62
Adapt bin/sipp.h bin/check.sh to peer
...
bin/sipp.sh:
- Added peer.csv info file when needed.
- Added ip option to choose the sending IP
bin/check.sh:
- Use new sipp.sh IP option
13 years ago
Victor Seva
e14771eeef
bin/check.sh: Add/Delete peers
13 years ago
Victor Seva
bb2f289b19
bin/create_peers.pl: script to create/delete peers from peer.yml input
13 years ago
Victor Seva
fad48331b1
bin/config_debug.pl: activate debug on lb too.
13 years ago
Victor Seva
98d62f27da
bin/set_subscribers_preferences.pl: fix typo
13 years ago
Victor Seva
118615080a
Use proper interface config for scripts.
13 years ago
Victor Seva
81259f39dd
bin/check.sh: fix do not delete domain on sipp error
13 years ago
Victor Seva
4bbfe32cd0
bin/check.py: generate tap file if the message cannot be loaded.
13 years ago
Victor Seva
2628aa7fbe
split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files.
13 years ago
Victor Seva
0d1cab6290
remove scripts added to ngcp-ossbss-clients-perl package.
13 years ago
Victor Seva
815edd08ff
bin/check.sh: MPORT fix. introduce step arg
13 years ago
Victor Seva
e8ad1d10f3
bin/check.sh: fix locations. Use proper ENV var
13 years ago
Victor Seva
167253c82a
bin/check.sh: delete callee locations before any tests. Check port is not in use.
13 years ago
Victor Seva
b5b0d3b3f7
move set domain of scenarios/calle[r|e].csv files from sipp.sh to config_debug.pl script.
...
Do it just ones!
13 years ago
Victor Seva
d7a103d959
bin/check.sh: exit with error on create_domain.pl or create_subscribers.pl error.
13 years ago
Victor Seva
7e481a8784
bin/config_debug.pl: fix on PRO
13 years ago
Victor Seva
9bbb257e0f
Added timestamp on messages
13 years ago
Victor Seva
631dca6609
Added more subscribers
13 years ago
Victor Seva
fa595bf348
bin/check.py: added comment on sip_out
13 years ago
Victor Seva
13ea3ac85a
bin/create_subscribers.pl: remove output
...
run_tests.sh: define start and end output
13 years ago
Victor Seva
aa879382ad
bin/ulog_parser.pl: do not mix msg_out.
13 years ago
Victor Seva
caff0d6c6c
bin/set_subscribers_preferences.pl: remove output
13 years ago
Victor Seva
ba84e5cece
bin/check.sh: kill responder after the 5 secs wait. Sleep 1 sec before copy the kamailio log.
13 years ago
Victor Seva
4ac5657bd4
bin/ulog_parser.pl: error if found flow info without json info
13 years ago
Victor Seva
083a0a51f8
Deactivate flow graphs by default
13 years ago
Victor Seva
5831b32002
bin/check.sh: check SCEN_CHECK_DIR before running anything
13 years ago
Victor Seva
5145ff7367
bin/check.sh: different port and media port for each responder.
...
bin/sipp.sh: MPORT has no default
13 years ago
Victor Seva
c7c2790ce3
run_test.sh: do not generate tests files.
...
bin/check.sh: generate the test files per check
13 years ago
Victor Seva
5a1d22c438
bin/sipp.sh: fix BASE_DIR.
13 years ago
Victor Seva
3b9d242f2d
bin/check.sh: return error if any needed file does not exist.
13 years ago
Victor Seva
a7fdc32d89
BASE_DIR can be set by ENV variable
13 years ago
Victor Seva
e4cf4a6621
bin/check.sh: fix call to speeddial script. Added more output info.
13 years ago
Victor Seva
e5f674da17
bin/generate.sh: Added directory option
13 years ago
Victor Seva
1d398361dd
Added script to add speeddial config. Run it if exists speeddial.yml on bin/check.sh.
13 years ago
Victor Seva
d8338f0f74
Removed output from sipp
13 years ago
Victor Seva
1e01dd8a74
bin/check.sh: Now can run more than one sipp_scenario.
13 years ago
Victor Seva
e1b117168b
bin/sipp.sh: Added port, media port, timeout, help options
13 years ago
Victor Seva
f21f32e7ef
bin/check.sh: Call set_subscribers_callforward.pl if the config file is present.
13 years ago
Victor Seva
0886acfbdd
bin/set_subscribers_callforward.pl: script to set subscriber callforward prefs from a yml file
13 years ago
Victor Seva
7914804505
Reorganize scripts: all scripts on bin directory except run_tests.sh
13 years ago