Hi All,
Below mentioned vector has come in Session from 1st request
Map(myDataId -> Vector(223, 217, 218, 217, 223, 214, 220,142,223,136, 223, 146, 146) and could be on n on…
So I would like to use comma separated the values of the vector in the next request
As I did it by this way, but not working!
To get the value I have used below mentioned.
.check(jsonPath("$.elementVOList[*].myDataId ").findAll.saveAs("tempIds)))
To pass the value I have used below mentioned in next request.
.formParam("myDataId ", "${ tempIds }.mkString(",")")
But I am getting below mentioned string in a log file and it is not working as I wanted.
myDataId: $,{,t,e,m,p,I,d,s,}
Guys – How do I pass comma separated values of vector which stored in session, will you please help me?
Thanks & Regards,
Rushabh
http("Request with multivaluedQueryParam")
.get("myUrl")
.multivaluedQueryParam("multi1", "${foo}") // where foo is the name of a Seq Session attribute
.multivaluedQueryParam("multi2", session => Seq("foo", "bar"))
--
You received this message because you are subscribed to a topic in the Google Groups "Gatling User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gatling/8WryG78LIBE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.