Forum Discussion
Nat_Thirasuttakorn
Apr 24, 2009Employee
I think you need to save original request in variable, and use HTTP::retry to accomplish this...
If I am not wrong your request is POST, you may need to save it in HTTP_REQUEST_DATA like this...
(- you may need to issue HTTP::collect command in HTTP_REQUEST event)
set request_original [HTTP::request][HTTP::payload [HTTP::header Content-Length]]
- pass the request to P_test_vcookie in the first round
- detect version and keep pool/virtual selection in variable
- once you are ready to connect to the real destination, use HTTP::retry. something like this
HTTP::retry $request_original
- then it will invoke HTTP_REQUEST again. now you can pick the right pool/virtual based on pool/virtual selection variable from previous step
Nat