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

b6c64aa670c799321500221e09bcc17d.png

6272cbd2cf0af2a57448184e25164c40.png

kftg3.png

解决方案

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.

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐