Hot answers tagged

1

From RestAssured docs, you can do the following: String json = post(URL_TO_CREATE_ENTITY).asString(); String id = from(json).get("generatedId"); // Or whatever is the name of the attribute with the ID Then you can make a call with this value: String urlToDelete = "{baseUrl}/api/product/" + id + "/deleteActivity" delete(...


Only top voted, non community-wiki answers of a minimum length are eligible