Registry / testing / okhttp-testing-support

okhttp-testing-support

JSON →
library3.14.9javamavenunverified

An HTTP+HTTP/2 client for Android and Java applications; this module provides testing utilities for OkHttp.

<dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp-testing-support</artifactId> <version>3.14.9</version> </dependency>
INSTALL
IMPORT
SIG · OKHTTP-TESTING-SUP
O
okhttp-testing-support
testingjavav3.14.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MockWebServer
✓ okhttp3.mockwebserver.MockWebServer

Minimal Java snippet showing how to start and stop a MockWebServer for testing.

import okhttp3.mockwebserver.MockWebServer; public class Example { public void test() throws Exception { MockWebServer server = new MockWebServer(); server.start(); server.shutdown(); } }
Debug
Known issues
breakingVersion 3.14.9 is outdated; consider upgrading to a newer version for security fixes.
fix
Upgrade to the latest OkHttp version (e.g., 4.x).
affects: <=3.14.9
Upgrade
Version history
3.14.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
okhttp-testing-support — mvn dependency:get okhttp-testing-support · libregistry