To quote the following error, but the test cases are run successful
Java.net.SocketException: Software under caused connection abort: socket write error
The at java.net.SocketOutputStream.socketWrite0 (Native Method)
The at java.net.SocketOutputStream.socketWrite (SocketOutputStream that Java: 111)
The at java.net.SocketOutputStream.write (SocketOutputStream that Java: 155)
At sun. Nio. Cs. StreamEncoder. WriteBytes (StreamEncoder. Java: 221)
At sun. Nio. Cs. StreamEncoder. ImplFlushBuffer (StreamEncoder. Java: 291)
At sun. Nio. Cs. StreamEncoder. ImplFlush (StreamEncoder. Java: 295)
At sun. Nio. Cs. StreamEncoder. Flush (StreamEncoder. Java: 141)
The at Java. IO. OutputStreamWriter. Flush (OutputStreamWriter. Java: 229)
The at Java. IO. BufferedWriter. Flush (BufferedWriter. Java: 254)
The at org. Testng. Remote. Strprotocol. JsonMessageSender. SendMessage (JsonMessageSender. Java: 41)
The at org. Testng. Remote. Strprotocol. MessageHub. SendMessage (43) MessageHub. Java:
The at org. Testng. Remote. AbstractRemoteTestNG $RemoteSuiteListener. OnFinish (AbstractRemoteTestNG. Java: 192)
The at org. Testng. SuiteRunner. InvokeListeners (SuiteRunner. Java: 202)
The at org. Testng. SuiteRunner. Run (SuiteRunner. Java: 257)
The at org. Testng. SuiteRunnerWorker. RunSuite (SuiteRunnerWorker. Java: 52)
The at org. Testng. SuiteRunnerWorker. Run (SuiteRunnerWorker. Java: 86)
The at org. Testng. Testng. RunSuitesSequentially (testng. Java: 1224)
The at org. Testng. Testng. RunSuitesLocally (testng. Java: 1149)
The at org. Testng. Testng. Run (testng. Java: 1057)
The at org. Testng. Remote. AbstractRemoteTestNG. Run (AbstractRemoteTestNG. Java: 126)
The at org. Testng. Remote. RemoteTestNG. InitAndRun (RemoteTestNG. Java: 152)
The at org. Testng. Remote. RemoteTestNG. Main (RemoteTestNG. Java: 57)
data could write back to success
CodePudding user response:
https://blog.csdn.net/qq_34049124/article/details/86078924 has found the solution