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.
HTTP Response
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.
HTTP Code | Description |
---|---|
1xx: | Informational: It represents the request that has been received, and it is in the continuing process. |
2xx: | Success: Success represents the HTTP Server response that the server has successfully received and understood the request. |
3xx: | Redirection: It indicates that further action must be taken to fulfil the request. |
4xx: | Client Error: It represents an error when the request has incorrect syntax or cannot complete the request. |
5xx: | Server Error: The server has failed to fulfil a valid request |
Logs Pane
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 log
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.
http log
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.
Error log
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.
Memory Log
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.