Only the POST request uploading a file is failing with 403 Forbidden error

Arunkumar E 0 Reputation points
2024-12-10T09:32:40.38+00:00

I have been using Apache 5.5 version to run a script that has an upload request(POST).

The script passes when executed in local machine with all the tokens supplied.

The same script when executed in Apache 5.6 version locally, the upload request alone fails with 403 forbidden error.

Problem:

We are getting the same forbidden error when this script is uploaded to azure load test and executed there.

The version used to create the script is Jmeter 5.6.3

I have no idea why its running successfully in version 5.5 but failing in 5.6.3 and azure load test.

Do let me know how to over come this issue and make the script to run successfully in Azure load test

Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
68 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 22,290 Reputation points
    2024-12-25T19:30:19.89+00:00

    Are you sure all configuration and dependencies are same?

    For example Mod_security, ensure that Mod_security is not blocking your request. You can try disabling Mod_security temporarily to see if it resolves the issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.