In REST Assured, how do I solve UnrecognizedPropertyException when mapping response to an object?
In REST Assured, how do I solve UnrecognizedPropertyException when mapping response to an object? I am new to REST Assured API testing, I have already added jackson-databind, jackson-annotations and jackson-core All 2.9.6 versions to the library. Below is my code: public class SerializeAndDeserialize { @Test public void RegistrationSuccessful() { RestAssured.baseURI ="http://restapi.demoqa.com/customer"; RequestSpecification request = RestAssured.given(); JSONObject requestParams = new JSONObject(); requestParams.put("FirstName", "Virkjdender"); // Cast requestParams.put("LastName", "Scklxjingh"); requestParams.put("UserName", "63userf2d3cn,mxd2011"); requestParams.put("Password", "passwors000mxzmd1"); requestParams.put("Email", "ed26dfdasdf39@gmail.com"); request.body(requestParams.toJSONString()); Response response = request.post...
