For some sites we need to login with postdata. for this I use the http-advanced-sensor and prepopulate the POSTDATA field with data retrieved from the url-recorded. this works for a few minutes, logging on to the site works, however after a few minutes not anymore. Apaerently, the postdata has a some sort of token which is changed every few minutes. And this results in a logon failure. This is de proces that is going on:
- surf to www.somesite.com
- page returned with form, containing token="aaaa1111"
- enter login + password
- form data containing LOGIN+PASSWORD+TOKEN(=aaaa1111) send
- logon succes
so after a few minutes to logon with the same postdata (token=aaaa1111) does not work. A new token has to be generated, by surfing again to www.somesite.com.
So, my question is as follows: is it possible to change the postdata dynamically? This way, I could simulate the generation of the token and use it in the http-sensor.