* bin/create_subscribers.pl: add customers field
so we can list them
- spaces in Content-Length
- remove XML content
- sip-if-match value is dynamic
- detect ids in more internal headers
- customers id can now be detected
Change-Id: Ib75c48a8954d848add95dd50d77cc6ffc94df210
keep IP/port selections on scenario_ids.yml
* bin/scenario.pl creates scenario_ids.yml with IP/port info too
* bin/create_subscribers.yml reads scenario_ids.yml first now
different IP/port/mport for peers!!
Change-Id: If8f07174bcacbf093bcbb14cd81b876c36c7e404
Using incoming-foreign-dom.scenarios.test as domain produced errors in
our checks
> Argument "" isn't numeric in subtraction (-) at scenarios/incoming_foreign_dom/0003_test.yml.tt2 line 62.
* bin/create_subscribers.pl: replace '-' as '_' to avoid this problem
Change-Id: I0f9e5defbff238f313c19907ec60644a51f7f918
- invite_queue
- invite_group_serial
Some other tests has been prepared but not yet completed
- invite_group_parallel
- invite_xfer_blind_caller
- invite_xfer_blind_callee
Change-Id: I77f80495e85ba8691d4dc22c7807b945fac3325e
This module is more compliant and it is faster than the pure perl
implementation. The latter is also deprecated in favor of the former
(see man YAML for more details).
Change-Id: I15240ac294476c0d9cc30e36e622adc7e07db136
* support dynamic checks with defined ids
* create_subscribers.pl generates scenario/scenario_ids.yml
* create_peers.pl will add peers info to it
* generate_test.pl will produce the final test_0XXX.tt2 with the
proper values
* we put the scenario_ids.yml in log if debug is needed
Example of scenarios_ids.yml:
---
customer_test:
id: 7
peer_00_host0:
id: 95
spce_test:
testuser1003:
uuid: 15dd6b9a-1b83-4d74-b630-be05d3fada77
Example of checks:
- return|ROUTE_SET_CALLEE_DIALOG:
$avp(lua_dlg_profile): [
"totalaccount:[% customer_test.id %]",
"totaluser:[% spce_test.testuser1003.uuid %]",
"total", "account:[% customer_test.id %]",
"user:[% spce_test.testuser1003.uuid %]"
]
Change-Id: I3d81bcae0865d9861b4f721618f2bc21f2db14b8