Forum Discussion
Hi,
Yes, all that sounds relatively straight forward with SoapUI. A very simple starting point would be something like:
1) Create a Project, TestSuite & TestCase
2) Create new properties on the TestCase to store your work request id and invoice id
3) Create Request TestSteps to make the calls to the APIs of the two systems
4) Add Assertions to the TestSteps to verify the content of the responses
Is this sounding OK to you? Not sure, if this is exactly what you want or how much you already know about SoapUI, but I can obviously go into a lot more detail if required?
Regards,
Rupert
Awesome to know ! I played with SOAPUI before so I have some familiarity and what you are saying makes sense.
Where my curiosity/unfamiliarity comes in is at your 2nd point
- What if I do not have those IDs until after a service call is performed ? Are there properties that allow you to house and reference data that's generated from calls ?
- I want to be able to generate those IDs via service calls and then without me manually intervening take them for use in subsequent calls in the test suite.
- rupert_anderson9 years agoValued Contributor
Hi,
Ok, cool.
Thats fine too, there are two main options:
a) the property transfer TestStep
b) using property expansions to extract the values you need from the response(s) and use them in the requests of the calls to the subsequent services.
This link might help https://www.soapui.org/functional-testing/properties/transferring-properties.html
If you also do some searching on this community for stuff like 'extract from response' there are quite a lot of solved examples e.g.
Of course, I / others can help you with any details.
Basically, all of what you have said is a very common use-case for SoapUI.
Regards,
Rup
- dlmohamed079 years agoNew Contributor
AWESOME ! I was hoping that this was a common use of SOAPUI, I will look over the material you provided. Thanks a bunch !
- rupert_anderson9 years agoValued Contributor
No problem, any issues, please ask - the community should have all you need, but sometimes a few pointers can save a lot of time :-)
Related Content
- 11 years ago
- 13 years ago
- 10 years ago
Recent Discussions
- 15 years ago