My HTTP Request has child HTTP Header Manager. The HTTP Header Manager has dynamic values, and other parameters depending on search on GUI application. See picture. The xsrf-token is dynamic, and auditlog varies depending on my search by vEnl. I am using JMeter 4.0. The HTTP Requests are GET, and therefore cannot use the checkbox "Use multipart/form-data for POST" either. How can I correlate/parameterize in this situation?
0
votes
2 Answers
0
votes
0
votes
You need to extract this xsrf-token
from the previous response using a suitable JMeter Post-Processor, save it into a JMeter Variable and substitute recorded hard-coded value with this variable in the HTTP Header Manager, check out How to Load Test CSRF-Protected Web Sites article for example implementation.
HTTP Header Manager can evaluate JMeter Variables in the runtime and substitute the placeholders with the respective values:
with regards to this auditlog
header your question doesn't contain enough information to come up with the proper configuration, from the first glance you can parameterize this ctime
argument using __time() function