Files
sqlpage--sqlpage/tests/sql_test_files/it_works_fetch_simple.sql
lovasoa e7951ee721 dynamic port choice
also: better error messages in tests
2025-05-26 00:46:04 +02:00

7 lines
253 B
SQL

set url = 'http://localhost:' || $echo_port || '/hello_world';
set res = sqlpage.fetch($url);
select 'text' as component,
case
when $res LIKE 'GET /hello_world%' then 'It works !'
else 'It failed ! Got: ' || $res
end as contents;