For Each Loop

Val cl=List("apple","dell")

Val scn= scenario("test")
.exec(http("login").get("/login"))
.during(15 minutes)
{

Pace(10 seconds)
    .foreach(cl,"name")
        {
         exec(http("getvalues").get("/getName /"+"${name}"))
        }

}

Can not get the list values in the place of "${name}" in the get request.

Instead of apple or dell its taking just ${name}

Any pointers what i am doing wrong here.

Thanks in advance

As per terms on this mailing list, you’re requested several things when posting, including:
Provide a Short, Self Contained, Correct (Compilable), Example (see http://sscce.org/)

Your sample doesn’t compile.
I fixed it and verified it works as expected: https://gist.github.com/slandelle/8b61a00caeca9c4e628f19f47f00c653

sorry stephane.

Wont happen from next time.