Forum Discussion
Thanks for answering, but I'm still unclear on exactly how to get the status into the response.
for #1, where do I put it?
for #2, what header? I've tried what I thought it should be, but it did not work, so I must have used the wrong spelling.
- briankitt6 years agoOccasional Contributor
I don't have a script, but I found information online that said there is an option in the mock response panel where I can set the status code. I can't find that option, does that option not exist? Is a script the only way to do it?
- JHunt6 years agoCommunity Hero
You mentioned that you created a 'fault' which makes me think you might have a SOAP mockservice?
Status Code is not used in SOAP. It will only be an option for mock responses in a REST service.
- briankitt6 years agoOccasional Contributor
Yes, in the mock service, when I create a response, it allows me to create a normal response or a fault response.
My question is, how do I specify which type of fault that is, there are dozens of fault types. According to the documentation, there is supposed to be an option in the fault window to specify which fault type you want. But it's not there. I am current on my install of SOAP UI.
Related Content
- 4 years ago
- 9 years ago
Recent Discussions
- 15 years ago