, , , . , - -. . , , , -, , firstName, .
, - , , - ( ) .
- (, , ) ui- , . UI , , ( ) . (UX), .
, , , . , . - , , , , ... . , 10. , , , . , , , , .
So, if this is a scenario in which you have a binding to these two types of verification, then it is better to use verification on the service side, as well as on the client side, you transmit information (asynchronously) for servicing and returning the result back. Something like this is a third-party decision . If you have a combination of these validations in one scenario, then I would not even bother to split them only on the user interface and service checks, for the whole test I would go to the service.