Thanks for you replies both! Yes, my issue is not solved at all nmrao but as the topic of my preceding subject was particular and the reply of groovyguy was related to what I aked, I marked it as solve.
I did not take the time to take a look on your script groovyguy but I will, and really thanks to have shared it for my use.
I will precise my need, maybe you could help me to think and tell me about the best method to do it.
In my work, following the migration of a web service, I have to send a wide range of requests in order to be the most exhaustive as possible to test two differents binding interface. The requests sent must be exactly the same from one binding interface to the other.
My test must idenfy the discrepancies between both received response. So what's the best method to achieve that ?
Knowing that, in general cases where everything is good, I can create a simple contains assertion based on a "Get Data" retrieving which permit me to compare the content of both responses.
In particular cases, where services integrate business logic, I am forced to use a complex message assertion which I set line by line.
In my test case, I create 4 steps :
1) Response from first binding interface.
2) A propety transfer step where I create a transfer value for each node in my xml response from the first binding interface. 3) A properties step where I created a property for each node value (the name of the property is the name of my node) and the value is filled thanks to my property transfer step.
4) Response from the second binding inteface where the complex message assertion is set. This allow me to compare the expected result from Response1 (Node value) to the actual result (Node value from Response 2) one by one.
Reasoning is pretty simple, but the issue appears when responses received are really long for instance thousands of xml line; it takes me hours and sometimes days to build my test, and it's really heavy to implement it.
As I'm new in testing domain in using SoapUI Pro and not so familiar in programming languages in general and especially in groovy, it's really complicated for me to set up an automated process to point out every difference from this use case.
Moreover, as I'm alone as tester in my team, I need to build everything by myself, and my technical knowledge does not permit me to find the best way to achieve my purpose.
So let's discuss about your suggestions, you have really more experience than I have so may be you will have some ideas and show me the best way to avoid wasting time!
If you need more details, I would be happy to provide you more.
Also, do not hesitate to tell me if I did not present the subject clearly.
I hope that we wil have a great collaboration together!