Integrating Soap UI and TestComplete
Hi,
I just wanted to pick the brains of people who probably has the same requirement as we do. We're trying to integrate our ReadyAPI Project with our testcomplete tests. And I was just wondering if someone can share how they've done it in the past.
So here's the scenario:
We submit a request via ReadyAPI with randomly generated data generated inside ReadyAPI and then we have to check how the UI displays the data. The problem is, we have no way of letting TestComplete know of the data since it was generated by ReadyAPI.
What I think would work:
Option 1 - Create a script in ReadyAPI that dumps all the information to a json file and just have a handler in TestComplete that reads the json file.
Option 2 - Sink all the data into a database and just have ReadyAPI write into that one and TestComplete read into it
Option 3 - Have TestComplete generate the data, pass it to ReadyAPI by use of variables. [This would be my preferred way to handle things if we can pass TestCase and TestSuites as Variables/Parameters so we don't have to create each ReadyAPI Test as one entry in TestComplete]
All options would have complications when there are more type of requests our API should handle (we can have about 100 different request bodies hitting our integration end point) so we're really thinking this through before we actually start building something to integrate the two applications.
This is how we do a small subset of our tests and so far it has been working great. Due to lack of ReadyAPI licenses we even had to make an XML Editor that allowed us to make a sort of Environment functionality to SoapUI.
This is actually approach 3 which has its own pros and cons.