TTestInsightRestClient ignores constructor argument / unable to connect with TestInsight server using default machine name

Issue #113 resolved
Pawel created an issue

Case

I have no idea how IDE plugin finds machine name/alias but it replaces the working default one (BaseUrl=http://localhost:8102) with another (in my case BaseUrl=http://COMPUTER_NAME_HERE:8102). Because of company security policy the TTestInsightRestClient is unable to connect with server using machine name...

Bug?... or feature?

I tried to pass address using TTestInsightRestClient constructor but it was... ignored...? Explicit address should have higher priority

Currently working workaround

I had to comment out line

baseUrl := iniFile.ReadString('Config', 'BaseUrl', baseUrl);

To make TestInsight work at all on my machine...

Idea for future

I think that users should be able to choose address via Tools > Options > Third Party > Test Insight

Comments (3)

  1. Log in to comment