NRUK1
12 years agoNew Contributor
"Validate" request and response not working in HTTP Monitor
Hi,
On one of my projects, I'm using SoapUI Pro 5.1.2 to monitor the SOAP calls between a client and a server application by having configured the client's proxy settings to point to the SoapUI Pro HTTP Monitor running in Proxy mode.
I have added all the relevant WSDLs into the SoapUI project on which the HTTP Monitor is running and I can see in the monitor's calls' list that the Interfaces and Operations are being identified correctly. However, when I inspect the content of the Requests and Responses in the "Message Context" lower tab and I invoke the "Validate" command (through the contextual menu or "Alt+V"), I always seem to get a positive response (i.e. Validation OK) even when the message is not valid according to the Interface definition. In order to get the "true" validation result, I need to either copy the request (or response) into a request against the relevant Interface Operation and then invoke the "Validate" command. Alternatively, I can add the request to a test case through the toolbar, but either way those methods get very time comsuming compared to quickly pressing "Alt+V" against the request or response directly in the HTTP Monitor.
Is it only supposed to check for "well-formed XML" or is it supposed to validate against the interface definition? I would have assumed the latter considering it is able to tie-up each call to its relevant interfaces/operation.
Thanks
Francois
On one of my projects, I'm using SoapUI Pro 5.1.2 to monitor the SOAP calls between a client and a server application by having configured the client's proxy settings to point to the SoapUI Pro HTTP Monitor running in Proxy mode.
I have added all the relevant WSDLs into the SoapUI project on which the HTTP Monitor is running and I can see in the monitor's calls' list that the Interfaces and Operations are being identified correctly. However, when I inspect the content of the Requests and Responses in the "Message Context" lower tab and I invoke the "Validate" command (through the contextual menu or "Alt+V"), I always seem to get a positive response (i.e. Validation OK) even when the message is not valid according to the Interface definition. In order to get the "true" validation result, I need to either copy the request (or response) into a request against the relevant Interface Operation and then invoke the "Validate" command. Alternatively, I can add the request to a test case through the toolbar, but either way those methods get very time comsuming compared to quickly pressing "Alt+V" against the request or response directly in the HTTP Monitor.
Is it only supposed to check for "well-formed XML" or is it supposed to validate against the interface definition? I would have assumed the latter considering it is able to tie-up each call to its relevant interfaces/operation.
Thanks
Francois