Hi,
I need help with real life scenario, I'm using Zabbix 5 and stumble this issue for days:
Respond from website: <input type="hidden" name="__VIEW_ID " id="__VIEW_ID" value="5742566d6a3566646930676a346573626c746b696b3 56b633a" />
I could do this successfully using Postman:
1. Browse the website, copy the value of: __VIEW_ID
2. I could login using this setup:
in the body:
__VIEW_ID = (get it from the first step)
__Username =testuser
__Password =testpassword
3. verify that I could find word "success"
Using real life scenario with follow redirect is checked
I have tested the second REGEX against the whole response and verified that it capture only the value of __VIEW_ID.
Any idea how to debug or solve this?
Thanks
I need help with real life scenario, I'm using Zabbix 5 and stumble this issue for days:
Respond from website: <input type="hidden" name="__VIEW_ID " id="__VIEW_ID" value="5742566d6a3566646930676a346573626c746b696b3 56b633a" />
I could do this successfully using Postman:
1. Browse the website, copy the value of: __VIEW_ID
2. I could login using this setup:
in the body:
__VIEW_ID = (get it from the first step)
__Username =testuser
__Password =testpassword
3. verify that I could find word "success"
Using real life scenario with follow redirect is checked
- Post fields same as above but __VIEW_ID is {VIEWSTATE}
- {VIEWSTATE} ->regex:name="__VIEWID" id="__VIEW_ID" value="([a-zA-Z0-9]{50})" -> I got response 200 but Required pattern "success" was not found
- Since I'm not sure what Zabbix send the variable, I changed {VIEWSTATE} to regex:"((?<=value\=")[a-zA-Z0-9]{50})" but I get the same result.
I have tested the second REGEX against the whole response and verified that it capture only the value of __VIEW_ID.
Any idea how to debug or solve this?
Thanks
Comment