I recorded my test plan with proxy, it works fine.
Request to server give me back a dynamicly(unique) form (with a lot of parameters) response which is then used for next request with method POST.
Ok i know that i need to get parameters from response and send it with another request. Problem is that i dont know how to get all parameters (with regex? but i even dont know the number of them)! Is there any way to parse parameters out from FORM response (save it to local file) and with them then build POST request?
Please help, iam stuck there. Sory for my english.
You see, all this parameters from form are unique. This form is for supply. This parameters are different for each order, so i cant put them in loop because the number and values are not the same all the time.
Is there any EASY way to get this parameters and their values form responde code (i need them in next request) (FORM, output, beansehll postprocessor, htmlparser )?
Re: dynamic form with a lot parameters (POST method)
Im sorry but I think I don't, I was thinking that the values that need to be sent out are different but not the amount of values.
Example: A user login might pass 2 form attributes username and password. For a load test I would want theses 2 values to be different for every user on each iteration. But if everytime I try to login the amount of attributes change so instead of being always just username and password, there might be times where its username, password and date of birth; this latter are three form attributes that would need to be sent.
Which is your scenario:
1.) you have: var1=3&var2=tom on one iteration and just changing the value on each iteration.
2.) you have: var1=1&var2=on on one iteration and on the next var1=8&var2=ny&var3=ff&var...... on the next.