{"id":76987,"library":"google-http-client-test","title":"Google HTTP Client Library for Java (Test)","description":"Test utilities for the Google HTTP Client Library for Java, used for testing HTTP-based services.","status":"active","version":"2.1.0","language":"java","source_language":null,"source_url":"https://github.com/googleapis/google-http-java-client","tags":["http","client","testing","google","mock"],"install":[{"cmd":"<dependency>\n  <groupId>com.google.http-client</groupId>\n  <artifactId>google-http-client-test</artifactId>\n  <version>2.1.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.google.http-client:google-http-client-test:2.1.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"HttpTesting","correct":"com.google.api.client.testing.http.HttpTesting"}],"quickstart":{"code":"import com.google.api.client.testing.http.HttpTesting;\nimport com.google.api.client.testing.http.MockHttpTransport;\n\npublic class Example {\n    public static void main(String[] args) {\n        MockHttpTransport transport = new MockHttpTransport.Builder().build();\n        System.out.println(\"Mock transport created: \" + transport);\n    }\n}","lang":"java","description":"Creates a mock HTTP transport for testing."},"warnings":[{"fix":"Check the release notes for migration steps.","message":"Version 2.1.0 may have breaking changes from earlier versions.","severity":"breaking","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'base':23 'client':3,14,26 'googl':1,12,28 'http':2,13,22,25 'http-base':21 'java':6,17 'librari':4,15 'mock':29 'servic':24 'test':7,8,20,27 'use':18 'util':9","created_at":"2026-06-17T19:42:35.014962+00:00","updated_at":"2026-06-17T19:42:35.014962+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/googleapis/google-http-java-client","github":"https://github.com/googleapis/google-http-java-client","docs":"https://appdoc.app/artifact/com.google.http-client/google-http-client-test/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}