TestProject Forum
Powered by leading experts in the test automation community

Uploading Test Packages DLL via API - 409 conflict

Hello everybody!

We always get a conflict, when trying to upload the Test Packages DLL via Test Packages POST API call.
Our code is C#.

Method: Post
Endpoint: https://api.testproject.io/v2/projects/lclpH6iDY0CUxZ8roAYHzA/test-packages/3C0wvL-tO0CurClNhJp3tA?fileName=TestProject.Generated.Tests.PoCForIncadea.dll&resolveConflicts=true

I tried with following ways:

  1. With the same dll
  2. With a new dll which it has new code
  3. By changing the name of the dll
  4. True and False combinations of the ResolveConflicts parameter.

When uploading the DLL via testproject UI an error appears: “The package is identical to the existing one”
But we added a new variable and used it in the code. :neutral_face:

We need help now as we don´t know what else to try. Thank you

Did you tried to upload the same test packages via TestProject UI ?

Hi Mark, yes. I mentioned it in my first post.
"When uploading the DLL via testproject UI an error appears: “The package is identical to the existing one”
But we added a new variable and used it in the code. "

Hello @andreas.fertl
Are you uploading a new version to an existing package or uploading an entire new Test?

Hello @ran.tzur,
we are uploading a new version to an existing package. We want to use this functionality in our pipeline to update our tests before execution.

Can you please make sure you are uploading the correct DLLs.
Try taking a simple C# code, upload it, then upload the exact same binaries to the same project and see if you get the same message about duplicates.

In general, even if you upload the exact same code, it should work