jmeter判断数据库中是否存在相应记录可以使用count 配合case,然后再加个断言,后面用 变量JMeterThread.last_sample_ok来判断是否存在相应记录
select case count(1) when 1 then 'true' else 'false' end FROM gringotts.t_user where id = 18239391