iOS Development

java – Very gradual response from Appium server

Spread the love


I’m utilizing Appium Server GUI 1.22.3-4 and Intellij IDEA on Java to check a cellular software on Android 10 Huawei P40 Lite. I’ve about 15 checks in my pool. After I run them, the primary 3-5 checks work wonderful, the velocity is ok. Nonetheless, then you must wait 10-30 seconds for a response from the server, which makes additional testing unimaginable because of the specifics of the applying. I encountered an analogous downside on iOS as properly, however after studying the boards, I made a decision that Appium’s iOS autotests are gradual by default. It’s noteworthy that on the Android simulator I managed to attain regular response velocity from the server for some cause.
I connect a hyperlink to the Appium server logs: https://disk.yandex.ru/d/jtRWd5IIs4vIBQ

 public static DesiredCapabilities desiredCapabilitiesAndroidApp() {
        DesiredCapabilities capabilities = new DesiredCapabilities();
        capabilities.setCapability("deviceName", "Huawei P40 Lite");
        capabilities.setCapability("platformName", "Android");
        capabilities.setCapability("platformVersion", "10");
        capabilities.setCapability("udid", "EPHUT*");
        capabilities.setCapability("appPackage", "com.airkast.st88888");
        capabilities.setCapability("appActivity", "com.airkast.tunekast3.actions.SplashActivity");
        capabilities.setCapability("MobileCapabilityType.AUTOMATION_NAME", "UiAutomator2");
        capabilities.setCapability("autoGrantPermissions", true);
        capabilities.setCapability("newCommandTimeout", "130");
        capabilities.setCapability("noReset", false);
        return capabilities;
    }

I’ve tried rebooting my telephone, pc, and server. My code makes use of merchandise search by ID, so this downside isn’t associated to the lengthy xpath search. I’m within the enterprise of testing radio station purposes. This downside on Android solely happens on a particular station app, however on iOS on all stations.

Leave a Reply

Your email address will not be published. Required fields are marked *