Hi, i have a question about how to use session variable, as formParam.
i have string variable like this:
`
Questions[0].AnswerViewModel.Answers[0].QuestionAnswerId=59115&Questions[0].AnswerViewModel.Answers[1].QuestionAnswerId=59116&Questions[0].AnswerViewModel.Answers[0].IsAnswered=false&Questions[0].AnswerViewModel.Answers[1].IsAnswered=true
`
which is created in requests before and has variable number of “Answers[i]” ( Answers[0],Answers[1],…).
Well my question is, how can i use this string in formParam?
from session log:
FORM_PARAM_Z_FUNKCIE → Questions[0].AnswerViewModel.Answers[0].QuestionAnswerId=59115&Questions[0].AnswerViewModel.Answers[1].QuestionAnswerId=59116&Questions[0].AnswerViewModel.Answers[0].IsAnswered=false&Questions[0].AnswerViewModel.Answers[1].IsAnswered=true
and i want to use something like:
.formParam("${FORM_PARAM_Z_FUNKCIE}").
is there any way to parse this string into .post param?
I am using gatling version 2.1.7
Thanks for any reply.
Lukas