I am getting XML response from xml step and after i have a REST Step which gives me JSON response having same content but in different order so how to compare the two response.
Graphical XML Side-by-Side Comparison - DevTest Solutions - 10.1 - CA Technologies Documentation
Provided that the xml tag nodes and the json structure is identical (identical meaning same objects...names..values), you can implement a common json-to-xml conversion in a filter (a custom filter) to set a new filter value for comparison to the target xml.
Note that the exact structure may not be the same, as the common conversion apis, wrap the xml in a special tag scheme, but you can override it is needed.
Retrieving data ...