mock query server