Here firstly, we will look to handle dynamic response in Jmeter using post Processor- BeanShell postprocessor, JSR223 postprocessor and then handle failures in the request using postprocessor ‘Result Status Action Handler’.
Hi Folk, Let’s move ahead with respect to the Jmeter blog series for new problem statement solutions. So in this blog, we will see how can we handle dynamic responses and also handle dynamic request failures in Jmeter scripts.
Basically, handle dynamic response means Correlation which is the process of capturing and storing the dynamic response from the server and passing it on to subsequent requests. A response is considered dynamic when it can return different data for each iterating request, occasionally affecting successive requests. Correlation is a critical process during performance load test scripting because if it isn’t handled correctly, our script will become useless.
As I already explained how we can extract dynamic response data in the jMeter test in my earlier blogs. Click here to check. Here firstly, we will look to handle dynamic response using post Processor- BeanShell postprocessor, JSR223 postprocessor and then handle failures in the request using postprocessor ‘Result Status Action Handler’.