Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jmeter error 404

I am trying to load test a webapp, which has following functonality
1. Login in app (setting some cookie variables )
2. Serach customer with some parameter
3. Get detail of particular customer
4. Logout from webapp
When i am running Jmeter i am getting status code 404 Any reference or help will be appriciated.

After googling i found 4** says you have sent bad request. To check what request has been sent i am using fiddler and capturing original request (which is working from browser ) and request sent by Jmeter , I am comparing data under Inspector tab in Headers in fiddler, Is this right way to resolve the issue of 4**. What else i can do to fix this issue ?

Screen shots attached Proxy ConfigurationSuccessfullLoginAfter login faliure

like image 972
Arvind Avatar asked May 20 '26 17:05

Arvind


2 Answers

I think, the HTTP header manager and HTTP cookie manager must be pushed up just before Recording Controller. Otherwise the requests are made without these header or cookie informations.

If you doing localhost testing should in the cookie manager config domain
localhost:8080.

like image 139
Anirudh Negi Avatar answered May 22 '26 07:05

Anirudh Negi


You can see the request/response in View Results Tree. Just click on the tab Request or Response data respectively. If you're getting a 404, chances are the Response data tab will contain the 404 with (hopefully) information about the values that are invalid or missing.

like image 41
Dave Avatar answered May 22 '26 05:05

Dave



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!