UI测试Xamarin未运行,底层连接关闭错误

时间:2018-12-18 19:39:47

标签: xamarin.forms uitest

SetUp:System.Net.Http.HttpRequestException:发送请求时发生错误。   ----> System.Net.WebException:基础连接已关闭:连接意外关闭。    在Xamarin.UITest.Shared.Http.HttpClient.SendData处(字符串终结点,字符串方法,HttpContent内容,ExceptionPolicy exceptionPolicy,可空1 timeOut) at Xamarin.UITest.Shared.Http.HttpClient.Post(String endpoint, String arguments, ExceptionPolicy exceptionPolicy, Nullable 1超时)    在Xamarin.UITest.Shared.Android.HttpApplicationStarter.Execute(String intentJson)    在Xamarin.UITest.Shared.Android.LocalAndroidAppLifeCycle.LaunchApp(String appPackageName,ApkFile testServerApkFile,Int32 testServerPort)    在Xamarin.UITest.Android.AndroidApp..ctor(IAndroidAppConfiguration appConfiguration,IExecutor执行程序)    在Xamarin.UITest.Configuration.AndroidAppConfigurator.StartApp(AppDataMode appDataMode)    在Elog.UITest.Regression59.BeforeEachTest() --WebException    在System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)    在System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

0 个答案:

没有答案