AndroidHttpMockingExamples icon indicating copy to clipboard operation
AndroidHttpMockingExamples copied to clipboard

"androidTest" Examples for WireMock 2.x and okhttp MockWebServer 3.x

Results 6 AndroidHttpMockingExamples issues
Sort by recently updated
recently updated
newest added

I configured Wiremock in my android application to simulate a file download. and I use Android DownloadManager to download the file. But I always receive an HTML response. Is it...

Hi, I trying to mock response by keeping files inside the project,But this line is not working and I cant get this. **String jsonBody = asset(activity, "atlanta-conditions.json");** What is that...

For some reason i can't even build the code on this repository. It keeps giving me the following error: Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'. > java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to...

Building the WireMock tests fails with > Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'. > > com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE > File1: /Users/ohad/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.8.0/45b426f7796b741035581a176744d91090e2e6fb/jackson-annotations-2.8.0.jar > File2: /Users/ohad/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.8.5/60d059f5d2930ccd1ef03535b713fd9f933d1ba7/jackson-core-2.8.5.jar > File3:...

I download this project (AndroidHttpMockingExamples). Import to Android Studio 2.3. When start WireMockAndroidTest1.testWiremock() on Android 7.0 it work. But when start WireMockAndroidTest1.testWiremock() on Android 4.3 I get error: $ adb...

There were some changes in the WireMock org structure, hence updates. I am planning to verify the guidelines for the recent WireMock and Android versions, and to update the documentation...