Chrome provides Developer tools to learn, debug, verify various aspects of HTTP transactions done during link access. User can view all HTTP requests, responses, message bodies exchanged with server. Additionally user can see Websocket messages exchanged, network delay etc.
Here the scope of discussion is restricted to see all HTTP messages and Websocket messages exchanged between browser and server.
In Load Multiplier it is necessary to know HTTP messages well advance before you can configure load test suites. You can capture HTTP messages either by using recorder that comes along with Load Multiplier or simply you can make use of Chrome's inbuilt Developer tools to capture the messages. Here, lets see step by step how to capture all messages send received between browser and server.
- Bring up Chrome browser. In right upper side corner of browser you can see more (vertically aligned dots) button as shown in below diagram.
- Click on more button, and then select More tools ---> Developer tools. You can see Developer tools window as shown below, select Network tab.
Please note that preserve log check box is selected.
- Next you access any site, say loadmultiplier.com.
In right side of Developer tools window, you can see General section, Response Headers, Request Headers. From general section, you can collect link, method etc. From Response Header section, you can collect headers present in response message.
- From Request Header section, you can collect headers present in request message. The Request Headers are shown as below.
- Select Response tab, you can see message body as shown below.
From steps above, you have link, method, request headers. So you can create a complete message as per below format.
Also from above steps, you have status code, response headers, response body. You can prepare complete response message as per below format.
Hope it is helpful to capture all HTTP messages exchanged between server and Chrome browser.