HTTP Client for Java Developers
ClaraCore is a modern, feature-rich HTTP client specifically designed for Java developers. Built with Java Spring Boot backend and React frontend, it provides a seamless experience for API testing, development, and debugging with native Java script execution.
- HTTP & REST API Testing - Support for all standard HTTP methods (GET, POST, PUT, PATCH, DELETE, etc.)
- Java-Based Scripting - Write pre-request and test scripts in Java, not JavaScript
- Environment Management - Multiple environments with variable substitution using
{{variableName}}syntax - Collections & Folders - Organize requests hierarchically with nested folders
- Request History - Automatic tracking of all API calls with searchable history
- Global Search - Fuzzy search across collections, requests, environments, and history
- AI Assistant (Embabel-Powered - Five specialized AI agents for API testing, debugging, performance analysis, security scanning, and documentation generation
- Built-in Mock Server - Create mock endpoints with custom responses for testing
- Google Cloud Pub/Sub - Native support for Pub/Sub topics and subscriptions
- Collection Runner - Execute entire collections or folders with environment-specific variables
- Code Generation - Generate ready-to-use Java code snippets from requests
- Postman Compatibility - Import/export Postman collections and environments
- Proxy Support - HTTP, SOCKS4, and SOCKS5 proxies with authentication (including Tor/.onion sites)
ClaraCore includes an AI-powered assistant built on Embabel - an awesome and fun agent framework that makes building intelligent agents a joy! Five specialized agents are available:
Available Agents:
- API Testing Agent - Generates comprehensive AI-powered tests for endpoints
- API Debug Agent - Diagnoses errors and provides actionable fix recommendations
- Performance Analysis Agent - Analyzes endpoint performance and suggests optimizations
- Security Scan Agent - Identifies vulnerabilities and provides remediation guidance
- Documentation Generator Agent - Creates comprehensive API documentation automatically
Configuration:
- Open Settings β AI
- Configure your AI model and API key (supports Anthropic Claude and OpenAI-compatible endpoints)
- Click "Ask AI" in any request to get intelligent assistance
Use Cases:
- Automatic test case generation
- Debugging complex API errors
- Performance bottleneck identification
- Security vulnerability scanning
- API documentation creation
- Tab-Based Interface - Work on multiple requests simultaneously
- Syntax Highlighting - Code editor with Java, JSON, XML syntax highlighting
- Request Templates - Quick-start templates for common request patterns
- Keyboard Shortcuts - Efficient keyboard-driven workflow
- Dark/Light Theme - Comfortable UI for extended coding sessions
Download the latest release from the Releases page:
- Windows:
ClaraCore-1.0.0-portable.exe
- Operating System: Windows 10+
- Java Runtime: JDK 17 or higher (embedded in the application)
- Memory: 2GB RAM minimum, 4GB recommended
- Disk Space: 200MB for installation
- Extract the application
- Launch ClaraCore
- The Java sidecar will start automatically on first run
- You're ready to make your first request!
-
Create a Collection
- Click "New Collection" in the sidebar
- Give it a name (e.g., "My API Tests")
-
Add a Request
- Right-click the collection β "New Request"
- Enter request details:
- Method: GET
- URL:
https://httpbin.org/get
- Click "Send"
-
View Response
- See status code, response time, and body
- Explore headers and response data
Environments allow you to manage different configurations (dev, staging, production).
Create an Environment:
- Go to the Environments tab in the sidebar
- Click "New Environment"
- Add variables:
- Key:
baseUrl - Value:
https://api.example.com
- Key:
- Click on the environment to activate it
Use Variables in Requests:
{{baseUrl}}/users
{{baseUrl}}/orders/{{orderId}}
Variables can be used in:
- URLs
- Headers
- Query parameters
- Request body
- Authentication credentials
Execute Java code before sending the request:
import java.time.Instant;
// Set timestamp header
String timestamp = String.valueOf(Instant.now().toEpochMilli());
pm.environment.set("timestamp", timestamp);
// Generate random ID
String requestId = java.util.UUID.randomUUID().toString();
pm.request.addHeader("X-Request-ID", requestId);
System.out.println("Request ID: " + requestId);Available Objects:
pm.environment- Get/set environment variablespm.request- Modify request (headers, body, params)pm.variables- Access collection variablesSystem.out- Console logging
Write assertions to validate responses:
import static org.junit.jupiter.api.Assertions.*;
// Test status code
assertEquals(200, pm.response.code(), "Status should be 200");
// Parse JSON response
com.fasterxml.jackson.databind.JsonNode json = pm.response.json();
assertTrue(json.has("data"), "Response should have data field");
// Test response time
assertTrue(pm.response.responseTime() < 1000, "Response time should be under 1s");
// Test headers
String contentType = pm.response.header("Content-Type");
assertTrue(contentType.contains("application/json"), "Content-Type should be JSON");
System.out.println("All tests passed!");ClaraCore includes an AI-powered assistant built on Embabel - an awesome and fun agent framework that makes building intelligent agents a joy! Five specialized agents are available:
Available Agents:
- API Testing Agent - Generates comprehensive AI-powered tests for endpoints
- API Debug Agent - Diagnoses errors and provides actionable fix recommendations
- Performance Analysis Agent - Analyzes endpoint performance and suggests optimizations
- Security Scan Agent - Identifies vulnerabilities and provides remediation guidance
- Documentation Generator Agent - Creates comprehensive API documentation automatically
Configuration:
- Open Settings β AI
- Configure your AI model and API key (supports Anthropic Claude and OpenAI-compatible endpoints)
- Click "Ask AI" in any request to get intelligent assistance
Use Cases:
- Automatic test case generation
- Debugging complex API errors
- Performance bottleneck identification
- Security vulnerability scanning
- API documentation creation
Route requests through proxy servers for enterprise environments, VPNs, and anonymity networks:
Supported Proxy Types:
- HTTP Proxy - Standard HTTP proxy with Basic authentication
- SOCKS4 - Legacy SOCKS protocol
- SOCKS5 - Modern SOCKS protocol (recommended for Tor, VPN, corporate proxies)
Configuration:
- Open Settings β Network
- Enable "Enable Proxy"
- Select proxy type and enter server (e.g.,
localhost:9050for Tor) - Add authentication credentials if required
Tor & .onion Sites: To access .onion sites:
- Install and run Tor Browser (starts Tor service on localhost:9050)
- Configure ClaraCore: SOCKS5 proxy β
localhost:9050 - Make requests to .onion addresses
Common Use Cases:
- Corporate firewall bypass
- SSH tunneling:
ssh -D 1080 user@server - Tor anonymity network access
- VPN proxy endpoints
- Development environment routing
Collections are containers for related requests. They support:
- Nested folders (unlimited depth)
- Request templates
- Collection-level variables
- Drag-and-drop reordering
- Bulk operations (run, export, delete)
Right-click menu options:
- New Request
- New Folder
- Rename
- Duplicate
- Delete
- Run Collection
Create mock endpoints for testing without backend dependencies:
- Go to Mocks tab
- Click "Create Mock Endpoint"
- Configure:
- Path:
/api/users - Method: GET
- Status Code: 200
- Response Body:
{ "users": [ {"id": 1, "name": "John Doe"}, {"id": 2, "name": "Jane Smith"} ] } - Path:
- Click "Start Server"
- Mock server runs on
http://localhost:47823/api/mock
Use cases:
- Frontend development without backend
- Testing error scenarios
- API contract validation
- Integration testing
Native support for Google Cloud Pub/Sub operations:
Create Topic:
Project ID: my-project
Topic ID: user-events
Publish Message:
{
"userId": "12345",
"event": "user.created",
"timestamp": "2025-01-26T12:00:00Z"
}Pull Messages:
Subscription ID: user-events-sub
Max Messages: 10
Emulator Support:
Set PUBSUB_EMULATOR_HOST=localhost:8085 for local testing.
Generate production-ready Java code from any request:
- Configure your request completely
- Click "Code" button in request panel
- Select template:
- Java WebClient (modern, async)
- OkHttp (popular HTTP client)
- Spring RestTemplate (Spring Boot)
- Apache HttpClient (legacy support)
- Copy generated code
Example Output (Java 11 HttpClient):
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.example.com/users"))
.header("Authorization", "Bearer token123")
.GET()
.build();
HttpResponse<String> response = client.send(request,
HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());Import from Postman:
- File β Import β Select Collection/Environment file
- Choose Postman JSON format
- Import with full structure (folders, requests, variables)
Note: JavaScript scripts in Postman collections are converted to Java with comments showing original code. Complex scripts may need manual adjustment.
Export to Postman:
- Right-click collection β Export
- Select Postman v2.1 format
- File is compatible with Postman, Newman CLI, and other tools
Formats Supported:
- Postman Collection v2.1
- Postman Environment JSON
- ClaraCore native format
| Shortcut | Action |
|---|---|
Ctrl/Cmd + N |
New Request |
Ctrl/Cmd + S |
Save Request |
Ctrl/Cmd + Enter |
Send Request |
Ctrl/Cmd + K |
Global Search |
Ctrl/Cmd + Shift + O |
Import Collection |
Ctrl/Cmd + Shift + E |
Export Collection |
Ctrl/Cmd + , |
Open Settings |
Ctrl/Cmd + / |
Show Shortcuts |
Ctrl/Cmd + W |
Close Tab |
Ctrl/Cmd + T |
Duplicate Tab |
Esc |
Close Modal/Dialog |
Execute entire collections or folders with configurable iterations:
- Right-click collection/folder β "Run Collection"
- Configure:
- Environment: Select active environment
- Iterations: Number of times to run (1-1000)
- Delay: Delay between requests (ms)
- Continue on Error: Keep running if request fails
- Click "Run"
- View results with pass/fail status
Use Cases:
- Integration testing
- Load testing (with iterations)
- Smoke tests after deployment
- Data seeding
ClaraCore supports dynamic variables that generate values automatically:
$timestamp- Current Unix timestamp (seconds)$timestampMillis- Current timestamp (milliseconds)$randomInt- Random integer (0-1000)$randomUUID- Random UUID v4$randomString- Random alphanumeric string (10 chars)
Example:
URL: {{baseUrl}}/users?timestamp=$timestamp
Header: X-Request-ID: $randomUUID
Body: {"orderId": "$randomString"}
Configure request-specific behavior:
- Timeout: Request timeout in milliseconds (default: 30000)
- Follow Redirects: Automatically follow HTTP redirects (default: true)
- Max Redirects: Maximum redirect hops (default: 5)
- Validate SSL: Verify SSL certificates (default: true)
- Max Response Size: Limit response body size (default: 256KB)
Supported authentication methods:
Bearer Token:
Token: {{accessToken}}
Basic Auth:
Username: [email protected]
Password: {{password}}
API Key:
Key: X-API-Key
Value: {{apiKey}}
Location: Header or Query Parameter
OAuth 2.0:
Access Token: {{oauth_token}}
Token Type: Bearer
ClaraCore uses a Java Spring Boot sidecar for HTTP operations:
- Port: 47823 (auto-assigned)
- Health Check: Automatic on startup
- Logs: Available in Help β View Logs
- Restart: Help β Restart Java Sidecar
Access via Ctrl/Cmd + ,:
General:
- Theme (Light/Dark/System)
- Request timeout
- Auto-save interval
- History limit
Editor:
- Font size
- Tab size
- Line wrapping
- Auto-format JSON/XML
Network:
- Proxy settings (HTTP, SOCKS4, SOCKS5)
- Proxy authentication (username/password)
- SSL certificate validation
- Custom CA certificates
AI:
- AI model selection (Claude, GPT, custom endpoints)
- API key configuration
- Agent behavior customization
- Issues: GitHub Issues
- Email: [email protected]
When reporting issues, please include:
- ClaraCore version (Help β About)
- Operating system and version
- Steps to reproduce
- Expected vs actual behavior
- Screenshots if applicable
- Console logs (Help β View Logs)
We welcome feature requests! Please:
- Check existing issues first
- Describe the use case
- Explain expected behavior
- Provide examples if applicable
ClaraCore is open source software licensed under the Apache License 2.0.
What this means:
- β Free to use for any purpose (personal, commercial, enterprise)
- β Free to modify and distribute
- β Patent protection included
- β Can be used in proprietary software
- β No restrictions on commercial use
See the LICENSE file for full details.
Β© 2025 ClaraCore. Licensed under Apache 2.0.
