'How to wait for xml response to load in rest assured

API responses currently we are working on are in xml format. We suspect our test cases in rest assured are failing because we are not really waiting for the response to receive completely.

Added a line to check status code but we get 200 everytime.

Any other possible solution to wait for the complete xml response to receive ?

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source