Stefan Glienke shared the TestInsight default JSON web-server location with me through chat; I like it!
Some endpoints:
- GET localhost:8102/tests
- initially returns
{"SelectedTests":[]}
- After enabling a few tests, it is like
{"SelectedTests":["Test.Timer.TTimerTest.TestBasic","Test.Timer.TTimerTest.TestDifferentIntervals","Test.Timer.TTimerTest.TestWakeUpTimer","Test.Timer.TTimerTest.TestTimeIsInRange","Test.Timer.TTimerTest.TestMilisecondsToNextTriggerTime"]}
- initially returns
- GET localhost:8102/options
- initially returns
{"ExecuteTests":true, "ShowProgress":false}
- initially returns
- POST localhost:8102/tests/results
- POST localhost:8102/tests/finished
- POST localhost:8102/tests/tests/started?totalcount=%d
The mechanism for accessing this JSON server are implemented in the TestInsight.Client.pas
You can find the endpoint base URL in TestInsightSettings.ini
which by default looks like this:
[Config] BaseUrl=http://WIN10-DELPHI:8102
–jeroen