testing products restful api