A basic http Proxy server built over netty framework. It processes about 1000 (tested for) requests per second.
Uses Netty framework to asynchronously process requests.
asyncHttpClient.prepareGet(request.getUri()).execute(handler).toCompletableFuture().thenApply(response -> { }
Set up requires maven.
Unzip the Pserver.zip and move to Pserver directory.
Execute
Execute
** Update the maven dependencies :
> mvn clean install -U
** Compile and build :
> mvn compile
** Start the Proxy server
> mvn exec:java -Dexec.mainClass="com.ps.ProxyServer" -Dexec.args="--port 8080"
--port : port where the proxy server listens for request.
--help : gives usage
using Curl :
example : curl --verbose -x localhost:8080 -X GET www.cnn.com
OR
Set up proxy using browser
Load test using Jmeter
Performance tests using Jmeter on a local server.
Test Summary : Writing log file to: /home/kavitha/Jmeter/jmeter.log Creating summariser
Reach me at kavitha.lakshmi@gmail.com for any questions.
MIT Copyright (c) 2017