I've set up JMeter to sample the same URLs as my browser, why is JMeter not seeing the same responses?
There are various different reasons for this:
There are various methods for investigating this.
This can be used to show the cookies that are received and sent.
Some browsers have add-ons that allow one to log the HTTP requests and responses. The JMeter Tree View Listener shows the same data; comparison of the two should show where the JMeter test needs to be modified.
These can analyse the HTTP traffic to and from the JMeter/browser host.
Compare the results to find out where the JMeter test needs to be modified.
As mentioned above, some servers may use variable names in forms. In this case, the JMeter plan needs to be adjusted to allow for it.
The way to do this is to add a Regular Expression Post Processor to the previous sampler - i.e. the one that returns the form - and extract the appropriate part(s) of the form into JMeter variables.
Then use the variables on the sampler that uses the form.
Example TBA