Not able to execute the Test Set from Test Manger and Orchestrator getting error 'The proxy tunnel request to proxy 'http://127.0.0.1:9000/' failed with status code '403'." '

Q1) I have created a test case in UiPath Studio and linked it to Test Manager.
When attempting to execute the test set from Orchestrator getting below error
The proxy tunnel request to proxy ‘http://127.0.0.1:9000/’ failed with status code ‘403’."

System.Net.Http.HttpRequestException: The proxy tunnel request to proxy ‘http://127.0.0.1:9000/’ failed with status code ‘403’." at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(Boolean async, HttpRequestHeaders headers, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at UiPath.Testing.Activities.Api.Rest.HttpClientRestApi.MakeRequestAsync(String resource, HttpMethod method, Func2 onError, HttpContent data, CancellationToken cancellationToken)
at UiPath.Testing.Activities.Api.Rest.HttpClientRestApi.GetRequestAsync(String resource, Func`2 onError, CancellationToken cancellationToken)
at UiPath.Testing.Activities.OrchestratorService.InitializeAsync()
at UiPath.Testing.Activities.OrchestratorService.PostAssertionToOrchestrator(Assertion assertion, String screenshotFile)
at UiPath.Testing.Activities.AssertionActivity.ExecuteAsync(NativeActivityContext context, CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskNativeImplementation.BookmarkResumptionCallback(NativeActivityContext context, Object value)
at UiPath.Shared.Activities.AsyncTaskNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Q2)1) I have created a test case in UiPath Studio and linked it to Test Manager.
When attempting to execute the test set from Test Manager, the execution status remains “Pending” and does not proceed.

Can someone help me to resolve the above issues ?

1st question - looks like its something related poxy check firewall settings

refer below link

2nd question- Ensure that the robot assigned to execute the test set has the Testing Runtime enabled.

Thanks Darshan for the solution, I will try above settings and let you know the status.
for Q2, to enable the Testing Runtime, I found below setting on forum, is this correct ? if not help me with steps
Unable To Allocate Testing Runtimes To The Machines Or Use Them To Execute Automations - News / Knowledge Base - UiPath Community Forum

@Patnala_Tejasri_Cognizant yes

Go to admin > Tenant > Licenses > Edit allocation and add 1 testing runtime to tenant

then edit the machine and add that 1 runtime on machine

@Patnala_Tejasri_Cognizant

403(Forbidden) error will occurred when you don’t have access or proper permission check whether you have permissions or not to use test manager or any other servers blocking.

@Darshan_Sable
I am able to run the test set from Orchestrator, but it is selecting random machines. Is there any way to control the machines being used? Only two machines have access to the application for executing the test cases. Unfortunately, I am unable to share a screenshot as I am working in a client environment.

I created a test set with five test cases, but it is still selecting random machines. While configuring the test set, I selected the Account option.

Could you please help me understand how to control the machines chosen by the test set

@Patnala_Tejasri_Cognizant Sorry for delay in response.

Assign testing license to machines which are required.

Thank you, @Darshan. I was able to successfully execute the test set from the orchestrator on two machines. However, I encountered an issue “Could not start executor. Creating user session timed out.” when trying to execute it on other machines.

Additionally, while running the test set in Test Manager, I received a message stating that “Orchestrator Error: Your not authorized!”

@Patnala_Tejasri_Cognizant can you check robot machine settings and ensure if the robot is set to log in using Console Mode. If so, disable it by setting LoginToConsole to false in Orchestrator

for authorization error - * Go to the Roles page in Orchestrator and check the permissions assigned to the user or robot.