Hi,

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:

  1. surf to www.somesite.com
  2. page returned with form, containing token="aaaa1111"
  3. enter login + password
  4. form data containing LOGIN+PASSWORD+TOKEN(=aaaa1111) send
  5. 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.

Reagrds

turan


Article Comments

Hello,

thank you very much for your KB-Post. I'm very much afraid the POSTDATA on the HTTP Sensor can't be dynamically changed (by the sensor itself). Maybe you can do this with a self-written custom script sensor though.

best regards.


Mar, 2014 - Permalink