It appears that I was trying to add the ForEach loop at the wrong level, and that was why I could not add it. Fortunately, the BeanShell Assertion was exactly what I needed and I am able to spin through my ArrayList there to validate the HTTP Response. Thanks for the assistance.
Thanks, Jeremie Roberts Henry Schein Practice Solutions -----Original Message----- From: Deepak Shetty [mailto:[email protected]] Sent: Friday, August 17, 2012 10:08 AM To: JMeter Users List Subject: Re: Loops inside Loops and using JDBC Request Variable Maps in Response Assertions hi >Is there a way to put a ForEach Controller inside another ForEach Controller? works fine for me. You can always use a while controller where you can write your condition in javascript to do some advanced looping. If you are referring to result variable name then you have to use a Beanshell/BSF assertion regards deepak On Thu, Aug 16, 2012 at 10:04 AM, Roberts, Jeremie < [email protected]> wrote: > Hi, > > I am running a ForEach Controller loop in a Thread Group. I have a > SOAP Request that I want to validate multiple rows of data from a JDBC > Request exist in the SOAP request, but I won't know what how many row > will be returned until the JDBC Request is run. > > What I was hoping to do is ForEach Controller inside the first then > using the Variable Map from the JDBC Request to validate each row of data. > > Is there another way I can do this work? > Is there a way to put a ForEach Controller inside another ForEach > Controller? > It appears the UI does not allow me to add this by default. > How do I use components from the JDBC Request Variable Map in a > Response Assertion? > > Thanks, > > Jeremie Roberts > Henry Schein Practice Solutions > > > > Please consider the environment before printing this email. > > > E-mail messages may contain viruses, worms, or other malicious code. > By reading the message and opening any attachments, the recipient > accepts full responsibility for taking protective action against such > code. Henry Schein is not liable for any loss or damage arising from this > message. > > The information in this email is confidential and may be legally > privileged. It is intended solely for the addressee(s). Access to this > e-mail by anyone else is unauthorized. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > Please consider the environment before printing this email. E-mail messages may contain viruses, worms, or other malicious code. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective action against such code. Henry Schein is not liable for any loss or damage arising from this message. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this e-mail by anyone else is unauthorized. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
