Reputation: 9
As unable to record the application through JMeter recorder (encountered 401 Unauthorized while recording login), used Blazemeter Chrome plugin to record the script. But file upload is not getting successful during re-run. I have tried checking/unchecking "Use multipart/formdata" , provided details in File upload section of the transaction, used Java implementation but no luck.
Upvotes: 0
Views: 81
Reputation: 168237
We cannot "suggest" anything without seeing the:
The most common reason for not being able to replay the recorded test script is missing or improperly implemented correlation so ensure that your test is doing what it supposed to be doing since the very first request.
The approach of "checking/unchecking" and switching to different implementations is not very good, you should rather use a sniffer tool to capture the requests originating from JMeter and from the real browser, compare them and amend JMeter's configuration unless the requests would be exactly the same (apart from dynamic parameters which need to be correlated)
Upvotes: 0