java test resp