Contributions
Data Driven tests with Mock Response
I am evaluating the soapUI Pro version for purchase. The two features that I want to test to make sure soapUI is useful for us are - the data driven tests and - checking if long running tests, e.g. a few days long, are possible without memory problems. I made a simple test scenario a test this using the two week trial license. The question I have might be for the pro forum but unless I can make this scenario work, I am not going to convince anyone over here to buy the license. So I am hoping somebody in this forum might know the answer. I have - DataSource Step with one parameter used in a - Soap Request Step send to a server - that has to send back a response to our next step, a Mock Response Step - To conclude there is a DataSource Loop Step to go back to the next value in the DataSource. When running the first pass trough the loop is ok, but the second one gets stuck on the Mock Response Step, it seems like this is not waiting correctly for the response during the second pass. Any idea what might be the problem? If I look at the server log of the server that tries to send to the Mock Response Step, it cannot send because it doesn't find the Mock Service anymore.841Views0likes0CommentsCompare if two requests are equal
I have the following situation: I sent a request to the web service that has to be tested (TST), I used a test request for this. The web service makes some performs some checks on the the request and if all is ok forwards it as a new request to another endpoint, for which I have a mock response step setup. This all works perfectly only I would like to know how I can easily assert that the message that is forwarded by TST to the mock response is the same as the one sent in my original request. The content has to be the same but it does not matter if e.g. there is some extra white-space etc. Maybe I can somehow perform the equivalent of an Format XML on the original request and the forwarded message received by the mock response and then see if they are identical?868Views0likes0Comments