java -jar libs/wiremock-1.57-standalone.jar --port 8898 --https-port 8899 --root-dir wiremock/ --record-mappings --verbose --enable-browser-proxying
Unrecognized SSL message, plaintext connection?
Hi Abha,
What I did in the end:
- While in recording mode (which is a buildType) , let the Android device do the actual call to the server.
- Forward the response to a local url where wire mock is listening.
- while replaying, rewrite urls to go to the local url to retrieve the recorded responses.
This works, but in my opinion is suboptimal. We decided in the end to stop trying to run tests on the device all together. We rewrote our code in a way that lets us easily junit test everything except for the view layer.
If you have any questions, let me know :)
Jolanda
--
You received this message because you are subscribed to a topic in the Google Groups "wiremock-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wiremock-user/atuqhMf_6tg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wiremock-use...@googlegroups.com.
To post to this group, send email to wiremo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/wiremock-user/d3f3db24-30da-42ba-b095-7d7ea360782a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.