This project is used for make a performances test between ServiceComb Edge and Netflix Zuul.
Modules:
- baffle-service: used for accept the request routed by edge or zuul
- edge-service: gateway micro-service with ServiceComb edge
- zuul-service: gateway micro-service with Netflix Zuul
In project root, run:
mvn package
output:
- baffle-service:
lib
folder andbaffle-service-{version}.jar
- edge-service:
lib
folder andedge-service-{version}.jar
- zuul-service:
edge-service-{version}-exec.jar
inbin
folder
It is better use three machine to run this test :
- Pressure machine : run jmeter script generate client request
- Gateway machine:delopy edge-service or zuul-service
- Baffle machine : delopy baffle-service
Do not forget deploy ServiceCenter, run on Baffle machine as recommend.
- Change all configuration of ServiceCenter address :
servicecomb:
service:
registry:
address: http://192.168.88.59:30100
- Open
Client.jmx
with JMeter UI, changeNumber of Threads
,Server Name or IP
etc... Save - Startup
edge-service
orzuul-service
- Startup
baffle-service
- Copy
Client.jmx
to Pressure machine and run:
jmeter -n -t Client.jmx -l log.jtl
- After test, you can analysis log file to get result:
jmeter -g log.jtl -o <report folder>