POST Request to Jenkins is failing for Load Test

Hello,

Execution flow: Python API calls Jenkins POST method(J01) where J01 is some job.
Jenkins setup:
1 Controller and 2 Agent(15 Executor Each)
Only Agent are responsible for executing builds.

Requirement : i want to make 300 request to Jenkins server to register these jobs in 10 sec. Transaction rate is 30tps.

Observation:

  1. For 1tps, i.e 300 request in 300 sec is working fine without any failure.
  2. For 30 tps, about 50% of the request is getting dropped with error code 303.

How can i fix this issue? How can I make sure if I send 30 request to Jenkins HTTP server for registering job all at once, then success rate 100%?

Regards,
Shiv Sagar

Hi there,

As a reminder, the term “slave” to refer to an agent has been deprecated since 2016. The term “master” to refer to a controller was deprecated in 2020. Please refer to On Jenkins Terminology Updates for more details. We request you update your post.

Thanks,
Mark Waite

Thank you for the reminder.