REST Request Centralised Management
Hi all
First post for me - I have used SoapUI for a while and have an established SoapUI OS test pack operationg with some 40 definitions and 2000+ data driven tests.
The service definitions are evolving as new features are added to the software under test - this is fine for the headers etc as these can be managed at the Method level and are inherited at the test step level. Some REST service definitions can be reused many times in test steps and all payloads will contain content that is data-driven. The test cases are usually multiple REST service calls sequenced into a journey.
What I am struggling with is managing the XML payloads for the POST and PUT requests. Currently these are managed in the steps themselves and this makes it a pain when a change comes along to, say add a new node to the payload.
I have an idea to override the contents of each step from a central location via a Groovy setup script, which I know is possible but I feel may not be the most optimum solution. Is there an easier / more central way of managing these teststep payloads centrally in a similar manner to the headers?
Cheers
TEB