SoapUI Response and Logs Pane
As we know, SOAP requested messages or responses are delivered via the HTTP protocol. When we send a request to a web server on the network, the web server checks the requested medium (protocol), after that respond to that request. In this section, we will learn how HTTP requests and responses are transmitted over the network. Let's understand how HTTP requests and responses process in SoapUI.
Step 1: Click the Raw tab of the Request for Sum XML file and see how SOAP requested messages are transferred using the HTTP protocol's POST method, as shown in the image below.
HTTP Request for Sum:
Step 2: Similarly, click on the Raw tab of the Request for XML file on the right and see how the response checks the HTTP protocol and sends the result to the request, as shown in the image below.
After processing the SOAP request via the HTTP protocol, as shown in the above image, it shows HTTP response code 200, which is OK. It means the web server has sent the message, successfully.
The web server uses HTTP code for sending and debugging the response.
Logs Pane is used in the SoapUI tool to store detailed information of messages between clients and servers, error messages and in-progress execution of messages. It allows the users to view the status of various tabs in the log pane, such as debugging of the test cases, test steps, etc. Let's discuss the log panes used in the SoapUI testing tool, as shown in the image below.
SoapUI logs are used to hold information about request and response messages received by the server and client machine, and the same information is also saved in the soapui.log file of the SoapUI bin folder.
It is used to display all HTTP packets used during the transmission of a message on the network. We can check all the information of Raw in the HTTP log, as shown below.
The error log is used in SoapUI to display all the errors encountered during the completion of a project. The same error information is also saved in the soapui-error.log file of the SoapUI bin folder.
The memory log act as a monitor that displays memory consumption by the SoapUI resources. It displays the memory status in the form of the chart, as shown in the below image.