/jenkins-websockets-tester

Local Linux, Mac websockets cli/agent w/HTTPS test project

Primary LanguageShell

jenkins-websockets-tester

Local linux, mac websockets cli/agent test project.

Purpose

For testing websocket+JDK11 timeout issues when using HTTPS

Usage

Setup

# Create/Renew self signed cert
$ make build-tls tls import-cert

# Docker volumes
$ make volumes

NOTE: run make clean when switching between JDK versions

JDK 8

# terminal #1
$ make JDK_VERSION=jdk8 build-server run-server

# terminal #2
$ make JDK_VERSION=jdk8 build-agent run-agent

JDK 11

# terminal #1
$ make JDK_VERSION=jdk11 build-server run-server

# terminal #2
$ make JDK_VERSION=jdk11 build-agent run-agent

WebUI

$ make ui

Mac Usage

#
# Tinker with MAC_INTERFACE value until your host IP address is detected
#   In my case my docking stations gigabit ethernet is 'en9'
#
$ make MAC_INTERFACE=en9 ip-address
192.168.42.66

# Explicitly set the interface name
$ make MAC_INTERFACE=en9 build-tls tls import-cert
$ make MAC_INTERFACE=en9 JDK_VERSION=jdk11 build-server run-server
$ make MAC_INTERFACE=en9 JDK_VERSION=jdk11 build-agent run-agent
$ make MAC_INTERFACE=en9 ui