hallatore / Netling

Netling is a load tester client for easy web testing.
MIT License
1.34k stars 210 forks source link

Project is Windows-Only #31

Closed ghost closed 5 years ago

ghost commented 5 years ago

The Readme implies that .Net Core is the only depencendy. However, there are Windows-Only Libraries involved.

My url is substituted with google here

/usr/local/share/dotnet/dotnet /Users/bjustice/workspace/Netling/Netling.ConsoleClient/bin/Debug/netcoreapp2.1/Netling.ConsoleClient.dll -t 10 -d 10 -c 10 https://google.com

Running 10 test @ https://google.com

Unhandled Exception: System.PlatformNotSupportedException: Socket.IOControl handles Windows-specific control codes and is not supported on this platform. at System.Net.Sockets.SocketPal.WindowsIoctl(SafeCloseSocket handle, Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue, Int32& optionLength) at System.Net.Sockets.Socket.IOControl(Int32 ioControlCode, Byte[] optionInValue, Byte[] optionOutValue) at Netling.Core.SocketWorker.Performance.HttpWorkerClient.CheckInit() in /Users/bjustice/workspace/Netling/Netling.Core.SocketWorker/Performance/HttpWorkerClient.cs:line 39 at Netling.Core.SocketWorker.Performance.HttpWorkerClient..ctor(IPEndPoint endPoint, Uri uri) in /Users/bjustice/workspace/Netling/Netling.Core.SocketWorker/Performance/HttpWorkerClient.cs:line 22 at Netling.Core.SocketWorker.SocketWorkerJob..ctor(Int32 index, Uri uri, WorkerThreadResult workerThreadResult) in /Users/bjustice/workspace/Netling/Netling.Core.SocketWorker/SocketWorkerJob.cs:line 48 at Netling.Core.SocketWorker.SocketWorkerJob.Init(Int32 index, WorkerThreadResult workerThreadResult) in /Users/bjustice/workspace/Netling/Netling.Core.SocketWorker/SocketWorkerJob.cs:line 73 at Netling.Core.Worker.DoWork_Count(Int32 count, ConcurrentQueue`1 results, CancellationToken cancellationToken, ManualResetEventSlim resetEvent, Int32 workerIndex) in /Users/bjustice/workspace/Netling/Netling.Core/Worker.cs:line 109 at Netling.Core.Worker.<>c__DisplayClass5_1.<b__0>d.MoveNext() in /Users/bjustice/workspace/Netling/Netling.Core/Worker.cs:line 56 --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ThreadPoolWorkQueue.Dispatch() [1] 95980 abort /usr/local/share/dotnet/dotnet -t 10 -d 10 -c 10 https://google.com