Response time analysis: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 257: Line 257:
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.


#Add a new protocol definition by clicking at the ‘plus’ button.
:1- Add a new protocol definition by clicking at the ‘plus’ button.
#Enter a name for this protocol definition. “HTTP GET” is short and appropriate.
:2- Enter a name for this protocol definition. “HTTP GET” is short and appropriate.
#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.
: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.
#Now edit the requests by clicking at the ‘pencil’ button.
:4- Now edit the requests by clicking at the ‘pencil’ button.
#Add a new request by clicking at the ‘plus’ button.
:5- Add a new request by clicking at the ‘plus’ button.
#Enter the name of this request, “GET” is a good choice.
:6- Enter the name of this request, “GET” is a good choice.
#Add a new pattern by clicking at the ‘plus’ button in the third column.
:7- Add a new pattern by clicking at the ‘plus’ button in the third column.
#Enter the three characters “GET” (without the quotes) into the data field
:8- Enter the three characters “GET” (without the quotes) into the data field
#Make sure the “data type” drop down box still shows the default value “String”.
:9- Make sure the “data type” drop down box still shows the default value “String”.
#Enter “0” (without the quotes) as the position, as the HTTP GET request always starts with the GET string.
:10- Enter “0” (without the quotes) as the position, as the HTTP GET request always starts with the GET string.
#The settings should look like the following picture:
:11- 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]]
|}
|}
:1- Click at ‘DONE’ to return to the previous mask for the HTTP protocol definition.
:12- Click at ‘DONE’ to return to the previous mask for the HTTP protocol definition.
:2- Now edit the responses by clicking at the ‘pencil’ button.
:13- Now edit the responses by clicking at the ‘pencil’ button.
#Add a new response by clicking at the ‘plus’ button.
:14- Add a new response by clicking at the ‘plus’ button.
#Enter the name of this response, “HTTP response” is a good choice.
:15- Enter the name of this response, “HTTP response” is a good choice.
#Add a new pattern by clicking at the ‘plus’ button in the third column.
:16- Add a new pattern by clicking at the ‘plus’ button in the third column.
#Enter the characters “HTTP/1” (without the quotes) into the data field.
:17- Enter the characters “HTTP/1” (without the quotes) into the data field.
#Make sure the “data type” drop down box still shows the default value “String”.
:18- Make sure the “data type” drop down box still shows the default value “String”.
#Enter “0” (without the quotes) as the position, as the HTTP response always starts with the HTTP/1 string.
:19- Enter “0” (without the quotes) as the position, as the HTTP response always starts with the HTTP/1 string.
#The settings should look like the following picture:
:20- 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]]
|}
|}
#Click at ‘DONE’ to return to the previous mask for the HTTP protocol definition.
:21- Click at ‘DONE’ to return to the previous mask for the HTTP protocol definition.
#The settings should look like the following picture:
:22- 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]]
|}
|}
#Click again at ‘DONE’ to finalize the configuration of HTTP protocol definition.
:23- Click again at ‘DONE’ to finalize the configuration of HTTP protocol definition.
#The settings should look like the following picture:
:24- 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]]
|}
|}
#Save the settings so the new definition takes effect.
:25- Save the settings so the new definition takes effect.
1,775

edits