I set this up as shown above (also in the code example). I get nothing. I can see the syn, syn-ack, ack then the connect between the client and the LTM. And it shows that the script executed in the statistics however tcpdump between the proxy and LTM shows nothing. How does the LTM know where to forward the HTTP/HTTPS traffic? From the pool member?
That said, in the example above (nitass post), i do not have the ability to enter the lines:
source 0.0.0.0/0
source-address-translation {
type automap
Im assuming you are running a different version then i? (im on version 11.1)