Forum Discussion
Jasper175
15 years agoFrequent Contributor
OH - I'm sorry, I didn't try to close and reload the API.
Yes - that does happen.
I'll look to see if there is an easier way - but here is one way you can do it, but you'll have to maintain a separate negative test project.
Go to Project Properties > Events tab
> new RequestFilter.filterRequest
> paste this in: context.requestContent = context.requestContent.replaceAll( "<soapenv:Body>", "<soapenv:Bo>" )
That will change EVERY API
I'm sure in time if I play around there is a way to do this at the TestSuite or TestCase level. I'll let you know.
Rob
Yes - that does happen.
I'll look to see if there is an easier way - but here is one way you can do it, but you'll have to maintain a separate negative test project.
Go to Project Properties > Events tab
> new RequestFilter.filterRequest
> paste this in: context.requestContent = context.requestContent.replaceAll( "<soapenv:Body>", "<soapenv:Bo>" )
That will change EVERY API
I'm sure in time if I play around there is a way to do this at the TestSuite or TestCase level. I'll let you know.
Rob