AppiumTestDistribution / appium-interceptor-plugin

Appium 2.0 plugin to mock api calls for android apps
27 stars 11 forks source link

version 1.0.0-beta 10: uncaughtException: Cannot write headers after they are sent to the client Error: #40

Open thanggggg1 opened 1 month ago

thanggggg1 commented 1 month ago

Hi. I am testing with appium and LD player, version beta 9 work well with emulator from android studio

sudharsan-selvaraj commented 1 month ago

There haven't been any changes in 1.0.0-beta-10 that would affect the mocking behavior. When you mention encountering issues with beta-10, does this happen consistently, or only in specific situations? Also, what occurs if you test the same scenario with beta-9?

thanggggg1 commented 1 month ago

Sorry @sudharsan-selvaraj , i test addMock and work well with emulator android studio on Mac but got uncaughtException: Cannot write headers after they are sent to the client when add Mock on LD Player on window, can you guess where is the problem from