testing/server: add exec resize endpoint