There is a SOAP request which gives total pages in the response and this request needs to be sent as many number of times as of the total pages, keeping page number as a variable. The counter/while controller is not working fine during the load test. The counter stops as soon as it finds a match for one customer. But my requirement is to loop through all the pages for all customers at the same time. Can anyone help?
I.Threadgroup--with 10 threads A.While Controller ${__javaScript(${pagenum} < ${totalpages})} 1.Request i.Regex extractor(totalpages) ii.Counter(pagenum) iii. CSV Data set config(customer)