Response time analysis: Difference between revisions

Line 207: Line 207:
This example describes how to measure the response time of HTTP GET requests.
This example describes how to measure the response time of HTTP GET requests.


:1- Add a new protocol definition by clicking at the '''plus''' button.
<ol>
:2- Enter a name for this protocol definition. '''HTTP GET''' is short and appropriate.
li>Add a new protocol definition by clicking at the '''plus''' button.<li>
:3- As layer 7 protocol filter select '''HTTP'''. If you only want to analyze one specific HTTP server, define a new protocol for only this IP in the L7 module and select it from the custom protocol list.
<li>Enter a name for this protocol definition. '''HTTP GET''' is short and appropriate.<li>
:4- Now edit the requests by clicking at the '''pencil''' button.
<li>As layer 7 protocol filter select '''HTTP'''. If you only want to analyze one specific HTTP server, define a new protocol for only this IP in the L7 module and select it from the custom protocol list.<li>
:5- Add a new request by clicking at the '''plus''' button.
<li>Now edit the requests by clicking at the '''pencil''' button.<li>
:6- Enter the name of this request, '''GET''' is a good choice.
<li>Add a new request by clicking at the '''plus''' button.<li>
:7- Add a new pattern by clicking at the '''plus''' button in the third column.
<li>Enter the name of this request, '''GET''' is a good choice.<li>
:8- Enter the three characters '''GET''' (without the quotes) into the data field
<li>Add a new pattern by clicking at the '''plus''' button in the third column.<li>
:9- Make sure the '''data type''' drop down box still shows the default value '''string'''.
<li>Enter the three characters '''GET''' (without the quotes) into the data field<li>
:10- Enter '''0''' (without the quotes) as the position, as the HTTP GET request always starts with the GET string.
<li>Make sure the '''data type''' drop down box still shows the default value '''string'''.<li>
:11- The settings should look like the following picture:
<li>Enter '''0''' (without the quotes) as the position, as the HTTP GET request always starts with the GET string.<li>
<li>The settings should look like the following picture:
{| class= '''wikitable sortable'''
{| class= '''wikitable sortable'''
|-
|-
|[[File:Http get req edit.png|600px|none|right]]
|[[File:Http get req edit.png|600px|none|right]]
|}
|}<li>
:12- Click at '''DONE''' to return to the previous mask for the HTTP protocol definition.
<li>Click at '''DONE''' to return to the previous mask for the HTTP protocol definition.<li>
:13- Now edit the responses by clicking at the '''pencil''' button.
<li>Now edit the responses by clicking at the '''pencil''' button.<li>
:14- Add a new response by clicking at the '''plus''' button.
<li>Add a new response by clicking at the '''plus''' button.<li>
:15- Enter the name of this response, '''HTTP response''' is a good choice.
<li>Enter the name of this response, '''HTTP response''' is a good choice.<li>
:16- Add a new pattern by clicking at the '''plus''' button in the third column.
<li>Add a new pattern by clicking at the '''plus''' button in the third column.<li>
:17- Enter the characters '''HTTP/1''' (without the quotes) into the data field.
<li>Enter the characters '''HTTP/1''' (without the quotes) into the data field.<li>
:18- Make sure the '''data type''' drop down box still shows the default value '''string'''.
<li>Make sure the '''data type''' drop down box still shows the default value '''string'''.<li>
:19- Enter '''0''' (without the quotes) as the position, as the HTTP response always starts with the HTTP/1 string.
<li>Enter '''0''' (without the quotes) as the position, as the HTTP response always starts with the HTTP/1 string.<li>
:20- The settings should look like the following picture:
<li>The settings should look like the following picture:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
| [[File:Http get resp edit.png|600px|none|right]]
| [[File:Http get resp edit.png|600px|none|right]]
|}
|}<li>
:21- Click at '''DONE''' to return to the previous mask for the HTTP protocol definition.
<li>Click at '''DONE''' to return to the previous mask for the HTTP protocol definition.<li>
:22- The settings should look like the following picture:
<li>The settings should look like the following picture:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
|[[File:Http def edit.png|600px|none|right]]
|[[File:Http def edit.png|600px|none|right]]
|}
|}<li>
:23- Click again at '''DONE''' to finalize the configuration of HTTP protocol definition.
<li>Click again at '''DONE''' to finalize the configuration of HTTP protocol definition.<li>
:24- The settings should look like the following picture:
<li>The settings should look like the following picture:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
|[[File:Http def.png|600px|none|right]]
|[[File:Http def.png|600px|none|right]]
|}
|}<li>
:25- Save the settings so the new definition takes effect.
<li>Save the settings so the new definition takes effect.<li>
</ol>
547

edits