I'd like to practice IF controller basically as follow:
TEST_PLAN
+Thread_group: (user: 3, ramp: 3, loop:2)
+Loop_Controller(loop:4)
++ HTTP request1: go to page_1
+IF_Controller1
++ HTTP request2: go to page_2
++ counter (config element)
+IF_Controller2
++ HTTP request3: click Back button
My condition "HTTP request 2" is only executed if loop (output "Loop_Controller" >4). How to do that ? And, for IF_Controller2: it's will be executed after each of question on this page has checked (page has 5 questions, 1 question has 5 answer radio button.)
I also follow the Counter element and Counter functions, but don't know how to combine them?
and one more things: to use the variable in IF statement, they should be put on previous activities ? (in my case: IF controller: ${count}, thereby variable "count" should be put on HTTP request 1)
Thanks,