mappView Multi-Client test setup solution

This is a potentially useful solution for people working with multi-client setups and trying to test it without assembling and setting up 5 or more physical mappView clients.

When connecting to a mappView server you can only do so from the same client once or using incognito mode you can connect a second time. Any other connection attempts results in this warning.

But by starting multiple Chrome instances all with their own - -user-data-dir = it is possible to create as many client connections as you need for testing!

Here is a simple PowerShell script to launch 5 clients connecting to the same 127.0.0.1:81 and they all act as a separate clients in the eyes of the mappView server, ideal for testing multi-client setups.

#Launch 5 mappView clients

1..5 | ForEach-Object {
Start-Process chrome.exe -ArgumentList “–user-data-dir=C:\temp\chrome$_”, “http://127.0.0.1:81/”
}
7 Likes

interesting, I have to try it :slight_smile:

This is a smart solution! In the past I used multible copies of chromium portable for multible instances.

2 Likes