Full end-to-end smoke test against live cita API (194.179.69.48:443):
- TLS pre-connect: 415ms, TCP_NODELAY set, connection reused
- getHorasCitas: 200, 9 slots returned
- Booking 15:15: 200, 'Fecha posterior' (expected pre-midnight)
- Skew retry 43ms x5: verified retry stack
- Post-verify: slot still free, no accidental citas
- TLS tunnel reuse PROVEN: same fd (3), same port (53880), only 1 TCP conn in ss
Fixes in this commit:
- Fixed 3 stale comments referencing old 200ms skew retry delay (now 43ms)
(lines 276, 295, 372) — line 351 kept as intentional comparison
- All 56 tests pass
Changes:
- book_final.py: comment fixes (lines 276, 295, 351, 372)
- test_book_final.py: unchanged (40 tests)
- test_connection_reuse.py: unchanged (16 tests)
15 lines
563 B
JavaScript
15 lines
563 B
JavaScript
/**
|
|
* Created by 67398834 on 29/05/2018.
|
|
*/
|
|
|
|
// DESI
|
|
//var url_base = "https://t-webservices.alicante.es/WsCitaPreviaPublic-RESTWebService-context-root/rest/1"
|
|
//var url_base = "https://t-gf3:31381/WsCitaPreviaPublic/rest/1";
|
|
|
|
// PROD
|
|
var url_base = "https://webservices.alicante.es/WsCitaPreviaPublic-RESTWebService-context-root/rest/1"
|
|
//var url_base = "https://gf3:31381/WsCitaPreviaPublic/rest/1"
|
|
|
|
//var url_base = "http://VX3511006DC0084:7101/WsCitaPreviaPublic/rest/1";
|
|
//var url_base_antigua = "http://127.0.0.1:7101/WsCitaPrevia/rest/v2";
|