Hello all,

I am writing a testing scenario for a complex banking app, using jmeter of 
course.

So far I manage to log on and navigate through the app with no problems. 
However, at some point
I have a temporary page which is displayed while a mainframe transaction 
is being performed.
This temporary page loops back to itself every 5 seconds (via javascript) 
until the MF transaction
is complete....then it continues and displays the intended data. 

My problem stems from trying to get past this page using JMeter. Here is 
how I've set it up:


****** snip ******

Http Request 1

Http Request 2

While Controller         (not sure of the syntax here, but I would like it 
to be something like:   SequenceValue <> 5 and don't loop more than 10 
times)
       Http Request 3
       Regular expression extractor               (ref name: 
SequenceValue,  regex: noSeq=(\d{1}),  Template: $1$,  Match: 0, Default: 
NOT FOUND)

Http Request 4

********************

Note: each page returns a sequence number in the html (noSeq=x), and the 
temporary page keeps returning noSeq=4, hence
when the transaction is completed I receive a page with noSeq=5



Some questions:

1) Is this a good approach to get past this kind of contruct in our 
webapp?
2) SequenceValue keeps returning NOT FOUND .... (yet, SequenceValue_1=5), 
why is the variable not affected properly?
3) Can someone suggest the syntax for my while controller's condition?


Thanks in advance!!


Mark  
  

Reply via email to