Unanswered question

API request header in User Path validation?

In the header for a request to an API, I have removed the header 'Accept-Encoding' because it's generating a 401 error. However, when I check the user path validity, it's still showing in the details of the request and I cant see why?

Any ideas?

Christopher M.
Christopher M.

Christopher M.

Level
0
11 / 100
points

Answers

It is automatically added by NeoLoad while replaying a request. But are you sure that it's responsible of your 401 errors?

This kind of error is related to an authentication issue. Do you need to authenticate against your server and if yes what type of authentication?

Christopher M.
Christopher M.

Christopher M.

Level
0
11 / 100
points

It is responsible for the 401 error because when I make the same request in postman with Accept-Encoding' it generates a 401 error but when it's removed, it results in the correct 200 response code.

How do I prevent NeoLoad from automatically adding it while replaying the request?