Events User Manual: Difference between revisions
Line 38: | Line 38: | ||
Download the test data locally via the QLB-APP02-Redirected-Folder on NOMBP2. | Download the test data locally via the QLB-APP02-Redirected-Folder on NOMBP2. | ||
Unzip it in its own separated directory. | |||
The data export script keeps the access log as “access_log.log” and places the definition of the access log fields in access_log.def. | |||
==Data Processing== | |||
Do initial parsing: | |||
<pre> | |||
esa < ./access_log.log --input-format-file=./access_log.def | |||
esa < ./access_log.log --input-format-file=./access_log.def describe | |||
</pre> | |||
Extract per-scenario statistics: | |||
<pre> | |||
esa < ./access_log.log --input-format-file=./access_log.def perf > business-scenarios.csv | |||
</pre> | |||
Scatter plot the results. |
Revision as of 06:04, 22 April 2016
Internal
Overview
A HttpEvent contains all the query parameters under a “query” MapProperty.
A HttpEvent contains all the incoming headers under a “incoming-headers” MapProperty.
Business Scenario Measurement Procedure
Record interaction with a load generator. This example was based on NeoLoad.
Prepare the Target Environment
On the target environment, reset the application server node:
cd /c/ovidiu/bin ./environment.sh stop ./environment.sh start
The start script will also clean the previous logs.
Run the Test
Shut Down and Collect Data
cd /c/ovidiu ./bin/environment.sh stop
All log data is collected and zipped under /c/ovidiu/data/load-data-yy-mm-dd-hh-mm-ss...zip
Download the test data locally via the QLB-APP02-Redirected-Folder on NOMBP2.
Unzip it in its own separated directory.
The data export script keeps the access log as “access_log.log” and places the definition of the access log fields in access_log.def.
Data Processing
Do initial parsing:
esa < ./access_log.log --input-format-file=./access_log.def esa < ./access_log.log --input-format-file=./access_log.def describe
Extract per-scenario statistics:
esa < ./access_log.log --input-format-file=./access_log.def perf > business-scenarios.csv
Scatter plot the results.