Hello,Everyone!
I find the/Regular Expression Extractor /can't Extract form the
subrequest of the subrequest. it just can Extract form the subrequest of
the main request.
For example, there's a scenario like this:
1. I input the address in the browser,and press the Enter.
browser -----> (main Request1) -----> server
browser <----- (response1)< -----server (response1 contains two embaded
web page stored in the server.)
browser -----> (sub-Request2) -----> server (browser sent the
sub-response2 & sub-response3 Automatically Parallelly)
browser -----> (sub-Request3) -----> server
browser <----- (sub-response2)< -----server
browser <----- (sub-response3)< -----server (sub-response3 contains two
embaded web page stored in the server.)
browser -----> (sub-sub-Request4) -----> server (browser sent the
sub-sub-Request4 & sub-sub-Request5 Automatically Parallelly)
browser -----> (sub-sub-Request5) -----> server
browser <----- (sub-sub-response4)< -----server (sub-sub-response4
contains a user session)
browser <----- (sub-sub-response5)< -----server
2.I use /HTTP(S) Test Script Recorder/ to record The whole process
above, then
a. I set /"Retrieve All Embedded Resources from HTML Files" /&
/"Use concurrent pool/" in the main Request1 to be true,and disable all
the subrequest ,so the sub-request will be sent Automatically *Parallelly*
b.I put a /Regular Expression Extractor/ into main Request1 to get
the user session, and set "/Apply to:/"Attribute to be /Main sample and
sub-samples/,but *user session can't be Extracted.*
c.if I disable /"Retrieve All Embedded Resources from HTML Files"
/& /"Use concurrent pool"/ in the main Request1 ,and enable all the
subrequest,move the /Regular Expression Extractor/ into sub-Request3,
*user session can be Extracted*.but the sub-request will be sent*in
sequence.*
So,What can I do to satify two demands below?
1. the sub-request will be sent Parallelly
2.user session can be Extracted
Thanks!
--
Wicky Tam
广东省电信规划设计院有限公司
Mobile: 13928535226
eMail: [email protected]