org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 2 errors Field error in object 'userDTO' on field 'ageGroupId': rejected value [18 - 25]; codes [typeMismatch.userDTO.ageGroupId,typeMismatch.ageGroupId,typeMismatch.java.lang.Long,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [userDTO.ageGroupId,ageGroupId]; arguments []; default message [ageGroupId]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Long' for property 'ageGroupId'; nested exception is java.lang.NumberFormatException: For input string: "18-25"] Field error in object 'userDTO' on field 'nationalityId': rejected value [AFGHANISTAN]; codes [typeMismatch.userDTO.nationalityId,typeMismatch.nationalityId,typeMismatch.java.lang.Long,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [userDTO.nationalityId,nationalityId]; arguments []; default message [nationalityId]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Long' for property 'nationalityId'; nested exception is java.lang.NumberFormatException: For input string: "AFGHANISTAN"]
From the error message the server expects for your field a number in a Java long format but it seems that in your request you sent a string instead with "AFGHANISTAN" as value.
You should check your request to make sure that you are sending the right data for your field by comparing with the recorded request.
The values stored in the application database for the same are as string, in this case where do i do the changes in noe load to save it as string
You should check in your script if there's a type associated to that tag "nationalityId". Also could you confirm if you got that error from the server or in the request when it is sent by NeoLoad?