You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmeter-plugins
Hi,
I want to refresh order history page till my latest order id reflects. And it should show one sample only in aggreagte report for all refreses. I extracted order id from submit order page. how can i achieve same. I tried loop and if controllers not working even through it works it is generating multiple samples for all.
Thanks in advance.
Thanks,
Riyaz.
Dmitri T
unread,
Oct 5, 2023, 9:49:17 AM10/5/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmeter-plugins
I think you need a While Controller, it will repeat its child(ren) until the condition evaluates to "true". In your case you could use i.e. __jexl3() function configured like:
So you need to extract full (or partial) response into a JMeter Variable using Regular Expression Extractor or Boundary Extractor and use the above condition to check whether the response contains the order ID you're looking for.