appium: Appium gets stuck at [JSONWP Proxy] Proxying [POST /session]...

iOS, simulator Appium version 1.7.1 Xcode version 9.0.1 Language: Java

I have a problem that started occurring after update to new (1.7.0) Appium. When I start test form Intellij, app will start on simulator and then Appium will get stuck on this line : [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.****.*****","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}

Sometimes the test will start after few minutes, but most of the times nothing happens for very long time so I just quit everything. Sometimes I even have to restart mac for next test to run. I’m not 100% sure but I think that happens when test ran before did not finish (fail/pass) but I stopped it manually from Intellij.

Here are the full logs https://gist.github.com/deedora/43b5e939e086461745336b993ca00e89

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 25 (3 by maintainers)

Most upvoted comments

@imurchie Actually, I’ve managed to fix it by using those capabilities:

    capabilities.setCapability("clearSystemFiles", true);
    capabilities.setCapability("wdaStartupRetryInterval", "1000");
    capabilities.setCapability("useNewWDA", true);
    capabilities.setCapability("waitForQuiescence", false);
    capabilities.setCapability("shouldUseSingletonTestManager", false);

And

Stopped using capabilities.setCapability(“bundleId”, “value”);