Forum Discussion
ahmad_2312
Jul 09, 2011Nimbostratus
Measuring Response time based on POST and GET Parameters
HI
I am trying to measure the response time of each transaction in our website, however due to security reasons all URLs are masked and the only way to identify the page is by using a submit...
Hamish
Jul 13, 2011Cirrocumulus
Here's the code I use for grabbing the content of an HTTP request. Apologies for it being a bit messy... It's in a quick & dirty iRule I wrote a long while ago...
Trigger collection for up to 1MB of data
if {[HTTP::header exists "Content-Length"] && [HTTP::header "Content-Length"] <= 1048576}{
set fl_content_length [HTTP::header "Content-Length"]
} else {
set fl_content_length 1048576
}
paranoia... Check if $content_length has been set and is not set to 0
if { [info exists fl_content_length] && $fl_content_length > 0} {
if { $fl_debugFlag >= 2 } {
HSL::send $hsl "$fl_logprefix collecting $fl_content_length Bytes"
}
HTTP::collect $fl_content_length
}
H
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects