> cd echo-app2
> mvn spring-boot:run -s ../settings.xml
> cd echo-app1
> mvn spring-boot:run -s ../settings.xml
> curl -k -X POST -d "this is a simple test whatever, whatever" -H 'Content-Type: text/plain' https://localhost:8443/sample-app/echo
As an alternative to running the upstream echo-app1 you can run the unit test that does more or less the same thing as the app.
> cd echo-app1
> mvn test -s ../settings.xml
While your services are running start the tcpdump program and attach to the downstream application.ssl.port:
> sudo tcpdump -i lo0 port 8443 -w application2.dump
To find which PID to attach to run this command:
> java -jar ./extract-tls-secrets-4.0.0.jar list
Next run the same jar attaching to the downstream application pid:
> java -jar ./extract-tls-secrets-4.0.0.jar <pid> /tmp/secrets.log
The file secrets.log will be used in WireShark to view the tcpdump data.
Open the tcpdump file application2.dump in WireShark.
Go to Preferences -> Protocols -> TLS

After sending multiple requests you should see some failures and should be able to see the GOAWAY frame in the tcpdump
with the ENHANCE_YOUR_CALM error.
