Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try WireMock as a mock web server #1771

Open
DenBond7 opened this issue May 2, 2022 · 1 comment
Open

Try WireMock as a mock web server #1771

DenBond7 opened this issue May 2, 2022 · 1 comment
Assignees
Milestone

Comments

@DenBond7
Copy link
Collaborator

DenBond7 commented May 2, 2022

@DenBond7 DenBond7 added this to the soon milestone May 2, 2022
@DenBond7 DenBond7 self-assigned this May 2, 2022
@DenBond7
Copy link
Collaborator Author

DenBond7 commented May 2, 2022

val wireMockRule = WireMockRule(
    options()
      .httpsPort(TestConstants.MOCK_WEB_SERVER_PORT)
      .httpDisabled(true)
      .keystorePath("ssl/localhost.keystore")
      .keystorePassword("android")
      .keyManagerPassword("android"), true
  )

localhost_keystore(rename to localhost.keystore).txt

androidTestImplementation("com.github.tomakehurst:wiremock-jre8:version")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant