Forum Discussion

Mirco_Gabriel's avatar
Mirco_Gabriel
Copper Contributor
Jul 17, 2023

Update Test Configuration after Testrun

Hello, I am trying to update/change the Test Configuration of a Testrun. 

 

Via Rest API it is possible to Patch the Test Result, where i can find the Config ID.

 

Successfully i could update the comment afterwards with 

https://dev.azure.com/{organization}/{project}/_apis/test/runs/{testRunID}/Results?api-version=7.0

 

[  
	{    
		"id": 100000,    
		"comment": "Website theme is looking good"
	}
]

 

But when updating the Config, only the Revision increments but the Config don't change

 

[
	{	
		"id": 100000,
		"configuration":
		{
			"id": "193"
		}
	}
]

 

Is this field changeable or is it read only? According to the microsoft documentation (Results - Update - REST API (Azure DevOps Test) | Microsoft Learn) the configuration is part of the testresult und it should be able to update.

 

Any Ideas of this?

No RepliesBe the first to reply

Resources