alibaba82
18 years agoSuper Contributor
Update Definition Question / Suggestion
Hello,
This is going back to the issue of when a WSDL changes how to update the requests that are present in testcases.
If a WSDL changes I do 'update definition' and check 'recreate requests'. This will ensure that my interface has the definition from the latest schema.
I then go to each of my requests in each of my testcases to click 'recreate a default request...' and select 'yes' for 'keeping existing values'. This will ensure that if new element were present in the WSDL they will be added in the request. I think this will also remove elements from the request if they are no longer in the schema ??
so First, is my assumption correct that the above scenario does indeed update my testcase request objects to reference the latest schema ?
If so, couldn't there be a feature that will recursively call 'recreate default request ...' on each request in each testcase inside the project. This function will be called after 'update definition' and will ensure that the new schema is pushed to all the requests.
Thanks
Ali
This is going back to the issue of when a WSDL changes how to update the requests that are present in testcases.
If a WSDL changes I do 'update definition' and check 'recreate requests'. This will ensure that my interface has the definition from the latest schema.
I then go to each of my requests in each of my testcases to click 'recreate a default request...' and select 'yes' for 'keeping existing values'. This will ensure that if new element were present in the WSDL they will be added in the request. I think this will also remove elements from the request if they are no longer in the schema ??
so First, is my assumption correct that the above scenario does indeed update my testcase request objects to reference the latest schema ?
If so, couldn't there be a feature that will recursively call 'recreate default request ...' on each request in each testcase inside the project. This function will be called after 'update definition' and will ensure that the new schema is pushed to all the requests.
Thanks
Ali