Forum Discussion
JHally_43299
Dec 21, 2011Nimbostratus
Injecting latency into application requests?
Hello All, is it possible to inject latency into client requests for an application to degrade the user experience? the goal is to degrade performance of an application by a se...
nitass
Dec 28, 2011Employee
If I put myself into a loop or run an open collect, that TMM is now busy until the command returns, and will be unable to process any other traffic until that time. thanks Colin. anyway, i do not think collect such as HTTP::collect is a blocking command since i am able to get response from another connection while the first connetion is stalled. please let me know if i misunderstood anything here.
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if {[HTTP::uri] equals "/test"} {
HTTP::collect
}
}
}
[root@ve1023:Active] config curl -i http://172.28.19.79/test <<< 1st connection
[root@ve1023:Active] config curl -i http://172.28.19.79 <<< 2nd connection on another ssh session
HTTP/1.1 200 OK
Date: Wed, 28 Dec 2011 20:47:29 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Fri, 11 Nov 2011 14:48:14 GMT
ETag: "4183e4-3e-9c564780"
Accept-Ranges: bytes
Content-Length: 62
Content-Type: text/html; charset=UTF-8
This is 101 host.
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