Home > OS >  Jmeter: How to resolve Conflict message 409 in deleting a particular id
Jmeter: How to resolve Conflict message 409 in deleting a particular id

Time:12-07

I created a container with post Request and now i want to delete the container with container Id parameter.This is the error message i am getting .

could you tell me the reason for this conflict message in Delete HTTP Request

enter image description here

CodePudding user response:

Most probably you have recorded your script and somewhere in generated HTTP Request samplers there is hard-coded ID of 1216 and when you're trying to replay your test with > 1 user your web application responds with HTTP 409 status code

Alternatively you're trying to update an item with again recorded hard-coded timestamp and your application refuses to do it as it's older than the current time.

So you need to revisit your HTTP Request sampler and either correlate the item ID or parameterize the timestamp using __time() function or both

CodePudding user response:

Since this is DELETE request/operation, 409 status code probably means you are not allowed to delete the entity. Check your user permissions and the specific entity requirements.

  • Related