Http get for a page returning 404

I’m setting up load testing for our server. I am starting a group based on the actions of a normal user on a given page, starting with loading the HTML page itself. I’m building the tests against local host before I run them against the live site, and when I run an http.get against “http://localhost:8080/a-page/” I get a 404 error. If I console.log the response, and then click on the provided URL, the page loads as expected. In another group, I am running http.get against “http://localhost:8080/” which returns a 200. What am I missing?

I was able to resolve the problem. I was missing an accept line in the headers.

1 Like

Hi @Morkaleb

Welcome to the forum :wave: and glad to hear you were able to spot the issue.